I think I caught it.
Basically - where is does not offer an action ... LMS responds with
action:none ...
Code:
--------------------
material.min.js?r=2.3.7:229 [13:24:52] JSON REQ:
["02:46:19:9e:c7:41",["planetradio","items",0,25000,"item_id:a6350322.2.0.0.0","menu:planetradio"]]
material.min.js?r=2.3.7:229 [13:24:53] JSON RESP:
{"id":6,"params":["02:46:19:9e:c7:41",["planetradio","items","0",25000,"item_id:a6350322.2.0.0.0","menu:planetradio"]],"method":"slim.request","result":{"count":2,"item_loop":[{"text":"Title:
Absolute 80s presents...
(boxset)","action":"none","style":"itemNoAction"},{"style":"itemNoAction","text":"Description:
At Absolute 80s, we interview some of the biggest stars of the 80s - listen
back to those chats here, as well as album specials and
more!","action":"none"}],"offset":0}}
--------------------
but when I remove the setting of "description" from my code then ...
Code:
--------------------
material.min.js?r=2.3.7:229 [13:30:54] JSON REQ:
["02:46:19:9e:c7:41",["planetradio","items",0,25000,"item_id:a6350322.2.0.0.0","menu:planetradio"]]
material.min.js?r=2.3.7:229 [13:30:55] JSON RESP:
{"params":["02:46:19:9e:c7:41",["planetradio","items","0",25000,"item_id:a6350322.2.0.0.0","menu:planetradio"]],"id":9,"result":{"base":{"actions":{"set-preset-0":{"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:0"],"player":0},"set-preset-2":{"cmd":["jivefavorites","set_preset","key:2"],"itemsParams":"presetParams","player":0},"set-preset-9":{"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:9"],"player":0},"more":{"player":0,"params":{"menu":"planetradio"},"itemsParams":"params","cmd":["planetradio","items"],"window":{"isContextMenu":1}},"add-hold":{"cmd":["planetradio","playlist","insert"],"itemsParams":"params","player":0,"params":{"menu":"planetradio"}},"set-preset-8":{"player":0,"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:8"]},"play":{"nextWindow":"nowPlaying","cmd":["planetradio","playlist","play"],"itemsParams":"params","player":0,"params":{"menu":"p
lanetradio"}},"set-preset-7":{"cmd":["jivefavorites","set_preset","key:7"],"itemsParams":"presetParams","player":0},"add":{"params":{"menu":"planetradio"},"player":0,"itemsParams":"params","cmd":["planetradio","playlist","add"]},"set-preset-3":{"player":0,"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:3"]},"set-preset-1":{"itemsParams":"presetParams","cmd":["jivefavorites","set_preset","key:1"],"player":0},"set-preset-6":{"cmd":["jivefavorites","set_preset","key:6"],"itemsParams":"presetParams","player":0},"go":{"nextWindow":"nowPlaying","cmd":["planetradio","playlist","play"],"itemsParams":"params","player":0,"params":{"menu":"planetradio"}},"set-preset-4":{"player":0,"cmd":["jivefavorites","set_preset","key:4"],"itemsParams":"presetParams"},"playControl":{"params":{"item_id":"a6350322.2.0.0.0","menu":"planetradio","_quantity":"25000","_index":"0"},"player":0,"window":{"isContextMenu":1},"itemsParams":"playControlParams","cmd":["planetradio","items"]}
,"set-preset-5":{"player":0,"itemsParams":"presetParams","cm!
d":["jivefavorites","set_preset","key:5"]}}},"offset":0,"window":{"windowStyle":"home_menu"},"title":"Absolute
80s presents...
(boxset)","count":4,"item_loop":[{"goAction":"play","params":{"isContextMenu":1,"touchToPlaySingle":1,"touchToPlay":"a6350322.2.0.0.0.0","item_id":"a6350322.2.0.0.0.0"},"type":"audio","presetParams":{"favorites_title":"Tribes
of the 80s:
Rudeboys","icon":"https://assets.planetradio.co.uk/audio-on-demand/a80s-meets/20191205173749_5de9406d615a4_xlg.jpg","favorites_type":"audio","favorites_url":"http://aod.planetradio.co.uk/a80s-meets/20191209110405.m4a?awCollectionId=a80s-meets&awEpisodeId=18497?awCollectionId=231&awEpisodeId=316771"},"text":"Tribes
of the 80s:
Rudeboys","icon":"https://assets.planetradio.co.uk/audio-on-demand/a80s-meets/20191205173749_5de9406d615a4_xlg.jpg","style":"itemplay"},{"style":"itemplay","icon":"https://assets.planetradio.co.uk/audio-on-demand/a80s-meets/20191204173345_5de7edf93c0d8_xlg.jpg","presetParams":{"favorites_type":"
audio","icon":"https://assets.planetradio.co.uk/audio-on-demand/a80s-meets/20191204173345_5de7edf93c0d8_xlg.jpg","favorites_title":"Tribes
of the 80s: Generation
X","favorites_url":"http://aod.planetradio.co.uk/a80s-meets/20191204172912.m4a?awCollectionId=a80s-meets&awEpisodeId=18496?awCollectionId=231&awEpisodeId=316773"},"params":{"isContextMenu":1,"touchToPlaySingle":1,"touchToPlay":"a6350322.2.0.0.0.1","item_id":"a6350322.2.0.0.0.1"},"type":"audio","text":"Tribes
of the 80s: Generation
X","goAction":"play"},{"icon":"https://assets.planetradio.co.uk/audio-on-demand/a80s-meets/20191203181815_5de6a6e7668cf_xlg.jpg","style":"itemplay","goAction":"play","presetParams":{"favorites_url":"http://aod.planetradio.co.uk/a80s-meets/20191203181429.m4a?awCollectionId=a80s-meets&awEpisodeId=18494?awCollectionId=231&awEpisodeId=316774","icon":"https://assets.planetradio.co.uk/audio-on-demand/a80s-meets/20191203181815_5de6a6e7668cf_xlg.jpg","favorites_type":"audio","favorites_title":"Tri
bes of the 80s: Glam Metal"},"params":{"isContextMenu":1,"to!
uchToPlay!
Single":1,"touchToPlay":"a6350322.2.0.0.0.2","item_id":"a6350322.2.0.0.0.2"},"text":"Tribes
of the 80s: Glam
Metal","type":"audio"},{"icon":"https://assets.planetradio.co.uk/audio-on-demand/a80s-meets/20191203120153_5de64eb1e998a_xlg.jpg","style":"itemplay","goAction":"play","text":"Tribes
of the 80s: New
Romantics","params":{"touchToPlay":"a6350322.2.0.0.0.3","item_id":"a6350322.2.0.0.0.3","isContextMenu":1,"touchToPlaySingle":1},"presetParams":{"favorites_title":"Tribes
of the 80s: New
Romantics","favorites_type":"audio","icon":"https://assets.planetradio.co.uk/audio-on-demand/a80s-meets/20191203120153_5de64eb1e998a_xlg.jpg","favorites_url":"http://aod.planetradio.co.uk/a80s-meets/20191203115605.m4a?awCollectionId=a80s-meets&awEpisodeId=18493?awCollectionId=231&awEpisodeId=316775"},"type":"audio"}]},"method":"slim.request"}
--------------------
So I suspect that I need to set something differently in "type" or
"on_select" ... or some extra magic attribute is needed to make LMS send
more data.
Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109624
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins