Kodi v18 Leia: AudioLibrary.GetArtists returns only artists with image
#1
Hi all,
in Kodi v18 Leia, AudioLibrary.GetArtists returns only artists that have an artist image and info attached. See also this post: https://forum.kodi.tv/showthread.php?tid=335007
I tried the latest nighly, it has the same problems.
Best regards,
Markus
Kodi Music Remote for iOS, the remote control for music lovers - http://kodimusicremote.com
Reply
#2
Sorry Markus, but I am unable to reproduce that. Can you provide the exact JSON call syntax you are using that demonstrates the issue.

I don't have any Apple devices to test using your remote, but Chorus2 behaves as expected for me too. This makes me wonder about a db corruption of some kind. A debug log would be interesting.
Reply
#3
Hi Dave,
no problem. The request is:

{"jsonrpc":"2.0","method":"AudioLibrary.GetArtists","id":5079,"params":{"properties":["thumbnail"],"sort":{"order":"ascending","method":"label"}}}

Because of your guess with the corrupted db, I renamed the Kodi folder and started from scratch. Same problem. BTW: I'm using MacOS as the server.

Server Version: 18.0 beta, rev '20181023-c77874c5bf'

Thanks for looking into this,
Markus
Kodi Music Remote for iOS, the remote control for music lovers - http://kodimusicremote.com
Reply
#4
Ah reproduced, thanks. There is an issue in v18 when requesting only one of the "fanart" or "thumbnail" param (not both)  that only returns artists that has that type of art. I will fix and post here once thre PR is raised. Meanwhile requesting both "fanart" and "thumbnail" does not have this issue, or using "art" will get fanart, thumb and any other art and does not have this problem.
Reply
#5
Fixing PR is https://github.com/xbmc/xbmc/pull/14710
Reply
#6
Perfect, thanks again!
Kodi Music Remote for iOS, the remote control for music lovers - http://kodimusicremote.com
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi v18 Leia: AudioLibrary.GetArtists returns only artists with image0