d6jg wrote:
> I have just tested with B.B. King & Eric Clapton, Riding With The King
If you do the above (the JSON logging) you should see a call such as:
["01:02:03:04:05:06",["albums",0,25000,"artist_id:20","tags:jlys","sort:yearalbum","library_id:0"]]
You should be able to use CURL to call this on the commandline as
follows:
Code:
--------------------
curl 'http://localhost:9000/jsonrpc.js?id=2' --data
'{"id":1,"method":"slim.request","params":["01:02:03:04:05:06",["albums",0,25000,"artist_id:20","tags:jlys","sort:yearalbum","library_id:0"]]}'
--------------------
If you do the following (which specifies artist_id is the TRACKARTIST)
does the response look like it contains the correct items?
Code:
--------------------
curl 'http://localhost:9000/jsonrpc.js?id=2' --data
'{"id":1,"method":"slim.request","params":["01:02:03:04:05:06",["albums",0,25000,"artist_id:20","tags:jlys","sort:yearalbum","role_id:TRACKARTIST","library_id:0"]]}'
--------------------
If this works, then for the case where trackartist_id is used I guess I
should specify role_id of TRACKARTIST
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins