JSON API Bug - Audio Playback (single cue + FLAC)
#1
Hi, since Kodi 15.2, the JSON API call that reports which song is being played back (when playing back music) is broken when playing back songs from the Music Library that come from a Cuesheet (single file FLAC file).

Every time Kodi is queried like this:

{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast","playcount"]}}

the first song is given as the response, regardless of which song in the album is being played.

On the other hand, if JSON RPC is used to query the Now Playing Queue, all songs are reported and it can be seen that Kodi knows which song is actually playing back.

Also in Kodi's GUI there is no problem - kodi dipslays the currently playing song properly.


This used to work fine in Kodi <= 15.1 but got broken since then. Still broken in Kodi 16.

Bug opened in TRAC: http://trac.kodi.tv/ticket/16615
(logs included there)


This is affecting a bunch of Apps such as Yatse, Chorus2, Music Pump etc.
Reply

Logout Mark Read Team Forum Stats Members Help
JSON API Bug - Audio Playback (single cue + FLAC)0