Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
GUIInfoManager.cpp File Reference
#include "GUIInfoManager.h"
#include "FileItem.h"
#include "ServiceBroker.h"
#include "URL.h"
#include "Util.h"
#include "application/ApplicationComponents.h"
#include "application/ApplicationPlayer.h"
#include "cores/DataCacheCore.h"
#include "filesystem/File.h"
#include "games/tags/GameInfoTag.h"
#include "guilib/guiinfo/GUIInfo.h"
#include "guilib/guiinfo/GUIInfoHelper.h"
#include "guilib/guiinfo/GUIInfoLabels.h"
#include "input/WindowTranslator.h"
#include "interfaces/AnnouncementManager.h"
#include "interfaces/info/InfoExpression.h"
#include "messaging/ApplicationMessenger.h"
#include "playlists/PlayListTypes.h"
#include "settings/SkinSettings.h"
#include "utils/CharsetConverter.h"
#include "utils/FileUtils.h"
#include "utils/StringUtils.h"
#include "utils/URIUtils.h"
#include "utils/log.h"
#include <algorithm>
#include <array>
#include <charconv>
#include <cmath>
#include <functional>
#include <iterator>
#include <memory>
#include <mutex>

Classes

struct  infomap
 

Functions

bool InfoBoolComparator (const InfoPtr &right, const InfoPtr &left)
 

Variables

const infomap addons []
 
const infomap string_bools []
 
const infomap integer_bools []
 
const infomap player_labels []
 
const infomap player_param []
 
const infomap player_times []
 
const infomap player_process []
 
const infomap weather []
 
const infomap system_labels []
 
const infomap system_param []
 
const infomap network_labels []
 
const infomap musicpartymode []
 
const infomap musicplayer []
 
const infomap videoplayer []
 
const infomap retroplayer []
 
const infomap mediacontainer []
 
const infomap container_bools []
 
const infomap container_ints []
 
const infomap container_str []
 
const infomap listitem_labels []
 
const infomap visualisation []
 
const infomap fanart_labels []
 
const infomap skin_labels []
 
const infomap window_bools []
 
const infomap control_labels []
 
const infomap playlist []
 
const infomap pvr []
 
const infomap pvr_times []
 
const infomap rds []
 
const infomap slideshow []
 

Function Documentation

◆ InfoBoolComparator()

bool InfoBoolComparator ( const InfoPtr & right,
const InfoPtr & left )

Variable Documentation

◆ addons

const infomap addons[]
Initial value:
= {
{"settingstr", ADDON_SETTING_STRING},
{"settingbool", ADDON_SETTING_BOOL},
{"settingint", ADDON_SETTING_INT},
}
#define ADDON_SETTING_INT
Definition GUIInfoLabels.h:741
#define ADDON_SETTING_BOOL
Definition GUIInfoLabels.h:740
#define ADDON_SETTING_STRING
Definition GUIInfoLabels.h:739

◆ container_bools

const infomap container_bools[]
Initial value:
={{ "onnext", CONTAINER_MOVE_NEXT },
{ "onprevious", CONTAINER_MOVE_PREVIOUS },
{ "onscrollnext", CONTAINER_SCROLL_NEXT },
{ "onscrollprevious", CONTAINER_SCROLL_PREVIOUS },
{ "numpages", CONTAINER_NUM_PAGES },
{ "numitems", CONTAINER_NUM_ITEMS },
{ "numnonfolderitems", CONTAINER_NUM_NONFOLDER_ITEMS },
{ "numallitems", CONTAINER_NUM_ALL_ITEMS },
{ "currentpage", CONTAINER_CURRENT_PAGE },
{ "currentitem", CONTAINER_CURRENT_ITEM },
{ "scrolling", CONTAINER_SCROLLING },
{ "hasnext", CONTAINER_HAS_NEXT },
{ "hasparent", CONTAINER_HAS_PARENT_ITEM },
{ "hasprevious", CONTAINER_HAS_PREVIOUS },
{ "isupdating", CONTAINER_ISUPDATING }}
#define CONTAINER_SCROLL_PREVIOUS
Definition GUIInfoLabels.h:326
#define CONTAINER_SCROLL_NEXT
Definition GUIInfoLabels.h:330
#define CONTAINER_NUM_NONFOLDER_ITEMS
Definition GUIInfoLabels.h:366
#define CONTAINER_SCROLLING
Definition GUIInfoLabels.h:336
#define CONTAINER_NUM_PAGES
Definition GUIInfoLabels.h:355
#define CONTAINER_NUM_ITEMS
Definition GUIInfoLabels.h:340
#define CONTAINER_MOVE_PREVIOUS
Definition GUIInfoLabels.h:327
#define CONTAINER_ISUPDATING
Definition GUIInfoLabels.h:331
#define CONTAINER_HAS_PREVIOUS
Definition GUIInfoLabels.h:353
#define CONTAINER_HAS_PARENT_ITEM
Definition GUIInfoLabels.h:321
#define CONTAINER_HAS_NEXT
Definition GUIInfoLabels.h:352
#define CONTAINER_NUM_ALL_ITEMS
Definition GUIInfoLabels.h:365
#define CONTAINER_MOVE_NEXT
Definition GUIInfoLabels.h:329
#define CONTAINER_CURRENT_PAGE
Definition GUIInfoLabels.h:356
#define CONTAINER_CURRENT_ITEM
Definition GUIInfoLabels.h:345

◆ container_ints

const infomap container_ints[]
Initial value:
= {{ "row", CONTAINER_ROW },
{ "column", CONTAINER_COLUMN },
{ "position", CONTAINER_POSITION },
{ "subitem", CONTAINER_SUBITEM },
{ "hasfocus", CONTAINER_HAS_FOCUS },
{ "sortmethod", CONTAINER_SORT_METHOD },
}
#define CONTAINER_COLUMN
Definition GUIInfoLabels.h:349
#define CONTAINER_SUBITEM
Definition GUIInfoLabels.h:354
#define CONTAINER_POSITION
Definition GUIInfoLabels.h:350
#define CONTAINER_SORT_METHOD
Definition GUIInfoLabels.h:344
#define CONTAINER_ROW
Definition GUIInfoLabels.h:348
#define CONTAINER_HAS_FOCUS
Definition GUIInfoLabels.h:347

◆ container_str

const infomap container_str[]
Initial value:
= {{ "property", CONTAINER_PROPERTY },
{ "content", CONTAINER_CONTENT },
{ "art", CONTAINER_ART }}
#define CONTAINER_PROPERTY
Definition GUIInfoLabels.h:338
#define CONTAINER_CONTENT
Definition GUIInfoLabels.h:342
#define CONTAINER_ART
Definition GUIInfoLabels.h:346

◆ control_labels

const infomap control_labels[]
Initial value:
= {{ "hasfocus", CONTROL_HAS_FOCUS },
{ "isvisible", CONTROL_IS_VISIBLE },
{ "isenabled", CONTROL_IS_ENABLED },
{ "getlabel", CONTROL_GET_LABEL }}
#define CONTROL_IS_ENABLED
Definition GUIInfoLabels.h:754
#define CONTROL_HAS_FOCUS
Definition GUIInfoLabels.h:757
#define CONTROL_IS_VISIBLE
Definition GUIInfoLabels.h:755
#define CONTROL_GET_LABEL
Definition GUIInfoLabels.h:753

◆ fanart_labels

const infomap fanart_labels[]
Initial value:
= {{ "color1", FANART_COLOR1 },
{ "color2", FANART_COLOR2 },
{ "color3", FANART_COLOR3 },
{ "image", FANART_IMAGE }}
#define FANART_COLOR3
Definition GUIInfoLabels.h:564
#define FANART_IMAGE
Definition GUIInfoLabels.h:565
#define FANART_COLOR2
Definition GUIInfoLabels.h:563
#define FANART_COLOR1
Definition GUIInfoLabels.h:562

◆ integer_bools

const infomap integer_bools[]
Initial value:
= {{ "isequal", INTEGER_IS_EQUAL },
{ "isgreater", INTEGER_GREATER_THAN },
{ "isgreaterorequal", INTEGER_GREATER_OR_EQUAL },
{ "isless", INTEGER_LESS_THAN },
{ "islessorequal", INTEGER_LESS_OR_EQUAL },
{ "iseven", INTEGER_EVEN },
{ "isodd", INTEGER_ODD }}
#define INTEGER_IS_EQUAL
Definition GUIInfoLabels.h:396
#define INTEGER_EVEN
Definition GUIInfoLabels.h:401
#define INTEGER_LESS_THAN
Definition GUIInfoLabels.h:399
#define INTEGER_ODD
Definition GUIInfoLabels.h:402
#define INTEGER_GREATER_OR_EQUAL
Definition GUIInfoLabels.h:398
#define INTEGER_GREATER_THAN
Definition GUIInfoLabels.h:397
#define INTEGER_LESS_OR_EQUAL
Definition GUIInfoLabels.h:400

◆ listitem_labels

const infomap listitem_labels[]

ListItem.AddonType string

Returns
The type (screensaver, script, skin, etc...) of the currently selected addon.

v17 Skinning engine changes
[Infolabel Updated] ListItem.AddonType replaces ListItem.Property(Addon.Type).

ListItem.AddonInstallDate string

Returns
The date the addon was installed.

v17 Skinning engine changes
[New Infolabel] ListItem.AddonInstallDate

ListItem.AddonLastUpdated string

Returns
The date the addon was last updated.

v17 Skinning engine changes
[New Infolabel] ListItem.AddonLastUpdated

ListItem.AddonLastUsed string

Returns
The date the addon was used last.

v17 Skinning engine changes
[New Infolabel] ListItem.AddonLastUsed

ListItem.AddonNews string

Returns
A brief changelog, taken from the addons' addon.xml file.

v17 Skinning engine changes
[New Infolabel] ListItem.AddonNews

ListItem.AddonSize string

Returns
The filesize of the addon.

v17 Skinning engine changes
[New Infolabel] ListItem.AddonSize

ListItem.AddonOrigin string

Returns
The name of the repository the add-on originates from.

ListItem.ExpirationDate string

Returns
The expiration date of the selected item in a container, empty string if not supported.

ListItem.ExpirationTime string

Returns
The expiration time of the selected item in a container, empty string if not supported

ListItem.Art(type) string

Returns
A particular art type for an item.
Parameters
type- the art type. It can be any value (set by scripts and scrappers). Common values:
  • clearart - the clearart (if it exists) of the currently selected movie or tv show.
  • clearlogo - the clearlogo (if it exists) of the currently selected movie or tv show.
  • landscape - the 16:9 landscape (if it exists) of the currently selected item.
  • thumb - the thumbnail of the currently selected item.
  • poster - the poster of the currently selected movie or tv show.
  • banner - the banner of the currently selected tv show.
  • fanart - the fanart image of the currently selected item.
  • set.fanart - the fanart image of the currently selected movieset.
  • tvshow.poster - the tv show poster of the parent container.
  • tvshow.banner - the tv show banner of the parent container.
  • tvshow.clearlogo - the tv show clearlogo (if it exists) of the parent container.
  • tvshow.landscape - the tv show landscape (if it exists) of the parent container.
  • tvshow.clearart - the tv show clearart (if it exists) of the parent container.
  • season.poster - the season poster of the currently selected season. (Only available in DialogVideoInfo.xml).
  • season.banner - the season banner of the currently selected season. (Only available in DialogVideoInfo.xml).
  • season.fanart - the fanart image of the currently selected season. (Only available in DialogVideoInfo.xml)
  • artist.thumb - the artist thumb of an album or song item.
  • artist.fanart - the artist fanart of an album or song item.
  • album.thumb - the album thumb (cover) of a song item.
  • artist[n].* - in case a song has multiple artists, a digit is added to the art type for the 2nd artist onwards e.g Listitem.Art(artist1.thumb) gives the thumb of the 2nd artist of a song.
  • albumartist[n].* - n case a song has multiple album artists, a digit is added to the art type for the 2nd artist onwards e.g Listitem.Art(artist1.thumb) gives the thumb of the 2nd artist of a song.
Todo
Find a better way of finding the art types instead of manually defining them here.

v18 Skinning engine changes
[Infolabel Updated] ListItem.Art(type) add artist[n].* and albumartist[n].* as possible targets for type

ListItem.Platform string

Returns
The game platform (e.g. "Atari 2600") (RETROPLAYER).

v18 Skinning engine changes
[New Infolabel] ListItem.Platform

ListItem.Genres string

Returns
The game genres (e.g. "["Action","Strategy"]") (RETROPLAYER).

v18 Skinning engine changes
[New Infolabel] ListItem.Genres

ListItem.Publisher string

Returns
The game publisher (e.g. "Nintendo") (RETROPLAYER).

v18 Skinning engine changes
[New Infolabel] ListItem.Publisher

ListItem.Developer string

Returns
The game developer (e.g. "Square") (RETROPLAYER).

v18 Skinning engine changes
[New Infolabel] ListItem.Developer

ListItem.Overview string

Returns
The game overview/summary (RETROPLAYER).

v18 Skinning engine changes
[New Infolabel] ListItem.Overview

ListItem.GameClient string

Returns
The add-on ID of the game client (a.k.a. emulator) to use for playing the game (e.g. game.libretro.fceumm) (RETROPLAYER).

v18 Skinning engine changes
[New Infolabel] ListItem.GameClient

ListItem.Property(propname) string

Returns
The requested property of a ListItem.
Parameters
propname- the property requested

ListItem.Property(Role.Composer) string

Returns
The name of the person who composed the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.Composer)

ListItem.Property(Role.Conductor) string

Returns
The name of the person who conducted the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.Conductor)

ListItem.Property(Role.Orchestra) string

Returns
The name of the orchestra performing the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.Orchestra)

ListItem.Property(Role.Lyricist) string

Returns
The name of the person who wrote the lyrics of the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.Lyricist)

ListItem.Property(Role.Remixer) string

Returns
The name of the person who remixed the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.Remixer)

ListItem.Property(Role.Arranger) string

Returns
The name of the person who arranged the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.Arranger)

ListItem.Property(Role.Engineer) string

Returns
The name of the person who was the engineer of the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.Engineer)

ListItem.Property(Role.Producer) string

Returns
The name of the person who produced the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.Producer)

ListItem.Property(Role.DJMixer) string

Returns
The name of the dj who remixed the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.DJMixer)

ListItem.Property(Role.Mixer) string

Returns
The name of the person who mixed the selected song.

v17 Skinning engine changes
[New Infolabel] ListItem.Property(Role.DJMixer)

ListItem.Property(Game.VideoFilter) string

Returns
The video filter of the list item representing a gamewindow control (RETROPLAYER). See RetroPlayer.VideoFilter for the possible values.

v18 Skinning engine changes
[New Infolabel] ListItem.Property(Game.VideoFilter)

ListItem.Property(Game.StretchMode) string

Returns
The stretch mode of the list item representing a gamewindow control (RETROPLAYER). See RetroPlayer.StretchMode for the possible values.

v18 Skinning engine changes
[New Infolabel] ListItem.Property(Game.StretchMode)

ListItem.Property(Game.VideoRotation) integer

Returns
The video rotation of the list item representing a gamewindow control (RETROPLAYER). See RetroPlayer.VideoRotation for the possible values.

v18 Skinning engine changes
[New Infolabel] ListItem.Property(Game.VideoRotation)

ListItem.ParentalRating string

Returns
The parental rating of the list item (PVR).

ListItem.ParentalRatingCode string

Returns
The parental rating code (eg: 'PG', etc) of the list item (PVR).

v21 Skinning engine changes
[New Infolabel] ListItem.ParentalRatingCode

ListItem.CurrentItem string

Returns
The current index of the item in a container starting at 1.

v19 Skinning engine changes
[New Infolabel] ListItem.CurrentItem

ListItem.IsNew boolean

Returns
True if the item is new (for example, a Live TV show that will be first aired).

v19 Skinning engine changes
[New Infolabel] ListItem.IsNew

ListItem.IsPremiere boolean

Returns
True if the item is a premiere (for example, a Movie first showing or season first on Live TV).

v19 Skinning engine changes
[New Infolabel] ListItem.IsPremiere

ListItem.IsFinale boolean

Returns
True if the item is a finale (for example, a season finale showing on Live TV).

v19 Skinning engine changes
[New Infolabel] ListItem.IsFinale

ListItem.IsLive boolean

Returns
True if the item is live (for example, a Live TV sports event).

v19 Skinning engine changes
[New Infolabel] ListItem.IsLive

ListItem.DiscTitle string

Returns
The disc title of the currently selected album or song.

v19 Skinning engine changes
[New Infolabel] ListItem.DiscTitle

ListItem.IsBoxset boolean

Returns
True if the item is part of a boxset album.

v19 Skinning engine changes
[New Infolabel] ListItem.IsBoxset

ListItem.TotalDiscs boolean

Returns
The total number of discs belonging to an album.

v19 Skinning engine changes
[New Infolabel] ListItem.TotalDiscs

ListItem.ReleaseDate string

Returns
The release date of the item.

v19 Skinning engine changes
[New Infolabel] ListItem.ReleaseDate

ListItem.OriginalDate string

Returns
The original release date of the item. Can be full or partial date.

v19 Skinning engine changes
[New Infolabel] ListItem.OriginalDate

ListItem.BPM string

Returns
The BPM of a song.

v19 Skinning engine changes
[New Infolabel] ListItem.BPM

ListItem.UniqueID(name) string

Returns
The scraped metadata id of the currently selected item in a container, for use in dialogvideoinfo.xml.
Parameters
name- the name of the metadata provider.

v19 Skinning engine changes
[New Infolabel] ListItem.UniqueID(name)

ListItem.BitRate string

Returns
The bitrate of a song. Actual rate for CBR, average rate for VBR.

v19 Skinning engine changes
[New Infolabel] ListItem.BitRate

ListItem.SampleRate string

Returns
The sample rate of a song / 1000.0 eg 44.1, 48, 96 etc.

v19 Skinning engine changes
[New Infolabel] ListItem.SampleRate

ListItem.MusicChannels string

Returns
The number of audio channels of a song.

v19 Skinning engine changes
[New Infolabel] ListItem.NoOfChannels

ListItem.TvShowDBID string

Returns
The database id of the TvShow for the currently selected Season or Episode.

v19 Skinning engine changes
[New Infolabel] ListItem.TvShowDBID

\table_row3{ ListItem.AlbumStatus, string,

Returns
The Musicbrainz release status of the album (official, bootleg, promotion etc)

v19 Skinning engine changes
[New Infolabel] ListItem.AlbumStatus } ListItem.HdrType string
Returns
String containing the name of the detected HDR type or empty if not HDR. See StreamHdrType for the list of possible values.

v20 Skinning engine changes
[New Infolabel] ListItem.HdrType ListItem.SongVideoURL string
Returns
Link to a video of a song

v21 Skinning engine changes
[New Infolabel] ListItem.SongVideoURL ListItem.BackendInstanceName string
Returns
The name used by the PVR client addon instance for the selected item.

v22 Skinning engine changes
[New Infolabel] ListItem.BackendInstanceName

ListItem.VideoWidth string

Returns
String containing width of video in pixels - empty if unknown.

v21 Skinning engine changes
[New Infolabel] ListItem.VideoWidth ListItem.VideoHeight string
Returns
String containing height of video in pixels - empty if unknown.

v21 Skinning engine changes
[New Infolabel] ListItem.VideoHeight ListItem.HasVideoVersions boolean
Returns
True when the selected item has multiple video versions.

v21 Skinning engine changes
[New Infolabel] ListItem.HasVideoVersions ListItem.IsVideoExtra boolean
Returns
True when the selected item is a video extra.

v21 Skinning engine changes
[New Infolabel] ListItem.IsVideoExtra ListItem.VideoVersionName string
Returns
String containing the name of the version of a video - empty for extras or if no version available

v21 Skinning engine changes
[New Infolabel] ListItem.VideoVersionName ListItem.HasVideoExtras boolean
Returns
True when the selected item has video extras.

v21 Skinning engine changes
[New Infolabel] ListItem.HasVideoExtras

◆ mediacontainer

const infomap mediacontainer[]
Initial value:
= {{ "hasfiles", CONTAINER_HASFILES },
{ "hasfolders", CONTAINER_HASFOLDERS },
{ "isstacked", CONTAINER_STACKED },
{ "folderpath", CONTAINER_FOLDERPATH },
{ "foldername", CONTAINER_FOLDERNAME },
{ "pluginname", CONTAINER_PLUGINNAME },
{ "plugincategory", CONTAINER_PLUGINCATEGORY },
{ "viewmode", CONTAINER_VIEWMODE },
{ "viewcount", CONTAINER_VIEWCOUNT },
{ "totaltime", CONTAINER_TOTALTIME },
{ "totalwatched", CONTAINER_TOTALWATCHED },
{ "totalunwatched", CONTAINER_TOTALUNWATCHED },
{ "hasthumb", CONTAINER_HAS_THUMB },
{ "sortorder", CONTAINER_SORT_ORDER },
{ "canfilter", CONTAINER_CAN_FILTER },
{ "canfilteradvanced",CONTAINER_CAN_FILTERADVANCED },
{ "filtered", CONTAINER_FILTERED },
{ "showplot", CONTAINER_SHOWPLOT },
{ "showtitle", CONTAINER_SHOWTITLE }}
#define CONTAINER_HASFILES
Definition GUIInfoLabels.h:332
#define CONTAINER_HAS_THUMB
Definition GUIInfoLabels.h:343
#define CONTAINER_STACKED
Definition GUIInfoLabels.h:334
#define CONTAINER_FOLDERPATH
Definition GUIInfoLabels.h:341
#define CONTAINER_VIEWMODE
Definition GUIInfoLabels.h:351
#define CONTAINER_HASFOLDERS
Definition GUIInfoLabels.h:333
#define CONTAINER_SHOWPLOT
Definition GUIInfoLabels.h:357
#define CONTAINER_CAN_FILTERADVANCED
Definition GUIInfoLabels.h:323
#define CONTAINER_PLUGINNAME
Definition GUIInfoLabels.h:337
#define CONTAINER_SORT_ORDER
Definition GUIInfoLabels.h:359
#define CONTAINER_CAN_FILTER
Definition GUIInfoLabels.h:322
#define CONTAINER_FILTERED
Definition GUIInfoLabels.h:324
#define CONTAINER_FOLDERNAME
Definition GUIInfoLabels.h:335
#define CONTAINER_TOTALWATCHED
Definition GUIInfoLabels.h:360
#define CONTAINER_PLUGINCATEGORY
Definition GUIInfoLabels.h:364
#define CONTAINER_TOTALUNWATCHED
Definition GUIInfoLabels.h:361
#define CONTAINER_VIEWCOUNT
Definition GUIInfoLabels.h:362
#define CONTAINER_TOTALTIME
Definition GUIInfoLabels.h:358
#define CONTAINER_SHOWTITLE
Definition GUIInfoLabels.h:363

◆ musicpartymode

const infomap musicpartymode[]
Initial value:
= {{ "enabled", MUSICPM_ENABLED },
{ "songsplayed", MUSICPM_SONGSPLAYED },
{ "matchingsongs", MUSICPM_MATCHINGSONGS },
{ "matchingsongspicked", MUSICPM_MATCHINGSONGSPICKED },
{ "matchingsongsleft", MUSICPM_MATCHINGSONGSLEFT },
{ "relaxedsongspicked", MUSICPM_RELAXEDSONGSPICKED },
{ "randomsongspicked", MUSICPM_RANDOMSONGSPICKED }}
#define MUSICPM_RELAXEDSONGSPICKED
Definition GUIInfoLabels.h:373
#define MUSICPM_RANDOMSONGSPICKED
Definition GUIInfoLabels.h:374
#define MUSICPM_SONGSPLAYED
Definition GUIInfoLabels.h:369
#define MUSICPM_MATCHINGSONGS
Definition GUIInfoLabels.h:370
#define MUSICPM_MATCHINGSONGSPICKED
Definition GUIInfoLabels.h:371
#define MUSICPM_MATCHINGSONGSLEFT
Definition GUIInfoLabels.h:372
#define MUSICPM_ENABLED
Definition GUIInfoLabels.h:368

◆ musicplayer

const infomap musicplayer[]

◆ network_labels

const infomap network_labels[]
Initial value:
= {
{"isdhcp", NETWORK_IS_DHCP},
{"ipaddress", NETWORK_IP_ADDRESS},
{"linkstate", NETWORK_LINK_STATE},
{"macaddress", NETWORK_MAC_ADDRESS},
{"subnetmask", NETWORK_SUBNET_MASK},
{"gatewayaddress", NETWORK_GATEWAY_ADDRESS},
{"dns1address", NETWORK_DNS1_ADDRESS},
{"dns2address", NETWORK_DNS2_ADDRESS}
}
#define NETWORK_DNS2_ADDRESS
Definition GUIInfoLabels.h:171
#define NETWORK_IS_DHCP
Definition GUIInfoLabels.h:166
#define NETWORK_IP_ADDRESS
Definition GUIInfoLabels.h:164
#define NETWORK_LINK_STATE
Definition GUIInfoLabels.h:167
#define NETWORK_SUBNET_MASK
Definition GUIInfoLabels.h:168
#define NETWORK_MAC_ADDRESS
Definition GUIInfoLabels.h:165
#define NETWORK_DNS1_ADDRESS
Definition GUIInfoLabels.h:170
#define NETWORK_GATEWAY_ADDRESS
Definition GUIInfoLabels.h:169

◆ player_labels

const infomap player_labels[]

◆ player_param

const infomap player_param[]
Initial value:
= {{"art", PLAYER_ITEM_ART},
{"hasperformedseek", PLAYER_HASPERFORMEDSEEK}}
#define PLAYER_HASPERFORMEDSEEK
Definition GUIInfoLabels.h:39
#define PLAYER_ITEM_ART
Definition GUIInfoLabels.h:57

◆ player_process

const infomap player_process[]
Initial value:
= {{"videodecoder", PLAYER_PROCESS_VIDEODECODER},
{"deintmethod", PLAYER_PROCESS_DEINTMETHOD},
{"videowidth", PLAYER_PROCESS_VIDEOWIDTH},
{"videoheight", PLAYER_PROCESS_VIDEOHEIGHT},
{"videofps", PLAYER_PROCESS_VIDEOFPS},
{"videodar", PLAYER_PROCESS_VIDEODAR},
{"videohwdecoder", PLAYER_PROCESS_VIDEOHWDECODER},
{"audiodecoder", PLAYER_PROCESS_AUDIODECODER},
{"audiochannels", PLAYER_PROCESS_AUDIOCHANNELS},
{"audiosamplerate", PLAYER_PROCESS_AUDIOSAMPLERATE},
{"audiobitspersample", PLAYER_PROCESS_AUDIOBITSPERSAMPLE},
{"videoscantype", PLAYER_PROCESS_VIDEOSCANTYPE}}
#define PLAYER_PROCESS_AUDIOCHANNELS
Definition GUIInfoLabels.h:733
#define PLAYER_PROCESS_VIDEODAR
Definition GUIInfoLabels.h:730
#define PLAYER_PROCESS_VIDEOWIDTH
Definition GUIInfoLabels.h:727
#define PLAYER_PROCESS_VIDEOHWDECODER
Definition GUIInfoLabels.h:731
#define PLAYER_PROCESS_VIDEOHEIGHT
Definition GUIInfoLabels.h:728
#define PLAYER_PROCESS_VIDEOSCANTYPE
Definition GUIInfoLabels.h:736
#define PLAYER_PROCESS_AUDIOSAMPLERATE
Definition GUIInfoLabels.h:734
#define PLAYER_PROCESS_PIXELFORMAT
Definition GUIInfoLabels.h:726
#define PLAYER_PROCESS_DEINTMETHOD
Definition GUIInfoLabels.h:725
#define PLAYER_PROCESS_VIDEODECODER
Definition GUIInfoLabels.h:724
#define PLAYER_PROCESS_AUDIODECODER
Definition GUIInfoLabels.h:732
#define PLAYER_PROCESS_VIDEOFPS
Definition GUIInfoLabels.h:729
#define PLAYER_PROCESS_AUDIOBITSPERSAMPLE
Definition GUIInfoLabels.h:735

◆ player_times

const infomap player_times[]
Initial value:
= {{ "seektime", PLAYER_SEEKTIME },
{ "seekoffset", PLAYER_SEEKOFFSET },
{ "seekstepsize", PLAYER_SEEKSTEPSIZE },
{ "timeremaining", PLAYER_TIME_REMAINING },
{ "timespeed", PLAYER_TIME_SPEED },
{ "time", PLAYER_TIME },
{ "duration", PLAYER_DURATION },
{ "finishtime", PLAYER_FINISH_TIME },
{ "starttime", PLAYER_START_TIME },
{ "seeknumeric", PLAYER_SEEKNUMERIC } }
#define PLAYER_DURATION
Definition GUIInfoLabels.h:38
#define PLAYER_TIME_SPEED
Definition GUIInfoLabels.h:46
#define PLAYER_SEEKSTEPSIZE
Definition GUIInfoLabels.h:64
#define PLAYER_SEEKNUMERIC
Definition GUIInfoLabels.h:69
#define PLAYER_TIME_REMAINING
Definition GUIInfoLabels.h:37
#define PLAYER_FINISH_TIME
Definition GUIInfoLabels.h:47
#define PLAYER_SEEKTIME
Definition GUIInfoLabels.h:33
#define PLAYER_START_TIME
Definition GUIInfoLabels.h:60
#define PLAYER_SEEKOFFSET
Definition GUIInfoLabels.h:55
#define PLAYER_TIME
Definition GUIInfoLabels.h:36

◆ playlist

const infomap playlist[]
Initial value:
= {{ "length", PLAYLIST_LENGTH },
{ "position", PLAYLIST_POSITION },
{ "random", PLAYLIST_RANDOM },
{ "repeat", PLAYLIST_REPEAT },
{ "israndom", PLAYLIST_ISRANDOM },
{ "isrepeat", PLAYLIST_ISREPEAT },
{ "isrepeatone", PLAYLIST_ISREPEATONE }}
#define PLAYLIST_POSITION
Definition GUIInfoLabels.h:377
#define PLAYLIST_REPEAT
Definition GUIInfoLabels.h:379
#define PLAYLIST_LENGTH
Definition GUIInfoLabels.h:376
#define PLAYLIST_RANDOM
Definition GUIInfoLabels.h:378
#define PLAYLIST_ISREPEAT
Definition GUIInfoLabels.h:381
#define PLAYLIST_ISRANDOM
Definition GUIInfoLabels.h:380
#define PLAYLIST_ISREPEATONE
Definition GUIInfoLabels.h:382

◆ pvr

const infomap pvr[]

◆ pvr_times

const infomap pvr_times[]
Initial value:
= {{ "epgeventduration", PVR_EPG_EVENT_DURATION },
{ "epgeventelapsedtime", PVR_EPG_EVENT_ELAPSED_TIME },
{ "epgeventremainingtime", PVR_EPG_EVENT_REMAINING_TIME },
{ "epgeventfinishtime", PVR_EPG_EVENT_FINISH_TIME },
{ "epgeventseektime", PVR_EPG_EVENT_SEEK_TIME },
{ "timeshiftstart", PVR_TIMESHIFT_START_TIME },
{ "timeshiftend", PVR_TIMESHIFT_END_TIME },
{ "timeshiftcur", PVR_TIMESHIFT_PLAY_TIME },
{ "timeshiftoffset", PVR_TIMESHIFT_OFFSET },
{ "timeshiftprogressduration", PVR_TIMESHIFT_PROGRESS_DURATION },
{ "timeshiftprogressstarttime", PVR_TIMESHIFT_PROGRESS_START_TIME },
{ "timeshiftprogressendtime", PVR_TIMESHIFT_PROGRESS_END_TIME }}
#define PVR_EPG_EVENT_DURATION
Definition GUIInfoLabels.h:619
#define PVR_EPG_EVENT_REMAINING_TIME
Definition GUIInfoLabels.h:657
#define PVR_TIMESHIFT_OFFSET
Definition GUIInfoLabels.h:659
#define PVR_TIMESHIFT_PROGRESS_DURATION
Definition GUIInfoLabels.h:662
#define PVR_TIMESHIFT_PROGRESS_END_TIME
Definition GUIInfoLabels.h:668
#define PVR_TIMESHIFT_PROGRESS_START_TIME
Definition GUIInfoLabels.h:667
#define PVR_EPG_EVENT_FINISH_TIME
Definition GUIInfoLabels.h:658
#define PVR_EPG_EVENT_SEEK_TIME
Definition GUIInfoLabels.h:660
#define PVR_TIMESHIFT_START_TIME
Definition GUIInfoLabels.h:636
#define PVR_EPG_EVENT_ELAPSED_TIME
Definition GUIInfoLabels.h:620
#define PVR_TIMESHIFT_END_TIME
Definition GUIInfoLabels.h:637
#define PVR_TIMESHIFT_PLAY_TIME
Definition GUIInfoLabels.h:638

◆ rds

const infomap rds[]

◆ retroplayer

const infomap retroplayer[]
Initial value:
=
{
{ "videofilter", RETROPLAYER_VIDEO_FILTER},
{ "stretchmode", RETROPLAYER_STRETCH_MODE},
{ "videorotation", RETROPLAYER_VIDEO_ROTATION},
}
#define RETROPLAYER_VIDEO_ROTATION
Definition GUIInfoLabels.h:319
#define RETROPLAYER_STRETCH_MODE
Definition GUIInfoLabels.h:318
#define RETROPLAYER_VIDEO_FILTER
Definition GUIInfoLabels.h:317

◆ skin_labels

const infomap skin_labels[]
Initial value:
= {{ "currenttheme", SKIN_THEME },
{ "currentcolourtheme",SKIN_COLOUR_THEME },
{ "aspectratio", SKIN_ASPECT_RATIO},
{ "font", SKIN_FONT}}
#define SKIN_COLOUR_THEME
Definition GUIInfoLabels.h:409
#define SKIN_ASPECT_RATIO
Definition GUIInfoLabels.h:411
#define SKIN_THEME
Definition GUIInfoLabels.h:408
#define SKIN_FONT
Definition GUIInfoLabels.h:412

◆ slideshow

const infomap slideshow[]

◆ string_bools

const infomap string_bools[]
Initial value:
= {{ "isempty", STRING_IS_EMPTY },
{ "isequal", STRING_IS_EQUAL },
{ "startswith", STRING_STARTS_WITH },
{ "endswith", STRING_ENDS_WITH },
{ "contains", STRING_CONTAINS }}
#define STRING_ENDS_WITH
Definition GUIInfoLabels.h:393
#define STRING_IS_EQUAL
Definition GUIInfoLabels.h:391
#define STRING_STARTS_WITH
Definition GUIInfoLabels.h:392
#define STRING_IS_EMPTY
Definition GUIInfoLabels.h:390
#define STRING_CONTAINS
Definition GUIInfoLabels.h:394

◆ system_labels

const infomap system_labels[]

◆ system_param

const infomap system_param[]
Initial value:
= {{ "hasalarm", SYSTEM_HAS_ALARM },
{ "hascoreid", SYSTEM_HAS_CORE_ID },
{ "setting", SYSTEM_SETTING },
{ "hasaddon", SYSTEM_HAS_ADDON },
{ "addonisenabled", SYSTEM_ADDON_IS_ENABLED },
{ "coreusage", SYSTEM_GET_CORE_USAGE }}
#define SYSTEM_GET_CORE_USAGE
Definition GUIInfoLabels.h:439
#define SYSTEM_SETTING
Definition GUIInfoLabels.h:444
#define SYSTEM_HAS_CORE_ID
Definition GUIInfoLabels.h:440
#define SYSTEM_HAS_ALARM
Definition GUIInfoLabels.h:121
#define SYSTEM_ADDON_IS_ENABLED
Definition GUIInfoLabels.h:437
#define SYSTEM_HAS_ADDON
Definition GUIInfoLabels.h:445

◆ videoplayer

const infomap videoplayer[]

◆ visualisation

const infomap visualisation[]
Initial value:
= {{ "locked", VISUALISATION_LOCKED },
{ "preset", VISUALISATION_PRESET },
{ "haspresets", VISUALISATION_HAS_PRESETS },
{ "name", VISUALISATION_NAME },
{ "enabled", VISUALISATION_ENABLED }}
#define VISUALISATION_NAME
Definition GUIInfoLabels.h:386
#define VISUALISATION_ENABLED
Definition GUIInfoLabels.h:387
#define VISUALISATION_LOCKED
Definition GUIInfoLabels.h:384
#define VISUALISATION_HAS_PRESETS
Definition GUIInfoLabels.h:388
#define VISUALISATION_PRESET
Definition GUIInfoLabels.h:385

◆ weather

const infomap weather[]
Initial value:
= {{ "isfetched", WEATHER_IS_FETCHED },
{ "conditions", WEATHER_CONDITIONS_TEXT },
{ "temperature", WEATHER_TEMPERATURE },
{ "location", WEATHER_LOCATION },
{ "fanartcode", WEATHER_FANART_CODE },
{ "plugin", WEATHER_PLUGIN },
{ "conditionsicon", WEATHER_CONDITIONS_ICON }}
#define WEATHER_PLUGIN
Definition GUIInfoLabels.h:97
#define WEATHER_CONDITIONS_TEXT
Definition GUIInfoLabels.h:92
#define WEATHER_TEMPERATURE
Definition GUIInfoLabels.h:93
#define WEATHER_LOCATION
Definition GUIInfoLabels.h:94
#define WEATHER_IS_FETCHED
Definition GUIInfoLabels.h:95
#define WEATHER_CONDITIONS_ICON
Definition GUIInfoLabels.h:98
#define WEATHER_FANART_CODE
Definition GUIInfoLabels.h:96

◆ window_bools

const infomap window_bools[]
Initial value:
= {{ "ismedia", WINDOW_IS_MEDIA },
{ "is", WINDOW_IS },
{ "isactive", WINDOW_IS_ACTIVE },
{ "isvisible", WINDOW_IS_VISIBLE },
{ "istopmost", WINDOW_IS_DIALOG_TOPMOST },
{ "isdialogtopmost", WINDOW_IS_DIALOG_TOPMOST },
{ "ismodaldialogtopmost", WINDOW_IS_MODAL_DIALOG_TOPMOST },
{ "previous", WINDOW_PREVIOUS },
{ "next", WINDOW_NEXT }}
#define WINDOW_IS
Definition GUIInfoLabels.h:749
#define WINDOW_IS_ACTIVE
Definition GUIInfoLabels.h:748
#define WINDOW_IS_MEDIA
Definition GUIInfoLabels.h:747
#define WINDOW_NEXT
Definition GUIInfoLabels.h:745
#define WINDOW_IS_VISIBLE
Definition GUIInfoLabels.h:744
#define WINDOW_PREVIOUS
Definition GUIInfoLabels.h:746
#define WINDOW_IS_MODAL_DIALOG_TOPMOST
Definition GUIInfoLabels.h:751
#define WINDOW_IS_DIALOG_TOPMOST
Definition GUIInfoLabels.h:750