Meta Information when playing a m3u playlist
#1
Hi,

since there is the ordering bug when enqueing an m3u:
http://forum.kodi.tv/showthread.php?tid=225370
I instead start m3u playlists e.g. like this:

Code:
{"jsonrpc":"2.0","method":"Player.Open","params":{"options":{"shuffled":false,"repeat":"off"},"item":{"file":"special://profile/playlists/music/s17.m3u"}},"id":"1"}

This works, but when I start playlists like this I cannot get artist / album information, because Kodi responses look like this:
Code:
{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":1,"speed":1}},"sender":"xbmc"}}
rather than the correct format
Code:
params":{"data":{"item":{"id":19,"type":"song"}
which I get when I use
Code:
{"jsonrpc": "2.0", "method": "Playlist.Add", "params": { "item": { "directory": "special://profile/playlists/music/s17.m3u" }, "playlistid": 0 }, "id": "1"}

Is this known, desired, normal?
What to do? All I want is to play a playlist in correct order, and get information on what's playing Huh
Reply

Logout Mark Read Team Forum Stats Members Help
Meta Information when playing a m3u playlist0