(2014-09-16, 17:39)MrBlack13 Wrote: (2014-09-15, 16:15)Angelscry Wrote: If there is a command into XBMC that allow you to start and play a playlist, it would be possible to launch this command internally or externally (by using script) using Advanced Launcher.
Thanks. I found this script, but at this point, the whole thing is over my head. I really can't believe that someone wouldn't want a simple way to randomly play (one click) a specific playlist, but I guess I'm wrong because I can't find where anyone had done it.
http://forum.xbmc.org/showthread.php?tid=69797
I have found 2 ways to do it...
First Method:
Into XBMC, add your playlist to favourites. Then, into
Advanced Launcher create a favourite
launcher of this playlist. Next, into the favourite
launcher context menu ("C" key), go into Edit
Launcher >
Advanced Modifications > Modify Arguments and edit the value from this :
Code:
ActivateWindow(10502,"special://profile/playlists/music/Test.m3u",return)
to this :
Code:
PlayMedia("special://profile/playlists/music/Test.m3u",return)
Second Method:
Into XBMC, add your playlist to favourites. Then on your system, edit your
xbmc/userdata/favourites.xml file and replace the line corresponding to your playlist from this :
Code:
<favourite name="Test.m3u">ActivateWindow(10502,"special://profile/playlists/music/Test.m3u",return)</favourite>
to this :
Code:
<favourite name="Test.m3u">PlayMedia("special://profile/playlists/music/Test.m3u",return)</favourite>
Then you can create a favourite
launcher into
Advanced Launcher and do what you want with it.