Favourites.xml

From Official Kodi Wiki
Revision as of 10:01, 17 March 2013 by Ned Scott (talk | contribs) (Created page with "== Favourites via xml== Creating and/or editing favourites.xml in the userdata folder '''Example 1''' Here is how simple favourites.xml file would like for the method outlin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Favourites via xml

Creating and/or editing favourites.xml in the userdata folder

Example 1 Here is how simple favourites.xml file would like for the method outline above if you were to create it manually.

<favourites>
    <favourite name="Water Wars II: Privatization" thumb="http://static.ddmcdn.com/gif/videos/120x90/52447.jpg">PlayMedia("plugin://plugin.video.howstuffworks_com/?url=52447&mode=playVideo")</favourite>
</favourites>

Example 2

Here is how simple favourites.xml file looks like with SVN Repo Installed plugin entry (you need to have installed SVN Repo Installed and TED Video plugin previously installed):

<favourites>
    <favourite name="TED Talks" thumb="special://masterprofile/Thumbnails/Programs/d3b7311b.tbn">ActivateWindow(10024,plugin://video/TED Talks/)</favourite>
    <favourite name="SVN Repo Installer" thumb="special://home/plugins/programs/SVN Repo Installer/default.tbn">ActivateWindow(10001,plugin://programs/SVN Repo Installer/)</favourite> 
</favourites>

Renaming a favourite via source.xml

You can when adding the Source Name it as you wish the filename to appear, however if your not happy with the name provided by default rename it to wahtever you wish.

<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>