I am having trouble figuring out how to make KODI (Aeon Nox: Silvo) display the subtitle language on the DialogVideoInfo screen. Screen shots below
Some of my movies display them correctly while many of them do not, so I need help figuring out how to properly flag my .srt’s or figure out if something else happening…
– All of my movies are .mp4 files with external .srt files. There are no subtitles encoded in the .mp4’s.
– I have tagged the .srt’s with *.eng.srt or *.eng.forced.srt and they are in the same folder as the video file with the same filename + the tag
– I use Media Companion to scrape my movies so that I can choose the artwork and manage the local .nfo files
– After scraping, typical .nfo looks like:
.nfo subtitle tag:<subtitle>
<language>eng</language>
<default>False</default>
<forced>False</forced>
</subtitle>
– All subtitles work correctly and as expected while watching the movie
*Example 1 – where display of subtitle language is working:
Filenames:
Blue Beetle (2023).eng.srt
Blue Beetle (2023).mp4
Blue Beetle (2023).nfo
Example 1 .nfo file:<subtitle>
<language>eng</language>
<default>False</default>
<forced>False</forced>
</subtitle>
Example 2 – where display of subtitle language is not working
Filenames:
Meet Cute (2022).eng.srt
Meet Cute (2022).mp4
Meet Cute (2022).nfo
Example 2 .nfo file:<subtitle>
<language>eng</language>
<default>False</default>
<forced>False</forced>
</subtitle>
Am I doing something wrong? or could this be a glitch in the skin/KODI?
I am happy to provide a log file… how do I make sure the file includes this? Should I open KODI and then navigate to a movie where it is not working? – I am not familiar with how log files work in that regard…
Any and all help is appreciated!
What I have tried:
– renamed the srt file as *.en.srt or *.english.srt
– changed <default> to TRUE in the .nfo file
– each time I make a change, I rescrape in Media Companion, remove the movie from my KODI library, Clean Library, Clear Cache, Clear Thumbnails, and then Update Video Library to ensure that I am completely refreshing the movie and scraped data
I can tell that the DialogVideoInfo.xml calls the InfoContentGeneral Include from Incudes_DialogInfo.xml:
InfoContentGeneral:<item>
<label>[UPPERCASE]$INFO[ListItem.Property(SubtitleLanguage.1)]$INFO[ListItem.Property(SubtitleLanguage.2), / ]$INFO[ListItem.Property(SubtitleLanguage.3), / ]$INFO[ListItem.Property(SubtitleLanguage.4), / ]$INFO[ListItem.Property(SubtitleLanguage.5), / ]$INFO[ListItem.Property(SubtitleLanguage.6), / ]$INFO[ListItem.Property(SubtitleLanguage.7), / ]$INFO[ListItem.Property(SubtitleLanguage.8), / ]$INFO[ListItem.Property(SubtitleLanguage.9), / ]$INFO[ListItem.Property(SubtitleLanguage.10), / ]$INFO[ListItem.Property(SubtitleLanguage.11), / ]$INFO[ListItem.Property(SubtitleLanguage.12), / ]$INFO[ListItem.Property(SubtitleLanguage.13), / ]$INFO[ListItem.Property(SubtitleLanguage.14), / ]$INFO[ListItem.Property(SubtitleLanguage.15), / ][/UPPERCASE]</label>
<label2>$LOCALIZE[287]:</label2>
<onclick>SetProperty(MoreInfoTitle,$LOCALIZE[287])</onclick>
<onclick>SetProperty(MoreInfoContent,[UPPERCASE]$INFO[ListItem.Property(SubtitleLanguage.1)]$INFO[ListItem.Property(SubtitleLanguage.2), / ]$INFO[ListItem.Property(SubtitleLanguage.3), / ]$INFO[ListItem.Property(SubtitleLanguage.4), / ]$INFO[ListItem.Property(SubtitleLanguage.5), / ]$INFO[ListItem.Property(SubtitleLanguage.6), / ]$INFO[ListItem.Property(SubtitleLanguage.7), / ]$INFO[ListItem.Property(SubtitleLanguage.8), / ]$INFO[ListItem.Property(SubtitleLanguage.9), / ]$INFO[ListItem.Property(SubtitleLanguage.10), / ]$INFO[ListItem.Property(SubtitleLanguage.11), / ]$INFO[ListItem.Property(SubtitleLanguage.12), / ]$INFO[ListItem.Property(SubtitleLanguage.13), / ]$INFO[ListItem.Property(SubtitleLanguage.14), / ]$INFO[ListItem.Property(SubtitleLanguage.15), / ][/UPPERCASE])</onclick>
<onclick>SetFocus(64)</onclick>
<visible>![String.IsEqual(Skin.String(LanguageFlags),2) | String.IsEqual(Skin.String(LanguageFlags),3)] + !String.IsEmpty(ListItem.Property(SubtitleLanguage.1)) | !String.IsEmpty(ListItem.Property(SubtitleLanguage.3))</visible>
<visible>!Skin.HasSetting(Disable.VideoInfoLanguageDetails)</visible>
</item>
As far as I can tell, this makes sense although I don’t understand the <visible> logic. Can anyone confirm that this is correct?