InfoLabels

From Official Kodi Wiki
Revision as of 13:49, 29 June 2006 by >Dankula
Jump to navigation Jump to search

Labels Available In XBMC

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
System.Time Current time
System.Date Current date
System.Freespace(DRIVE) Freespace 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
Network.IPAddress The Xbox's IP Address (formatted as IP: <ipaddress>)
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)
MusicPlayer.Title Title of the currently playing song
MusicPlayer.Album Album from which the current song is from
MusicPlayer.Artist Artist(s) of current song
MusicPlayer.Genre Genre(s) of current song
MusicPlayer.Year Year of release of current song
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
MusicPlayer.Duration Duration of current song
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
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 current movie. If it's in the database it will return the database title, else the filename
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.PlaylistPosition Position of the current song in the current video playlist
VideoPlayer.PlaylistLength Total size of the current video playlist
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
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
ListItem.Label Shows the 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.Artist Shows the artist of the currently selected song in a list or thumb control
ListItem.Album Shows the album of the currently selected song in a list or thumb control
ListItem.TrackNumber Shows the track number of the currently selected song in a list or thumb control
ListItem.Genre Shows the genre of the currently selected song or movie in a list or thumb control
ListItem.Year Shows the year of the currently selected song or movie in a list or thumb control
ListItem.Director Shows the director of the currently selected movie in a list or thumb control
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.String(name)

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

Skin.Currenttheme

Returns the name of the currently displayed skin theme.

Visualisation.Preset Shows the current preset of the visualisation
Visualisation.Name Shows the name of the visualisation
XLinkKai.UserName Shows the XLink Kai username

Images Available in XBMC

Weather.Conditions Image of current weather conditions
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) or the currently selected item in a list or thumb control. If no thumbnail image exists, it will show the “Big” version of the icon.
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.