Linux HOW TO: Minimal Ubuntu 16.04 with Kodi, Steam & EmulationStation
#44
(2016-07-19, 12:41)solbero Wrote: [...]

7.5. Edit favorites.xml

There is a bug in Advanced Launcher/Kodi that launches a favorite with Kodi’s PlayMedia function instead of the RunProgram function. To fix this you need to edit the favorites.xml manually.

Open the favorites.xml (make sure you are USER):
Code:
nano ~/.kodi/userdata/favorites.xml

Replace PlayMedia with RunProgram for the favorites Steam and Emulation.

If your favorites.xml doesn’t contain any other favorites, it is possible to replace PlayMedia with RunProgram automatically with the sed command.
Code:
sed -i -e 's/PlayMedia/RunProgram/g' ~/.kodi/userdata/favorites.xml

[...]

First let me say thank you for your guide... saved me the trouble of trying different routes until finding the shortest/leanest path to this setup Wink

Second, there's an error (or should I say two errors) in this section: it's "RunPlugin", not "RunProgram", as you may confirm in the link to the bug; and it's "favourites.xml", not "favorites.xml" (at least in Jarvis it is - maybe previous versions used the alternative spelling?) Wink
Reply


Messages In This Thread
RE: HOW TO: Minimal Ubuntu 16.04 with Kodi, Steam & EmulationStation - by Rokys - 2016-11-30, 04:01
Logout Mark Read Team Forum Stats Members Help
HOW TO: Minimal Ubuntu 16.04 with Kodi, Steam & EmulationStation4