[bug] Wrong response

Not sure if that’s a bug in Kodi or in code using JSON but here’re two responses querying details on the same file:

First one is Kodi response when playback started on Kodi itself:

[{“id”:2,”jsonrpc”:”2.0″,”result”:{“audiostreams”:[{“bitrate”:2038472,”channels”:8,”codec”:”dtshd_ma”,”index”:0,”language”:”eng”,”name”:”DTS-MA – DTS-HD MA 5.1″}],”canseek”:true,”currentaudiostream”:{“bitrate”:2038472,”channels”:8,”codec”:”dtshd_ma”,”index”:0,”language”:”eng”,”name”:”DTS-MA – DTS-HD MA 5.1″},”currentsubtitle”:{“index”:0,”language”:”eng”,”name”:”SRT”},”partymode”:false,”playlistid”:1,”position”:0,”repeat”:”off”,”shuffled”:false,”speed”:1,”subtitleenabled”:true,”subtitles”:[{“index”:0,”language”:”eng”,”name”:”SRT”}],”time”:{“hours”:0,”milliseconds”:594,”minutes”:0,”seconds”:2},”totaltime”:{“hours”:0,”milliseconds”:280,”minutes”:21,”seconds”:17},”type”:”video”}},{“id”:3,”jsonrpc”:”2.0″,”result”:{“item”:{“album”:””,”art”:{“season.banner”:”image://http%3A%2F%2Fthetvdb.com%2Fbanners%2Fseasonswide%2F80379-2-2.jpg/”,”season.poster”:”image://http%3A%2F%2Fthetvdb.com%2Fbanners%2Fseasons%2F80379-2-9.jpg/”,”thumb”:”image://http%3A%2F%2Fthetvdb.com%2Fbanners%2Fepisodes%2F80379%2F391204.jpg/”,”tvshow.banner”:”image://http%3A%2F%2Fthetvdb.com%2Fbanners%2Fgraphical%2F80379-g23.jpg/”,”tvshow.fanart”:”image://http%3A%2F%2Fthetvdb.com%2Fbanners%2Ffanart%2Foriginal%2F80379-2.jpg/”,”tvshow.poster”:”image://http%3A%2F%2Fthetvdb.com%2Fbanners%2Fposters%2F80379-39.jpg/”},”artist”:[],”cast”:[],”director”:[],”episode”:-1,”file”:”smb://xxx.xxx.xxx/Library_5/TV/The Big Bang Theory/Season 02/The Big Bang Theory S02E03.mkv”,”genre”:[],”imdbnumber”:””,”label”:”03. The Barbarian Sublimation”,”originaltitle”:””,”playcount”:1,”plot”:””,”rating”:0,”runtime”:1277,”season”:-1,”showtitle”:””,”streamdetails”:{“audio”:[{“channels”:6,”codec”:”dtshd_ma”,”language”:”eng”}],”subtitle”:[{“language”:”eng”}],”video”:[{“aspect”:1.7777800559997559,”codec”:”h264″,”duration”:1277,”height”:1080,”language”:”eng”,”stereomode”:””,”width”:1920}]},”studio”:[],”tagline”:””,”title”:””,”track”:-1,”type”:”unknown”,”writer”:[],”year”:1601}}},{“id”:4,”jsonrpc”:”2.0″,”result”:{“MusicPlayer.BitRate”:””,”MusicPlayer.Codec”:””,”MusicPlayer.SampleRate”:””}}]

The second one is the same file but playback initialized from the remote:

[{“id”:2,”jsonrpc”:”2.0″,”result”:{“audiostreams”:[{“bitrate”:0,”channels”:8,”codec”:”dtshd_ma”,”index”:0,”language”:”eng”,”name”:”DTS-MA – DTS-HD MA 5.1″}],”canseek”:true,”currentaudiostream”:{“bitrate”:0,”channels”:8,”codec”:”dtshd_ma”,”index”:0,”language”:”eng”,”name”:”DTS-MA – DTS-HD MA 5.1″},”currentsubtitle”:{“index”:0,”language”:”eng”,”name”:”SRT”},”partymode”:false,”playlistid”:1,”position”:-1,”repeat”:”off”,”shuffled”:false,”speed”:1,”subtitleenabled”:true,”subtitles”:[{“index”:0,”language”:”eng”,”name”:”SRT”}],”time”:{“hours”:0,”milliseconds”:829,”minutes”:0,”seconds”:0},”totaltime”:{“hours”:0,”milliseconds”:280,”minutes”:21,”seconds”:17},”type”:”video”}},{“id”:3,”jsonrpc”:”2.0″,”result”:{“item”:{“album”:””,”art”:{},”artist”:[],”cast”:[],”director”:[],”episode”:-1,”file”:”smb://xxx.xxx.xxx/Library_5/TV/The Big Bang Theory/Season 02/The Big Bang Theory S02E03.mkv”,”genre”:[],”imdbnumber”:””,”label”:”The Barbarian Sublimation”,”originaltitle”:””,”playcount”:1,”plot”:””,”rating”:0,”runtime”:1277,”season”:-1,”showtitle”:””,”streamdetails”:{“audio”:[{“channels”:6,”codec”:”dtshd_ma”,”language”:”eng”}],”subtitle”:[{“language”:”eng”}],”video”:[{“aspect”:1.7777800559997559,”codec”:”h264″,”duration”:1277,”height”:1080,”language”:”eng”,”stereomode”:””,”width”:1920}]},”studio”:[],”tagline”:””,”title”:””,”track”:-1,”type”:”unknown”,”writer”:[],”year”:1601}}},{“id”:4,”jsonrpc”:”2.0″,”result”:{“MusicPlayer.BitRate”:””,”MusicPlayer.Codec”:””,”MusicPlayer.SampleRate”:””}}]

Notice all the art links are missing.