Window IDs

From Official Kodi Wiki
Jump to: navigation, search
Home icon grey.png   ▶ Development ▶ Add-on development ▶ Window IDs

This table cross-references Window names, Window definitions, Window ID, and the delta Window ID's (this is the delta from the home window.) The code that performs the cross-reference is found in https://github.com/xbmc/xbmc/blob/master/xbmc/input/ButtonTranslator.cpp and https://github.com/xbmc/xbmc/blob/master/xbmc/guilib/WindowIDs.h.

  • keymap.xml uses the Window name.
  • Kodi's C++ code uses the Window definitions and Window ID's.
  • ActivateWindow() should use the Window name.
  • sounds.xml should use the window name

You can use secondary parameters with all media windows, as can be seen here:


Name Definition Window ID Delta window ID source XML file
home WINDOW_HOME 10000 0 Home.xml
programs WINDOW_PROGRAMS 10001 1 MyPrograms.xml
pictures WINDOW_PICTURES 10002 2 MyPics.xml
filemanager WINDOW_FILES 10003 3 FileManager.xml
settings WINDOW_SETTINGS_MENU 10004 4 Settings.xml
systeminfo WINDOW_SYSTEM_INFORMATION 10007 7 SettingsSystemInfo.xml
testpattern WINDOW_TEST_PATTERN 10008 8 none
screencalibration WINDOW_MOVIE_CALIBRATION 10011 11 SettingsScreenCalibration.xml
systemsettings WINDOW_SETTINGS_SYSTEM 10016 16 SettingsCategory.xml
servicesettings WINDOW_SETTINGS_SERVICE 10018 18 SettingsCategory.xml
pvrsettings WINDOW_SETTINGS_MYPVR 10021 21 SettingsCategory.xml
videos WINDOW_VIDEO_NAV 10025 25 MyVideoNav.xml
videoplaylist WINDOW_VIDEO_PLAYLIST 10028 28 MyPlaylist.xml
loginscreen WINDOW_LOGINSCREEN 10029 29 LoginScreen.xml
playersettings WINDOW_SETTINGS_PLAYER 10030 30 SettingsCategory.xml
mediasettings WINDOW_SETTINGS_MEDIA 10031 31 SettingsCategory.xml
interfacesettings WINDOW_SETTINGS_INTERFACE 10032 32 SettingsCategory.xml
profiles WINDOW_SETTINGS_PROFILES 10034 34 SettingsProfile.xml
skinsettings WINDOW_SKIN_SETTINGS 10035 35 SkinSettings.xml
addonbrowser WINDOW_ADDON_BROWSER 10040 40 AddonBrowser.xml
eventlog WINDOW_EVENT_LOG 10050 50 EventLog.xml
pointer WINDOW_DIALOG_POINTER 10099 99 Pointer.xml
yesnodialog WINDOW_DIALOG_YES_NO 10100 100 DialogConfirm.xml
progressdialog WINDOW_DIALOG_PROGRESS 10101 101 DialogConfirm.xml
virtualkeyboard WINDOW_DIALOG_KEYBOARD 10103 103 DialogKeyboard.xml
volumebar WINDOW_DIALOG_VOLUME_BAR 10104 104 DialogVolumeBar.xml
contextmenu WINDOW_DIALOG_CONTEXT_MENU 10106 106 DialogContextMenu.xml
notification WINDOW_DIALOG_KAI_TOAST 10107 107 DialogNotification.xml
numericinput WINDOW_DIALOG_NUMERIC 10109 109 DialogNumeric.xml
gamepadinput WINDOW_DIALOG_GAMEPAD 10110 110 DialogSelect.xml
shutdownmenu WINDOW_DIALOG_BUTTON_MENU 10111 111 DialogButtonMenu.xml
playercontrols WINDOW_DIALOG_PLAYER_CONTROLS 10114 114 PlayerControls.xml
seekbar WINDOW_DIALOG_SEEK_BAR 10115 115 DialogSeekBar.xml
playerprocessinfo WINDOW_DIALOG_PLAYER_PROCESS_INFO 10116 116 DialogPlayerProcessInfo.xml
musicosd WINDOW_DIALOG_MUSIC_OSD 10120 120 MusicOSD.xml
visualisationpresetlist WINDOW_DIALOG_VIS_PRESET_LIST 10122 122 DialogSelect.xml
osdvideosettings WINDOW_DIALOG_VIDEO_OSD_SETTINGS 10123 123 DialogSettings.xml
osdaudiosettings WINDOW_DIALOG_AUDIO_OSD_SETTINGS 10124 124 DialogSettings.xml
videobookmarks WINDOW_DIALOG_VIDEO_BOOKMARKS 10125 125 VideoOSDBookmarks.xml
filebrowser WINDOW_DIALOG_FILE_BROWSER 10126 126 FileBrowser.xml
networksetup WINDOW_DIALOG_NETWORK_SETUP 10128 128 DialogSettings.xml
mediasource WINDOW_DIALOG_MEDIA_SOURCE 10129 129 DialogMediaSource.xml
profilesettings WINDOW_DIALOG_PROFILE_SETTINGS 10130 130 DialogSettings.xml
locksettings WINDOW_DIALOG_LOCK_SETTINGS 10131 131 DialogSettings.xml
contentsettings WINDOW_DIALOG_CONTENT_SETTINGS 10132 132 DialogSettings.xml
favourites WINDOW_DIALOG_FAVOURITES 10134 134 DialogFavourites.xml
songinformation WINDOW_DIALOG_SONG_INFO 10135 135 DialogMusicInfo.xml
smartplaylisteditor WINDOW_DIALOG_SMART_PLAYLIST_EDITOR 10136 136 SmartPlaylistEditor.xml
smartplaylistrule WINDOW_DIALOG_SMART_PLAYLIST_RULE 10137 137 SmartPlaylistRule.xml
busydialog WINDOW_DIALOG_BUSY 10138 138 DialogBusy.xml
pictureinfo WINDOW_DIALOG_PICTURE_INFO 10139 139 DialogPictureInfo.xml
addonsettings WINDOW_DIALOG_ADDON_SETTINGS 10140 140 DialogAddonSettings.xml
accesspoints WINDOW_DIALOG_ACCESS_POINTS 10141 141 DialogAccessPoints.xml
fullscreeninfo WINDOW_DIALOG_FULLSCREEN_INFO 10142 142 DialogFullScreenInfo.xml
sliderdialog WINDOW_DIALOG_SLIDER 10145 145 DialogSlider.xml
addoninformation WINDOW_DIALOG_ADDON_INFO 10146 146 DialogAddonInfo.xml
textviewer WINDOW_DIALOG_TEXT_VIEWER 10147 147 DialogTextViewer.xml
peripherals WINDOW_DIALOG_PERIPHERAL_MANAGER 10149 149 DialogSelect.xml
peripheralsettings WINDOW_DIALOG_PERIPHERAL_SETTINGS 10150 150 DialogSettings.xml
extendedprogressdialog WINDOW_DIALOG_EXT_PROGRESS 10151 151 DialogExtendedProgressBar.xml
mediafilter WINDOW_DIALOG_MEDIA_FILTER 10152 152 DialogSettings.xml
subtitlesearch WINDOW_DIALOG_SUBTITLES 10153 153 DialogSubtitles.xml
audiodspmanager WINDOW_DIALOG_AUDIO_DSP_MANAGER 10154 154 DialogAudioDSPManager.xml
osdaudiodspsettings WINDOW_DIALOG_AUDIO_DSP_OSD_SETTINGS 10155 155 DialogSettings.xml
osdcmssettings WINDOW_DIALOG_CMS_OSD_SETTINGS 10157 157 DialogSettings.xml
musicplaylist WINDOW_MUSIC_PLAYLIST 10500 500 MyPlaylist.xml
music WINDOW_MUSIC_NAV 10502 502 MyMusicNav.xml
musicplaylisteditor WINDOW_MUSIC_PLAYLIST_EDITOR 10503 503 MyMusicPlaylistEditor.xml
pvrguideinfo WINDOW_DIALOG_PVR_GUIDE_INFO 10600 600 DialogPVRInfo.xml
pvrrecordinginfo WINDOW_DIALOG_PVR_RECORDING_INFO 10601 601 DialogPVRInfo.xml
pvrtimersetting WINDOW_DIALOG_PVR_TIMER_SETTING 10602 602 DialogSettings.xml
pvrgroupmanager WINDOW_DIALOG_PVR_GROUP_MANAGER 10603 603 DialogPVRGroupManager.xml
pvrchannelmanager WINDOW_DIALOG_PVR_CHANNEL_MANAGER 10604 604 DialogPVRChannelManager.xml
pvrguidesearch WINDOW_DIALOG_PVR_GUIDE_SEARCH 10605 605 DialogPVRGuideSearch.xml
pvrchannelscan WINDOW_DIALOG_PVR_CHANNEL_SCAN 10606 606 none (unused)
pvrupdateprogress WINDOW_DIALOG_PVR_UPDATE_PROGRESS 10607 607 none (unused)
pvrosdchannels WINDOW_DIALOG_PVR_OSD_CHANNELS 10608 608 DialogPVRChannelsOSD.xml
pvrosdguide WINDOW_DIALOG_PVR_OSD_GUIDE 10609 609 DialogPVRGuideOSD.xml
pvrradiordsinfo WINDOW_DIALOG_PVR_RADIO_RDS_INFO 10610 610 DialogPVRRadioRDSInfo.xml
tvchannels WINDOW_TV_CHANNELS 10700 700 MyPVRChannels.xml
tvrecordings WINDOW_TV_RECORDINGS 10701 701 MyPVRRecordings.xml
tvguide WINDOW_TV_GUIDE 10702 702 MyPVRGuide.xml
tvtimers WINDOW_TV_TIMERS 10703 703 MyPVRTimers.xml
tvsearch WINDOW_TV_SEARCH 10704 704 MyPVRSearch.xml
radiochannels WINDOW_RADIO_CHANNELS 10705 705 MyPVRChannels.xml
radiorecordings WINDOW_RADIO_RECORDINGS 10706 706 MyPVRRecordings.xml
radioguide WINDOW_RADIO_GUIDE 10707 707 MyPVRGuide.xml
radiotimers WINDOW_RADIO_TIMERS 10708 708 MyPVRTimers.xml
radiosearch WINDOW_RADIO_SEARCH 10709 709 MyPVRSearch.xml
tvtimerrules WINDOW_TV_TIMER_RULES 10710 710 MyPVRTimers.xml
radiotimerrules WINDOW_RADIO_TIMER_RULES 10711 711 MyPVRTimers.xml
FullscreenLiveTV WINDOW_FULLSCREEN_LIVETV 10800 800 None (shortcut to fullscreenvideo)
fullscreenradio WINDOW_FULLSCREEN_RADIO 10801 801 None (shortcut to visualisation)
gamecontrollers WINDOW_DIALOG_GAME_CONTROLLERS 10820 820 DialogGameControllers.xml
Custom Skin Windows - - 1100–1199 custom*.xml
selectdialog WINDOW_DIALOG_SELECT 12000 2000 DialogSelect.xml
musicinformation WINDOW_DIALOG_MUSIC_INFO 12001 2001 DialogMusicInfo.xml
okdialog WINDOW_DIALOG_OK 12002 2002 DialogConfirm.xml
movieinformation WINDOW_DIALOG_VIDEO_INFO 12003 2003 DialogVideoInfo.xml
fullscreenvideo WINDOW_FULLSCREEN_VIDEO 12005 2005 VideoFullScreen.xml
visualisation WINDOW_VISUALISATION 12006 2006 MusicVisualisation.xml
slideshow WINDOW_SLIDESHOW 12007 2007 SlideShow.xml
weather WINDOW_WEATHER 12600 2600 MyWeather.xml
screensaver WINDOW_SCREENSAVER 12900 2900 none
videoosd WINDOW_OSD 12901 2901 VideoOSD.xml
videomenu WINDOW_MEDIA_MENU 12902 2902 none
startwindow WINDOW_START 12998 2998 shortcut to the current startwindow
startup WINDOW_STARTUP_ANIM 12999 2999 Startup.xml
In addition, there are the following "special" windows whose id is not really a concern (and you'll notice isn't unique)
(Python Windows) - - 3000–3099 none
addon - - 4000–4099 none

1 Removed window IDs

  • programssettings - Removed in ?
  • scripts - Removed in v10 Dharma
  • networksettings - Removed in v12 Frodo
  • musicscan - Removed in v12 Frodo
  • videoscan - Removed in v12 Frodo
  • videofiles - Removed in v13 Gotham
  • pvr - Replaced in v14 Helix with more specific PVR windows
  • karaoke - Removed in v16 Jarvis
  • musicoverlay - Removed in v16 Jarvis
  • videooverlay - Removed in v16 Jarvis
  • musicfiles - Removed in v16 Jarvis
  • infodialog - Removed in v17 Jarvis
  • video - Removed in v17 Krypton
  • videolibrary - Removed in v17 Krypton
  • musiclibrary - Removed in v17 Krypton
  • mutebug - Removed in v17 Krypton
  • videossettings - Removed in v17 Krypton
  • musicsettings - Removed in v17 Krypton
  • appearancesettings - Removed in v17 Krypton
  • picturessettings - Removed in v17 Krypton
  • weathersettings - Removed in v17 Krypton


2 See also


Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox