AudioLibrary.GetAlbums issue
#1
Apologies if I'm being stupid, but I cannot fathom this.

I am controlling XBMC off an AMX system via the JSON interface and all seems good.

My one issue is that I am attempting to grab the album_description of one specified album (NOT one that is in the playlist, just one in the database)

I am using this syntax in the parameters -

{"fields": ["album_description"], "start": 5, "end": 6}

Now here's the wierd bit... It returns one album alright, but the one TWICE as high as the database listing I asked for - ie the above would return album 11. If I ask it for album 12 I get album 25. I even tried adding the 'start' and 'end' parameters into the fields section, but I get the same result.

It's driving me mad as everything else works fine. Any thoughts code wizards?

Thanks

Simon
Reply
#2
I think there is a problem with start/end searches using the GetAlbums method. It was discussed on the long json thread last week.

Try using GetAlbumDetails instead. It takes albumid as a parameter.

You must use a recent nightly build, it's not in Dharma.
Reply

Logout Mark Read Team Forum Stats Members Help
AudioLibrary.GetAlbums issue0