Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

Subtitles informations

$
0
0
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 ?

Thanks,

Viewing all articles
Browse latest Browse all 1803

Trending Articles