Playlist (.m3u) at startup does not work

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Playlist (.m3u) at startup does not work

Post by byron »

Using an actual .m3u at startup does not work...was wondering if anyone out there using confluence lite has this working? I've tried a .m3u from smb, local, scanned into library etc...m3u won't play at startup and here's why (tried on CL as well):

http://pastebin.com/hgdD0ea1

However, choosing a song from skin settings instead of a playlist will work (obviously it must be local, and my code is essentially the same as confluence lite)...

http://pastebin.com/Nz5gLsi6

Am I missing a step or setting my playlist up wrong? I feel it's a problem with the program but could be wrong...if it's an x4x issue I'll make a bug report. I'm pretty sure my code is good, but will share if it's necessary...
User avatar
Colani1200
Posts: 15
Joined: Wed Sep 03, 2014 9:15 am
Has thanked: 2 times

Re: Playlist (.m3u) at startup does not work

Post by Colani1200 »

I have the same problem.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Playlist (.m3u) at startup does not work

Post by Dan Dar3 »

PlayMedia(PlayMedia(...)) in there is not right.

Code: Select all

23:01:49 M: 44081152   DEBUG: CApplication::ExecuteXBMCAction : Translating PlayMedia(PlayMedia($INFO[Skin.String(Home_Startup_Audio_UD)]))
23:01:49 M: 44081152   DEBUG: CApplication::ExecuteXBMCAction : To PlayMedia(PlayMedia(special://profile/playlists/music/Bon Iver.m3u))
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Playlist (.m3u) at startup does not work

Post by byron »

Hmm, I believe I borrowed code from CL and cross referenced it from kodi at the time of the original post...what would be the proper function for calling the playlist then?
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Playlist (.m3u) at startup does not work

Post by Dan Dar3 »

PlayMedia() is fine to use, calling it twice is not - as in PlayMedia(PlayMedia(...)) as the log shows.
http://www.xbmc4xbox.org.uk/wiki/List_o ... _Functions
User avatar
Colani1200
Posts: 15
Joined: Wed Sep 03, 2014 9:15 am
Has thanked: 2 times

Re: Playlist (.m3u) at startup does not work

Post by Colani1200 »

I have the problem with the PM III skin. In fact, the playlist gets loaded fine (I can see the entries e.g. in the playlist tab of the xbmc4xbox remote app), but actual playback doesn't start. Is this working as intended?
Post Reply