Opening Windows and Dialogs: Difference between revisions
Jump to navigation
Jump to search
>Martijn |
>Martijn |
||
Line 138: | Line 138: | ||
* [[Skinning]] | * [[Skinning]] | ||
[[Category: | [[Category:Python Tutorial]] | ||
[[Category:Python]] | [[Category:Python]] | ||
[[Category:Addon Development]] | [[Category:Addon Development]] | ||
[[Category:Development]] | [[Category:Development]] | ||
[[Category:Skin Development]] | [[Category:Skin Development]] | ||
Revision as of 21:38, 26 January 2013
You can use the ActivateWindow() Built In Function to open a certain Window.
This command can be assigned to a button in a skin or mapped to a key in your Keymap.
Example:
- This will take you directly to the settings section of xbmc:
ActivateWindow(Settings)
Some windows even allow you to jump directly to a sub-section of that window.
Example:
- If you want a button in your skin or on your remote to take you directly to the movie listing, you let that button do:
ActivateWindow(Videos,MovieTitles)
Below is a list of the available sub-sections in the Video- and MusicLibrary.
VideoLibrary:
VideoLibrary | videodb:// | |
Movies | videodb://1/ | |
MovieGenres | videodb://1/1/ | |
MovieTitles | videodb://1/2/ | |
MovieYears | videodb://1/3/ | |
MovieActors | videodb://1/4/ | |
MovieDirectors | videodb://1/5/ | |
MovieStudios | videodb://1/6/ | |
MovieSets | videodb://1/7/ | |
MovieCountries | videodb://1/8/ | |
MovieTags | videodb://1/9/ | Future frodo feature |
RecentlyAddedMovies | videodb://4/ | |
TvShows | videodb://2/ | |
TvShowGenres | videodb://2/1/ | |
TvShowTitles | videodb://2/2/ | |
TvShowYears | videodb://2/3/ | |
TvShowActors | videodb://2/4/ | |
TvShowStudios | videodb://2/5/ | |
RecentlyAddedEpisodes | videodb://5/ | |
MusicVideos | videodb://3/ | |
MusicVideoGenres | videodb://3/1/ | |
MusicVideoTitles | videodb://3/2/ | |
MusicVideoYears | videodb://3/3/ | |
MusicVideoArtists | videodb://3/4/ | |
MusicVideoAlbums | videodb://3/5/ | |
MusicVideoDirectors | videodb://3/6/ | |
MusicVideoStudios | videodb://3/7/ | |
RecentlyAddedMusicVideos | videodb://6/ | |
Playlists | special://videoplaylists/ | |
Video Add-ons | addons://sources/video/ |
MusicLibrary
MusicLibrary | musicdb:// |
Genres | musicdb://1/ |
Artists | musicdb://2/ |
Albums | musicdb://3/ |
Songs | musicdb://4/ |
Top100 | musicdb://5/ |
Top100Songs | musicdb://5/1/ |
Top100Albums | musicdb://5/2/ |
RecentlyAddedAlbums | musicdb://6/ |
RecentlyPlayedAlbums | musicdb://7/ |
Compilations | musicdb://8/ |
Years | musicdb://9/ |
Singles | musicdb://10/ |
Playlists | special://musicplaylists/ |
Music Add-ons | addons://sources/audio/ |
lastfm:// |
See also
Development: