Skip to content

ListItem Properties Video files

meowmoo edited this page Sep 7, 2017 · 3 revisions

Properties available for all video file items, property doesn't work in containers.

These properties are available for in-library playable videos only (musicvideos, movies, episodes)

property description
SkinHelper.ListItem.Subtitles All subtitles seperated by /
SkinHelper.ListItem.Subtitles.Count Number of Subtitles
SkinHelper.ListItem.Languages All audio languages of the current listitem seperated by /
SkinHelper.ListItem.Languages.Count Will return the number of Languages
SkinHelper.ListItem.Subtitles.X Will return subtitle X of the current listitem. Start counting from 0
SkinHelper.ListItem.AudioStreams.Count Will return the number of Audio streams
SkinHelper.ListItem.AudioStreams.X Will return the language-codec-channels of audiostream X for the current listitem. Start counting from 0
SkinHelper.ListItem.AudioStreams.X.Language Will return the language of audiostream X for the current listitem. Start counting from 0
SkinHelper.ListItem.AudioStreams.X.AudioCodec Will return the AudioCodec of audiostream X for the current listitem. Start counting from 0
SkinHelper.ListItem.AudioStreams.X.AudioChannels Will return the AudioChannels of audiostream X for the current listitem. Start counting from 0
SkinHelper.ListItem.AllAudioStreams Will return a formatted list of all audiostreams for the current listitem separated by /
SkinHelper.ListItem.VideoHeight Will return the height of the video stream for the current listitem
SkinHelper.ListItem.VideoWidth Will return the width of the video stream for the current listitem