Kodi Community Forum
How to change the default behavior of opening playlist instead of playing it? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: reFocus (https://forum.kodi.tv/forumdisplay.php?fid=72)
+----- Thread: How to change the default behavior of opening playlist instead of playing it? (/showthread.php?tid=93281)



How to change the default behavior of opening playlist instead of playing it? - steppedup - 2011-02-05

Hi - I've googled this, looked at the wiki, site:googled this website with no luck.

I've added a couple of Playlists to the submenu of Videos. When I click on them, they're opening up instead of just playing.

Anyone know what I need to modify to enable them to just play on click?

Thank you either way!


- steppedup - 2011-02-06

Figured it out - documenting in case anyone else runs into this....

In %username%/Appdata/roaming/xbmc/addons/skin.refocus/720p/HomeSubMenu.xml

Find:
<item id="7"> <label>$INFO[Skin.String(homemenuPlaylist1_Label)]</label>

And change the next line from:
<onclick>ActivateWindow(myvideolibrary,$INFO[Skin.String(homemenuPlaylist1_Path)])</onclick>

To: <onclick>XBMC.PlayMedia($INFO[Skin.String(homemenuPlaylist1_Path)])</onclick>