Meta Information when playing a m3u playlist

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
geroyche Offline
Junior Member
Posts: 1
Joined: Feb 2017
Reputation: 0
Post: #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
(This post was last modified: 2017-02-21 14:18 by geroyche.)
find quote