2010-06-29, 01:12
So you gave this example
{ "jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "fields": ["album", "lyrics", "duration", "rating"], "end": 100 }, "id": 1 }
Is the "end" : 100 a limiter (first 100 records?)
How would I go about doing this for just one album, something like?
{ "jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "albumid": albumid, "fields": ["album", "lyrics", "duration", "rating"]}, "id": 1 }
or pull an artists biography and fanart, something like
{"jsonrpc": "2.0", "method": "AudioLibrary.GetArtists", "params": { "artistid": 9, "fields": ["biography", "fanart"] }, "id": 1}
http://192.168.2.5:81/jsonrpc
http://192.168.2.5:81/jsonrpc
{ "jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "fields": ["album", "lyrics", "duration", "rating"], "end": 100 }, "id": 1 }
Is the "end" : 100 a limiter (first 100 records?)
How would I go about doing this for just one album, something like?
{ "jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "albumid": albumid, "fields": ["album", "lyrics", "duration", "rating"]}, "id": 1 }
or pull an artists biography and fanart, something like
{"jsonrpc": "2.0", "method": "AudioLibrary.GetArtists", "params": { "artistid": 9, "fields": ["biography", "fanart"] }, "id": 1}
http://192.168.2.5:81/jsonrpc
http://192.168.2.5:81/jsonrpc