InfoLabels

From Official Kodi Wiki
Revision as of 17:28, 5 January 2009 by >Nuka1195
Jump to navigation Jump to search

Labels Available In XBMC

AudioScrobbler.ConnectState Connected to the audioscrobbler
AudioScrobbler.SubmitInterval Shows next reconnect when submission failed
AudioScrobbler.FilesCached Number of cached songs
AudioScrobbler.SubmitState Shows time left until the current song is submitted
Container.FolderPath Shows path of currently displayed folder
Container.Viewmode Returns the current viewmode (list, icons etc.)
Container.PluginName Returns the current plugins base folder name
Container.PluginCategory Returns the current plugins category (set by the scripter)
Container(id).NumPages Number of pages in the container with given id. If no id is specified it grabs the current container.
Container(id).NumItems Number of items in the container with given id. If no id is specified it grabs the current container.
Container(id).CurrentPage Current page in the container with given id. If no id is specified it grabs the current container.
Container(id).Position Returns the current focused position of Container (id) as a numeric label.
Container(id).ListItem(offset).Label Shows ListItem.Label for a specific List or Panel Container with a offset ( eg: Container(50).Listitem(2).Label )
Container(id).ListItem(offset).Label2 Shows ListItem.Label2 for a specific List or Panel Container with a offset ( eg: Container(50).Listitem(-2).Label2 )
Container(id).ListItem(offset).Icon Shows ListItem.Icon for a specific List or Panel Container with a offset ( eg: Container(52).Listitem(1).Icon)
Container(id).ListItem(offset).ActualIcon Shows ListItem.ActualIcon for a specific List or Panel Container with a offset ( eg: Container(50).Listitem(0).ActualIcon )
Container(id).ListItem(offset).Thumb Shows ListItem.Thumb for a specific List or Panel Container with a offset ( eg: Container(50).Listitem(0).Thumb )
listitem.label Shows the left label of the currently selected item in a list or thumb control
listitem.label2 Shows the right label of the currently selected item in a list or thumb control
listitem.title Shows the title of the currently selected song or movie in a list or thumb control
listitem.tracknumber Shows the track number of the currently selected song in a list or thumb control
listitem.artist Shows the artist of the currently selected song in a list or thumb control
ListItem.Property(Born) Date of Birth of the currently selected Artist
ListItem.Property(Died) Date of Death of the currently selected Artist
ListItem.Property(Formed) Formation date of the currently selected Band
ListItem.Property(Disbanded) Disbanding date of the currently selected Band
ListItem.Property(YearsActive) Years the currently selected artist has been active
ListItem.Property(Instruments) Instruments played by the currently selected artist
ListItem.Property(Biography) Shows a biography of the currently selected artist
listitem.album Shows the album of the currently selected song in a list or thumb control
ListItem.Property(AlbumMoods) Shows the moods of the currently selected Album
ListItem.Property(AlbumStyles) Shows the styles of the currently selected Album
ListItem.Property(AlbumThemes) Shows the themes of the currently selected Album
ListItem.Property(AlbumType) Shows the Album Type (e.g. compilation, enhanced, explicit lyrics) of the currently selected Album
ListItem.Property(AlbumLabel) Shows the record label of the currently selected Album
ListItem.Property(AlbumReview) Shows a review of the currently selected Album
listitem.year Shows the year of the currently selected song, album or movie in a list or thumb control
listitem.genre Shows the genre of the currently selected song, album or movie in a list or thumb control
listitem.director Shows the director of the currently selected movie in a list or thumb control
ListItem.Episode Shows the number of episodes for the currently selected tvshow
ListItem.Season Shows the season value for the currently selected tvshow
ListItem.Property(WatchedEpisodes) Shows the number of watched episodes for the currently selected tvshow
ListItem.Property(UnWatchedEpisodes) Shows the number of unwatched episodes for the currently selected tvshow
ListItem.PictureResolution Shows the dimensions of the selected picture
ListItem.PictureDateTime Shows the date/timestamp of the selected picture
listitem.filename Shows the filename of the currently selected song or movie in a list or thumb control
listitem.path Shows the path of the currently selected song or movie in a list or thumb control
listitem.filenameandpath Shows the full path with filename of the currently selected song or movie in a list or thumb control
listitem.date Shows the file date of the currently selected song or movie in a list or thumb control
listitem.size Shows the file size of the currently selected song or movie in a list or thumb control
listitem.rating Shows the IMDB rating of the currently selected movie in a list or thumb control
listitem.ratingandvotes Shows the IMDB rating and votes of the currently selected movie in a list or thumb control
listitem.mpaa Show the MPAA rating of the currently selected movie in a list or thumb control
listitem.programcount Shows the number of times an xbe has been run from "my programs"
listitem.duration Shows the song or movie duration of the currently selected movie in a list or thumb control
listitem.cast Shows a concatenated string of cast members of the currently selected movie in a list or thumb control
listitem.castandrole Shows a concatenated string of cast members and roles of the currently selected movie in a list or controlpanel
listitem.Studio Studio of current selected Music Video in a list or thumb control
listitem.Writer Name of Writer of current Video in a list or thumb control
listitem.Tagline Small Summary of current Video in a list or thumb control
listitem.PlotOutline Small Summary of current Video in a list or thumb control
listitem.Plot Complete Text Summary of Video in a list or thumb control
MusicPlayer.Title Title of the currently playing song, also available are "MusicPlayer.offset(number).Title" offset is relative to the current playing item and "MusicPlayer.Position(number).Title" position is relative to the start of the playlist
MusicPlayer.Album Album from which the current song is from, also available are "MusicPlayer.offset(number).Album" offset is relative to the current playing item and "MusicPlayer.Position(number).Album" position is relative to the start of the playlist
MusicPlayer.Artist Artist(s) of current song, also available are "MusicPlayer.offset(number).Artist" offset is relative to the current playing item and "MusicPlayer.Position(number).Artist" position is relative to the start of the playlist
MusicPlayer.Genre Genre(s) of current song, also available are "MusicPlayer.offset(number).Genre" offset is relative to the current playing item and "MusicPlayer.Position(number).Genre" position is relative to the start of the playlist
MusicPlayer.Year Year of release of current song, also available are "MusicPlayer.offset(number).Year" offset is relative to the current playing item and "MusicPlayer.Position(number).Year" position is relative to the start of the playlist
MusicPlayer.Rating Numeric Rating of current song, also available are "MusicPlayer.offset(number).Rating" offset is relative to the current playing item and "MusicPlayer.Position(number).Rating" position is relative to the start of the playlist
MusicPlayer.DiscNumber Disc Number of current song stored in ID tag info, also available are "MusicPlayer.offset(number).DiscNumber" offset is relative to the current playing item and "MusicPlayer.Position(number).DiscNumber" position is relative to the start of the playlist
MusicPlayer.Comment Comment of current song stored in ID tag info, also available are "MusicPlayer.offset(number).Comment" offset is relative to the current playing item and "MusicPlayer.Position(number).Comment" position is relative to the start of the playlist
MusicPlayer.Time Current time in song
MusicPlayer.TimeRemaining Current remaining time in song
MusicPlayer.TimeSpeed Both the time and the playspeed formatted up. eg 1:23 (2x)
MusicPlayer.TrackNumber Track number of current song, also available are "MusicPlayer.offset(number).TrackNumber" offset is relative to the current playing item and "MusicPlayer.Position(number).TrackNumber" position is relative to the start of the playlist
MusicPlayer.Duration Duration of current song, also available are "MusicPlayer.offset(number).Duration" offset is relative to the current playing item and "MusicPlayer.Position(number).Duration" position is relative to the start of the playlist
MusicPlayer.BitRate Bitrate of current song
MusicPlayer.Channels Number of channels of current song
MusicPlayer.BitsPerSample Number of bits per sample of current song
MusicPlayer.SampleRate Samplerate of current song
MusicPlayer.Codec Codec of current song
MusicPlayer.PlaylistPosition Position of the current song in the current music playlist
MusicPlayer.PlaylistLength Total size of the current music playlist
MusicPartyMode.SongsPlayed Number of songs played during Party Mode
MusicPartyMode.MatchingSongs Number of songs available to Party Mode
MusicPartyMode.MatchingSongsPicked Number of songs picked already for Party Mode
MusicPartyMode.MatchingSongsLeft Number of songs left to be picked from for Party Mode
MusicPartyMode.RelaxedSongsPicked Not currently used
MusicPartyMode.RandomSongsPicked Number of unique random songs picked during Party Mode
Network.IPAddress The Xbox's IP Address (formatted as IP: <ipaddress>)
Network.MacAddress xbox mac address
Network.IsDHCP network type is DHCP or FIXED
Network.LinkState network linkstate e.g. 10mbit/100mbit etc.
Network.SubnetAddress network subnet address
Network.GatewayAddress network gateway address
Network.DHCPAddress DHCP ip address
Network.DNS1Address network dns 1 address
Network.DNS2Address network dns 2 address
Player.FinishTime Time playing media will end
Player.Time Elapsed time of current playing media
Player.TimeRemaining Remaining time of current playing media
Player.Duration Total duration of the current playing media
Player.SeekTime Time to which the user is seeking
Player.Volume Current volume (between -60 and 0dB)
Player.CacheLevel Players current cache fill percentage (if supported by the player)
Playlist.Position Position of the current item in the current playlist (video or music)
Playlist.Length Total size of the current playlist (video or music)
Playlist.Random Returns string ID's 590 (Randomize Play Enabled) or 591 (Disabled)
Playlist.Repeat Returns string ID's 592 (Repeat One), 593 (Repeat All), or 594 (Repeat Off)
Skin.CurrentTheme Returns the current selected skin theme.
Skin.String(name)

Returns the user-set skin string, set via the Skin.SetString(name) built in function. Allows skinners to have user-customisable labels.

System.Time Current time
System.Date Current date
System.Alarmpos Shutdown Timer position
System.Freespace Total Freespace on the drive
System.Usedspace Total Usedspace on the drive
System.Totalspace Totalspace on the drive
System.UsedspacePercent Total Usedspace Percent on the drive
System.FreespacePercent Total Freespace Percent on the drive
System.Freespace(DRIVE) Freespace on drive DRIVE. DRIVE can be C, E, F, G, X, Y or Z
system.usedspace(DRIVE) Usedspace on drive DRIVE. DRIVE can be C, E, F, G, X, Y or Z
system.totalspace(DRIVE) Totalspace on drive DRIVE. DRIVE can be C, E, F, or G
System.UsedspacePercent(DRIVE) Usedspace Percent on drive DRIVE. DRIVE can be C, E, F, or G
System.FreespacePercent(DRIVE) Freespace Percent on drive DRIVE. DRIVE can be C, E, F, or G
System.CPUTemperature Current CPU temperature
System.GPUTemperature Current GPU temperature
System.FanSpeed Current fan speed
System.BuildVersion Version of build
System.BuildDate Date of build
System.FPS Current rendering speed (frames per second)
System.FreeMemory Amount of free memory in Mb
System.ScreenMode Screenmode (eg PAL)
System.ScreenWidth Width of screen in pixels
System.ScreenHeight Height of screen in pixels
System.CurrentWindow Current Window we are in
System.CurrentControl Current focused control
System.XboxNickName Nickname of the xbox
System.DVDLabel Label of the disk in the DVD-ROM drive
System.LaunchXBE Label of the currently launched Game or Application
system.hddtemperature hdd temperature
system.hddinfomodel hdd model info
system.hddinfofirmware hdd firmware version
system.hddinfoserial hdd serial number
system.hddinfopw hdd password
system.hddinfolockstate hdd lockstate info
system.hddlockkey hdd lock key
system.hddbootdate hdd first boot date
system.hddcyclecount hdd switch on counter
system.dvdinfomodel dvd model info
system.dvdinfofirmware dvd firmware version
system.hddcyclecount hdd switch on counter
system.mplayerversion mplayer.dll version
system.kernelversion xbox kernel version
system.uptime system current uptime
system.totaluptime system total uptime
system.cpufrequency xbox cpu frequency
system.xboxversion detected xbox version
system.avcablepackinfo av cablepack info
system.screenresolution screen resolution
system.videoencoderinfo video encoder info
system.xboxserial xbox serial number
system.videoxberegion xbox video xbe region
system.bios xbox detected bios, id's -> \system\systeminfo\biosIds.ini
system.modchip detected modchip
system.internetstate will return the internet state, connected or not connected

and for Conditional use: Connected->TRUE, not Connected->FALSE, do not use to check status in a pythonscript since it is threaded.

system.controllerport(x) for x=1,2,3,4 will in time return connected devices on the controller port e.g. system.controllerport(1)
System.Language Shows the current language
System.GetBool(boolean) Returns the value of any standard system boolean setting. Will not work with settings in advancedsettings.xml
System.ProfileName Shows the User name of the currently logged in XBMC user
Visualisation.Preset Shows the current preset of the visualisation
Visualisation.Name Shows the name of the visualisation
VideoPlayer.Time Current time in movie
VideoPlayer.TimeRemaining Current remaining time in movie
VideoPlayer.TimeSpeed Current time + playspeed. eg 1:23:14 (-4x)
VideoPlayer.Duration Length of current movie
VideoPlayer.Title Title of currently playing video. If it's in the database it will return the database title, else the filename
VideoPlayer.TVShowTitle Title of currently playing episode's tvshow name
VideoPlayer.Genre Genre(s) of current movie, if it's in the database
VideoPlayer.Director Director of current movie, if it's in the database
VideoPlayer.Year Year of release of current movie, if it's in the database
VideoPlayer.Rating IMDb user rating of current movie, if it's in the database
VideoPlayer.RatingAndVotes IMDb user rating and votes of current movie, if it's in the database
VideoPlayer.mpaa MPAA rating of current movie, if it's in the database
VideoPlayer.PlaylistPosition Position of the current song in the current video playlist
VideoPlayer.PlaylistLength Total size of the current video playlist
VideoPlayer.Cast A concatenated string of cast members of the current movie, if it's in the database
VideoPlayer.CastAndRole A concatenated string of cast members and roles of the current movie, if it's in the database
VideoPlayer.Album Album from which the current Music Video is from, if it's in the database
VideoPlayer.Artist Artist(s) of current Music Video, if it's in the database
VideoPlayer.Studio Studio of current Music Video, if it's in the database
VideoPlayer.Writer Name of Writer of current playing Video, if it's in the database
VideoPlayer.Tagline Small Summary of current playing Video, if it's in the database
VideoPlayer.PlotOutline Small Summary of current playing Video, if it's in the database
VideoPlayer.Plot Complete Text Summary of current playing Video, if it's in the database
Weather.Conditions Current weather conditions – this is looked up in a background process.
Weather.Temperature Current weather temperature
Weather.Location City/town which the above two items are for
XLinkKai.UserName Shows the XLink Kai username
Fanart.Color1 Returns the first of three colors included in the currently selected Fanart theme for the parent TV Show. Colors are arranged Lightest to Darkest.
Fanart.Color2 Returns the second of three colors included in the currently selected Fanart theme for the parent TV Show. Colors are arranged Lightest to Darkest.
Fanart.Color3 Returns the third of three colors included in the currently selected Fanart theme for the parent TV Show. Colors are arranged Lightest to Darkest.
Window([window]).Property(key) Window property. (key can be any value, optional window can be id or name)
Window(Weather).Property(Location)
Window(Weather).Property(Updated)
Window(Weather).Property(Current.Condition)
Window(Weather).Property(Current.Temperature)
Window(Weather).Property(Current.FeelsLike)
Window(Weather).Property(Current.UVIndex)
Window(Weather).Property(Current.Wind)
Window(Weather).Property(Current.DewPoint)
Window(Weather).Property(Current.Humidity)
Window(Weather).Property(Day0.Title)
Window(Weather).Property(Day0.HighTemp)
Window(Weather).Property(Day0.LowTemp)
Window(Weather).Property(Day0.Outlook)
Window(Weather).Property(Day1.Title)
Window(Weather).Property(Day1.HighTemp)
Window(Weather).Property(Day1.LowTemp)
Window(Weather).Property(Day1.Outlook)
Window(Weather).Property(Day2.Title)
Window(Weather).Property(Day2.HighTemp)
Window(Weather).Property(Day2.LowTemp)
Window(Weather).Property(Day2.Outlook)
Window(Weather).Property(Day3.Title)
Window(Weather).Property(Day3.HighTemp)
Window(Weather).Property(Day3.LowTemp)
Window(Weather).Property(Day3.Outlook)

Images Available in XBMC

container.folderthumb Thumbnail Image of the current displayed folder of list and thumb panels
container.tvshowthumb Thumbnail Image of the parent TV show
Container.SeasonThumb Thumbnail Image of the parent TV show season
ListItem.Property(SeasonThumb) Thumbnail Image of the parent TV show season, for use in dialogvideoinfo.xml
Weather.Conditions Image of current weather conditions
Player.StarRating Returns a value of 0 to 5 as a graphical display from images named rating0.png to rating5.png of the skin
MusicPlayer.Cover Cover of currently playing album
VideoPlayer.Cover Cover of currently playing movie
ListItem.Thumb Shows the thumbnail (if it exists) of the currently selected item in a list or thumb control
ListItem.Icon Shows the thumbnail (if it exists) of the currently selected item in a list or thumb control. If no thumbnail image exists, it will show the “Big” version of the icon.
ListItem.ActualIcon Shows the icon of the currently selected item in a list or thumb control.
ListItem.Overlay Shows the Overlay Icon status (compressed file, Trainer, watched, unwatched, locked) of the currently selected item in a list or thumb control.
Skin.String(name)

Returns the image or image folder set by the user via a Skin.SetPath(name) or Skin.SetImage(name) built in function. Allows skinners to have user-customisable images and multiimages.

System.ProfileThumb Shows the Thumbnail image of the currently logged in XBMC user
Fanart.Image Fanart image for the parent TV Show
Listitem.Property(Fanart_Image) Fanart image for the selected item
Window([window]).Property(key) Window property. (key can be any value, optional window can be id or name)
Window(Weather).Property(Current.ConditionIcon)
Window(Weather).Property(Day0.OutlookIcon)
Window(Weather).Property(Day1.OutlookIcon)
Window(Weather).Property(Day2.OutlookIcon)
Window(Weather).Property(Day3.OutlookIcon)