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.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer
------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107001

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to