Subtitles informations
#1
Hi,

When I select a video, my skin displays some informations about it (codec, resolution, audio channels and subtitles).
For the audio stream, when no language is set inside the file, it shows me a "?" flag because it checks audio stream with ListItem.Property(AudioChannels.n) to show information (and not ListItem.Property(AudioLanguage.n)).

The problem is I did not find any way to do this for subtitles :
Code:

<visible>!ListItem.IsFolder + Window.IsActive(videos) + !String.IsEmpty(ListItem.Property(SubtitleLanguage.1))" </visible>
With this syntax, subtitles flag will not be display if there is no subs, and that's fine. BUT, this will not display my "?" flag if there is one sub but no language defined for it.

Is there a way to achieve this ?
May be a python script, but I have no idea how to code it...
Same problem about forced subtitles, no way (at least, I don't know how) to show if the subtitles are forced or not in the video informations.

Thanks,
Reply

Logout Mark Read Team Forum Stats Members Help
Subtitles informations0