AudioLibrary.GetAlbums producing wrong results
#1
I'm trying to get all of the albums for an artist. This is what my call looks like:
Code:
{"params": {"filter": {"artistid": 137}, "properties": ["title", "artistid"]}, "jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "id": "libAlbums"}
This should be dumping me a list of albums by The xx, but here is what the results are:
Code:
{
  "id": "libAlbums",
  "jsonrpc": "2.0",
  "result": {
    "albums": [
      {
        "albumid": 1,
        "artistid": [
          147
        ],
        "label": "It's Blitz!",
        "title": "It's Blitz!"
      },
      {
        "albumid": 87,
        "artistid": [
          137
        ],
        "label": "Coexist",
        "title": "Coexist"
      }
    ],
    "limits": {
      "end": 2,
      "start": 0,
      "total": 2
    }
  }
}
It's skipping their first album and instead giving me an album by the Yeah, Yeah, Yeahs. It does this on everyone in my library that has more than one album. Is there something I'm doing wrong?
Reply
#2
You need to give way more details about Kodi like precise version and it's logs Wink
Reply
#3
Is there specific logs for JSON-RPC? I don't see anything at all in the regular log file.

I'm running Kodi 15.2 on Windows 10.
Reply
#4
Perhaps you need to use albumartistid?

I use artistID and I often get albums by "VA/Various Aritists" listed. Are you sure you don't just see this on albums where artist XX made a single song or so on an album by YY (or VA more often)..
Reply

Logout Mark Read Team Forum Stats Members Help
AudioLibrary.GetAlbums producing wrong results0