Hello,

I've encountered a strange problem and I'd like to know if it's
something anyone else has seen and if it's something I'm doing wrong,
and maybe what I can do to overcome it.

I'm trying to browse the Spotty plugin from software I made for my house
(This works for all other plugins until Spotty) and I can't actually do
it from the jsonrcp.js method.

When I open a telnet session to 9090 and send this: [player mac] spotty
items 0 10 want_url:1
I get what I expect : 00%3A00%3A00%3A00%3A00%3A00 spotty items 0 10
want_url%3A1 id%3A0 name%3ASearch type%3Asearch
image%3Aplugins%2FSpotty%2Fhtml%2Fimages%2Fsearch.png isaudio%3A0
hasitems%3A1 id%3A1 name%3AWhat's%20New type%3Alink
image%3Aplugins%2FSpotty%2Fhtml%2Fimages%2Fwhatsnew.png isaudio%3A0
hasitems%3A1 id%3A2 name%3ATop%20Tracks type%3Aplaylist
image%3Aplugins%2FSpotty%2Fhtml%2Fimages%2Ftoptracks.png
url%3ACODE(0x59dee40) isaudio%3A1 hasitems%3A1 id%3A3
name%3AGenres%20and%20Moods type%3Alink 
...

But when I post the foloowing JSON to jsonrcp.js (http port 9000) : {
"id" : 3, "method" : "slim.request", "params" : ["00:00:00:00:00:00",
["spotty", "items", "0", "0", "want_url:1"]] }

I get no response, just a terminated connection.

Do I have to do somewthing in LMS, or to the Spotty plugin to enable it
to respond to the JSON RPC?

Any help would be greatly appreciated.

Thanks!


------------------------------------------------------------------------
littla's Profile: http://forums.slimdevices.com/member.php?userid=63581
View this thread: http://forums.slimdevices.com/showthread.php?t=112794

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to