Favourites.xml: Difference between revisions
Jump to navigation
Jump to search
(Updated for v18) |
m (syntaxhighlighter fix) |
||
Line 11: | Line 11: | ||
'''Example: ''' | '''Example: ''' | ||
The format of the favourites.xml is as follows. The example shows Playlist, TV Show, TV Episode, Artist, Album and Add-on. | The format of the favourites.xml is as follows. The example shows Playlist, TV Show, TV Episode, Artist, Album and Add-on. | ||
<syntaxhighlight lang= | <syntaxhighlight lang=xml enclose="div"> | ||
<favourites> | <favourites> | ||
<favourite name="Marvel Universe">ActivateWindow(10025,"special://profile/playlists/video/Marvel Universe.xsp",return)</favourite> | <favourite name="Marvel Universe">ActivateWindow(10025,"special://profile/playlists/video/Marvel Universe.xsp",return)</favourite> | ||
Line 28: | Line 28: | ||
Change the name of any item by amending the ''<fabourite name="">'' section. | Change the name of any item by amending the ''<fabourite name="">'' section. | ||
<syntaxhighlight lang= | <syntaxhighlight lang=xml enclose="div"> | ||
<favourites> | <favourites> | ||
<favourite name="Enter Desired name here" thumb="http://static.ddmcdn.com/gif/videos/120x90/52447.jpg">PlayMedia("plugin://plugin.video.howstuffworks_com/?url=52447&mode=playVideo")</favourite> | <favourite name="Enter Desired name here" thumb="http://static.ddmcdn.com/gif/videos/120x90/52447.jpg">PlayMedia("plugin://plugin.video.howstuffworks_com/?url=52447&mode=playVideo")</favourite> |
Revision as of 12:33, 10 July 2018
Userdata Favourites |
Favourites.xml |
Developer documentation detailing the structure and modification of the favourites.xml file. For the User Guide about the favourites feature see Favourites.
Favourites via xml
The display order seen in the Favourites screen is determined by the order of the entries in the xml file. Adjust the order of the favourites in the file to modify the displayed order in Kodi.
The favourites.xml is located in the Userdata folder.
Example:
The format of the favourites.xml is as follows. The example shows Playlist, TV Show, TV Episode, Artist, Album and Add-on.
<favourites> <favourite name="Marvel Universe">ActivateWindow(10025,"special://profile/playlists/video/Marvel Universe.xsp",return)</favourite> <favourite name="Continuum" thumb="E:\TV Show- TEST\Continuum\thumb.jpg">ActivateWindow(10025,"E:\\TV Show- TEST\\Continuum\\",return)</favourite> <favourite name="1x02. Fast Times" thumb="E:\TV Show- TEST\Continuum\Continuum S01E02-thumb.jpg">PlayMedia("E:\\TV Show- TEST\\Continuum\\Continuum S01E02.mkv")</favourite> <favourite name="Era" thumb="F:\Music\ArtistInfoKodi\Era\folder.jpg">ActivateWindow(10502,"musicdb://artists/113/?albumartistsonly=false",return)</favourite> <favourite name="NextPVR PVR Client" thumb="F:\Kodi v18- Nightly\addons\pvr.nextpvr\icon.png">RunAddon(pvr.nextpvr)</favourite> <favourite name="TV Show- TEST">ActivateWindow(10025,"E:\\TV Show- TEST\\",return)</favourite> <favourite name="Artist Albums">ActivateWindow(10502,"F:\\Music\\FLAC\\Artist Albums\\",return)</favourite> </favourites>
Renaming a favourite via xml
Change the name of any item by amending the <fabourite name=""> section.
<favourites> <favourite name="Enter Desired name here" thumb="http://static.ddmcdn.com/gif/videos/120x90/52447.jpg">PlayMedia("plugin://plugin.video.howstuffworks_com/?url=52447&mode=playVideo")</favourite> </favourites>
Return to top |
---|