staresy wrote: 
> In reverse order, here's the the initial Fav REQ RESP, I think that's
> what you want, I update, try another delete and post the result.
> 
> [20:28:16] JSON REQ:
> ["00:04:20:23:6e:ff",["favorites","items",0,25000,"menu:favorites","menu:1"]]........"text":"WHTA
> Hot 107,9 (Hampton, USA / Hip Hop, R'n'B,
> Soul)","presetParams":{"icon":"https://d3kle7qwymxpcy.cloudfront.net/images/broadcasts/71/4f/41557/1/c300.png","favorites_type":"playlist","parser":"Plugins::RadioNet::PlayableParser?type=STATION","favorites_title":"WHTA
> Hot 107,9 (Hampton, USA / Hip Hop, R'n'B,
> Soul)","favorites_url":"https://www.radio.net/s/whta"},"type":"playlist"},{"params":{"isContextMenu":1,"item_id":"e0616d51.7"},"icon-id":"https://d3kle7qwymxpcy.cloudfront.net/images/broadcasts/cc/83/28800/c300.png","text":"WROD
> 1340 AM (Daytona Beach FL, USA /
> Oldies)","presetParams":{"icon":"https://d3kle7qwymxpcy.cloudfront.net/images/broadcasts/cc/83/28800/c300.png","favorites_type":"playlist","parser":"Plugins::RadioNet::PlayableParser?type=STATION","favorites_title":"WROD
> 1340 AM (Daytona Beach FL, USA /
> Oldies)","favorites_url":"https://www.radio.net/s/wrod"},"type":"playlist"}],"count":8,"window":{"windowStyle":"home_menu"}}}
> material.min.js?r=2.0.2:228 [20:28:20] JSON REQ:
> ["00:04:20:23:6e:ff",["favorites","delete","https://www.radio.net/s/wrod";]]

This is odd. I add your response, so can see the list of favourites.
When I select to delete "WROD 1340" - Material sends
["favorites","delete","item_id:7"] - which is correct. :(

[Edit] Have you tried with the latest version? This has a little extra
debug. I also changed the code to always set id for a favourite.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
------------------------------------------------------------------------
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

Reply via email to