2013-10-22, 09:26
I have a sample .m3u playlist I am trying to call to test out an API I wrote. When I call the playlist using Player.Open, XBMC thinks that it is pictures, and the Visualizer goes black and XBMC freezes. I have tried editing the Advancedsettings.xml to remove the .m3u extension from pictureextensions, but this did exactly nothing. I cannot discern the correct syntax for explicitly telling XBMC which playlist ID or player ID to use when loading the playlist. At this point, I am dead in the water.
Is it possible to load a .m3u playlist of music files in XBMC? If so, how?
Here is what I have tried:
I get the following back:
Thanks for any help.
I also tried removing the ".m3u" file extension, and when I did that nothing happened. I also tried adding a "playlistid":0 argument in the call, but that returned an error.
Is it possible to load a .m3u playlist of music files in XBMC? If so, how?
Here is what I have tried:
Code:
{"jsonrpc": "2.0", "method": "Player.Open", "params": {"item": {"file" : "path-to-m3ufile.m3u"}}, "id": 1}
I get the following back:
Code:
{"jsonrpc":"2.0","method":"Playlist.OnClear","params":{"data":{"playlistid":2},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"file":"path-to-m3ufile.m3u","type":"picture"},"playlistid":2,"position":0},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"file":"path-to-m3ufile.m3u","type":"picture"},"player":{"playerid":2,"speed":1}},"sender":"xbmc"}}
Thanks for any help.
I also tried removing the ".m3u" file extension, and when I did that nothing happened. I also tried adding a "playlistid":0 argument in the call, but that returned an error.