paul- wrote:
> I had time to dig into this....the id numbers are a little different on
> the JSON interface....I'm sure there is another way to find them, but
> here is a way on pCP
>
> >
Code:
--------------------
> >
> tc@piTouch:~$ cd www
> tc@piTouch:~/www$ cd cgi-bin/
> tc@piTouch:~/www/cgi-bin$ sudo rm /tmp/json_list
> tc@piTouch:~/www/cgi-bin$ . pcp-functions
> tc@piTouch:~/www/cgi-bin$ . pcp-lms-functions
> tc@piTouch:~/www/cgi-bin$ pcp_lms_favorites_list nav
> <a class="nav7" onclick="return lms_controls_send('192.168.0.141', '9000',
'piTouch', 'favorites', 'playlist', 'play', 'item_id:13568784.0')">Today's
Adult Hits Radio</a>
> <a class="nav7" onclick="return lms_controls_send('192.168.0.141', '9000',
'piTouch', 'favorites', 'playlist', 'play', 'item_id:13568784.1')">90s Pop
Radio</a>
> <a class="nav7" onclick="return lms_controls_send('192.168.0.141', '9000',
'piTouch', 'favorites', 'playlist', 'play', 'item_id:13568784.2')">the FOX</a>
> <a class="nav7" onclick="return lms_controls_send('192.168.0.141', '9000',
'piTouch', 'favorites', 'playlist', 'play', 'item_id:13568784.4')">MIX 107.7
WMMX-FM</a>
>
--------------------
> >
>
> Ignore the html code you get, but you will find the id numbers you
> need to use.
Thanks you for your effort.
I am getting the following error:
Code:
--------------------
tc@piCorePlayer:~$ cd www
tc@piCorePlayer:~/www$ cd cgi-bin/
tc@piCorePlayer:~/www/cgi-bin$ sudo rm /tmp/json_list
tc@piCorePlayer:~/www/cgi-bin$ . pcp-functions
tc@piCorePlayer:~/www/cgi-bin$ . pcp-lms-functions
tc@piCorePlayer:~/www/cgi-bin$ pcp_lms_favorites_list nav
wget: server returned error: HTTP/1.0 501 Not Implemented
sh: -lt: argument expected
--------------------
------------------------------------------------------------------------
Jursi's Profile: http://forums.slimdevices.com/member.php?userid=69100
View this thread: http://forums.slimdevices.com/showthread.php?t=107001
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy