cpd73 wrote:
> Yup, but the icon assignment is LMS. Thinking again, I seem to recall
> some spotty screenshots where the Spotify icon is used more often than
> (I think) it should be. So, if you could recreate the JSON RESP message
> that creates the spotty menu, I can see if that's a Material issue.
> thanks.
Code:
--------------------
[Log] [14:25:05] JSON RESP:
{"method":"slim.request","id":4,"result":{"item_loop":[{"addAction":"go","type":"link","text":"Home","actions":{"go":{"cmd":["spotty","items"],"params":{"menu":"spotty","item_id":"0"}}},"icon":"plugins/Spotty/html/images/home.png"},{"text":"Search","type":"search","input":{"len":1,"softbutton1":"Insert","title":"Search","softbutton2":"Delete","help":{"text":"Use
the scroll wheel to change letters, then press the center button to select
that letter. Press the center button again to start your
search."},"processingPopup":{"text":"Searching..."}},"actions":{"go":{"params":{"menu":"spotty","search":"__TAGGEDINPUT__","item_id":"1","cachesearch":1},"cmd":["spotty","items"]}},"icon":"plugins/Spotty/html/images/search.png"},{"icon":"plugins/Spotty/html/images/news.png","type":"link","addAction":"go","text":"What's
New","actions":{"go":{"cmd":["spotty","items"],"params":{"item_id":"2","menu":"spotty"}}}},{"icon":"plugins/Spotty/html/images/toptracks.png
","params":{"isContextMenu":1,"item_id":"3"},"text":"Top
Tracks","type":"playlist"},{"actions":{"go":{"params":{"menu":"spotty","item_id":"4"},"cmd":["spotty","items"]}},"text":"Genres
and
Moods","addAction":"go","type":"link","icon":"plugins/Spotty/html/images/genres.png"},{"actions":{"go":{"params":{"menu":"spotty","item_id":"5"},"cmd":["spotty","items"]}},"addAction":"go","text":"Fijne
muziek voor deze
maandag!","icon":"plugins/Spotty/html/images/inbox.png"},{"icon":"plugins/Spotty/html/images/album.png","text":"Albums","addAction":"go","type":"link","actions":{"go":{"params":{"menu":"spotty","item_id":"6"},"cmd":["spotty","items"]}}},{"icon":"plugins/Spotty/html/images/artist.png","actions":{"go":{"cmd":["spotty","items"],"params":{"item_id":"7","menu":"spotty"}}},"type":"link","addAction":"go","text":"Artists"},{"text":"Playlists","type":"link","addAction":"go","actions":{"go":{"params":{"menu":"spotty","item_id":"8"},"cmd":["spotty","items"]}},"icon":"plugins/Spotty/ht
ml/images/playlist.png"},{"addAction":"go","type":"link","te!
xt":"Podcasts","actions":{"go":{"cmd":["spotty","items"],"params":{"menu":"spotty","item_id":"9"}}},"icon":"plugins/Spotty/html/images/podcasts.png"},{"type":"link","addAction":"go","text":"Transfer
Playback","actions":{"go":{"cmd":["spotty","items"],"params":{"item_id":"10","menu":"spotty"}}},"icon":"plugins/Spotty/html/images/playlist.png"}],"base":{"actions":{"playControl":{"itemsParams":"playControlParams","window":{"isContextMenu":1},"params":{"_quantity":"25000","_index":"0","menu":"spotty"},"cmd":["spotty","items"],"player":0},"play":{"params":{"menu":"spotty"},"player":0,"cmd":["spotty","playlist","play"],"itemsParams":"params","nextWindow":"nowPlaying"},"add":{"player":0,"cmd":["spotty","playlist","add"],"params":{"menu":"spotty"},"itemsParams":"params"},"add-hold":{"itemsParams":"params","player":0,"cmd":["spotty","playlist","insert"],"params":{"menu":"spotty"}},"more":{"window":{"isContextMenu":1},"itemsParams":"params","cmd":["spotty","items"],"player":0,"params"
:{"menu":"spotty"}},"go":{"cmd":["spotty","items"],"params":{"menu":"spotty"},"itemsParams":"params"}}},"count":11,"offset":0,"window":{"windowStyle":"home_menu"}},"params":["b8:27:eb:4f:9a:14",["spotty","items","0",25000,"menu:spotty"]]}
(material.min.js, line 228)
--------------------
Looks like this:
31963
+-------------------------------------------------------------------+
|Filename: Screenshot 2020-10-26 at 14.26.32.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31963|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
View this thread: http://forums.slimdevices.com/showthread.php?t=109624
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins