[RELEASE] Video language script for audio & subtitle streams
#84
@Black:
Is there any possibilitie that you would add another two properties?

Something like Window.Property(AudioLanguageUnique.%d) and Window.Property(SubtitleLanguageUnique.%d)

Where the output would be unique list of languages when then media has more that one stream of the same languages
for example:
if the movie has the following subtitles:
ENG,FRA,CHI,ENG,SLV,SLV,GER,GER,ITA,CHI
the output would be:
ENG,FRA,CHI,SLV,GER,ITA

Additionally if you have set in the kodi settings:
Window.Property(AudioLanguageUniqueLeadingPreferred.%d) and Window.Property(SubtitleLanguageUniqueLeadingPreferred.%d)
Kodi -> Settings -> Videos -> Playback -> Preferred audio language
Kodi -> Settings -> Videos -> Subtitles -> Preferred subtitle language

Then the otuput list wold have leading the languages from peferred kodi settings.

It just very humble request, but this would greatelly simplify excess of the code in the skin.

Otherwise your skript is really great and thank you for sharing it with us. Smile
Reply


Messages In This Thread
RE: [RELEASE] Video language script for audio & subtitle streams - by Crssi - 2015-05-28, 16:24
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Video language script for audio & subtitle streams3