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
AudioLibrary.GetAlbums issue
sling100
Junior Member Posts: 10 Joined: Jul 2009 Reputation: 0 |
2011-01-26 16:35
Post: #1
|
| find quote |
ncarthy
Junior Member Posts: 24 Joined: Aug 2010 Reputation: 0 |
2011-01-27 11:08
Post: #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. |
| find quote |

Search
Help