cpd73 wrote: 
> OK, I don't use pandora - but I can see from the LMS JSON API docs that
> it should be possible to support this. However, you will have to help me
> with this. Can you install material from git? This post
> https://forums.slimdevices.com/showthread.php?109624-Announce-Material-Skin&p=950033&viewfull=1#post950033
> will show you how. If you do, *after* you have installed the git version
> (and restarted LMS):
> 
> >   > 
  -  Edit (in the installed copy)
  > "MaterialSkin/HTML/material/html/js/server.js" and change line 8 to
  > be *const PLAYER_STATUS_TAGS = "tags:cdegloyrstABKNS";*  (the "B"
  > has been added).
  -  Open Material in Chrome using
  > "http://SERVER:9000/material/desktop?auto=false&debug=cometd";
  -  On Chrome's developer tools
  -  Force a full reload of the Material web page (clearing cache,
  > etc) - press and hold on the refresh icon in the main toolbar you
  > will be presented with a menu. Select "Empty Cache and Hard Reload"
  -  Play a pandora track
  -  In the console tab of Chrome's developer tools, you should see
  > lines that contain "COMETD PLAYER" - these will be the status
  > messages sent from LMS for the current player. Post some of these
  > here
  > > > 
> 
> Adding the "B" should make LMS tell Material of any "button" actions.
> These should be what is needed for thumbs up/down.

[4:00:30 PM] COMETED Schedule next player poll in: 1000ms
utils.js?r=DEV-2019-10-06-15-57-34:22 [4:00:31 PM] COMETED PLAYER
(00:04:20:23:c4:ce):
{"playlist_cur_index":"0","remote":1,"current_title":"Christmas
Radio","waitingToPlay":1,"rate":1,"playlist_timestamp":1570402830.71148,"mode":"play","remoteMeta":{"id":"-94530589234176","title":"Christmas
Radio","coverid":"-94530589234176","duration":"0","type":"MP3
(Pandora)","year":"0","bitrate":"128k
CBR","artwork_url":"plugins/Pandora/html/images/icon.png","remote_title":"Christmas
Radio"},"playlist
repeat":0,"repeating_stream":1,"power":1,"signalstrength":100,"playlist_loop":[{"playlist
index":0,"id":"-94530589234176","title":"Christmas
Radio","coverid":"-94530589234176","duration":"0","type":"MP3
(Pandora)","year":"0","bitrate":"128k
CBR","artwork_url":"plugins/Pandora/html/images/icon.png","remote_title":"Christmas
Radio"}],"mixer volume":88,"time":0,"playlist
mode":"off","digital_volume_control":1,"playlist_tracks":1,"player_ip":"192.168.1.5:60947","playlist
shuffle":0,"player_name":"SB Touch","player_connected":1,"seq_no":"23"}
utils.js?r=DEV-2019-10-06-15-57-34:28 [4:00:31 PM] COMETED Schedule next
player poll in: 1000ms
utils.js?r=DEV-2019-10-06-15-57-34:28 [4:00:32 PM] COMETED Schedule next
player poll in: 1000ms
utils.js?r=DEV-2019-10-06-15-57-34:22 [4:00:33 PM] COMETED PLAYER
(00:04:20:23:c4:ce):
{"digital_volume_control":1,"duration":85.037125,"playlist
mode":"off","mixer
volume":88,"time":1.53387601089478,"seq_no":"23","player_connected":1,"player_name":"SB
Touch","playlist
shuffle":0,"playlist_tracks":1,"player_ip":"192.168.1.5:60947","rate":1,"current_title":"Christmas
Radio","remote":1,"playlist_cur_index":"0","playlist_loop":[{"playlist
index":0,"id":"-94530589234176","title":"Joy To The
World","coverid":"-94530589234176","duration":"84","album":"The
Christmas Song (Expanded Edition)","type":"MP3
(Pandora)","year":"0","bitrate":"128k CBR","artist":"Nat King Cole
(Holiday)","buttons":{"repeat":{"icon":"html/images/btn_thumbs_up.gif","command":["pandora","rate",1],"tooltip":"I
like this
song","jiveStyle":"thumbsUp"},"fwd":1,"shuffle":{"icon":"html/images/btn_thumbs_down.gif","command":["pandora","rate",0],"jiveStyle":"thumbsDown","tooltip":"I
don't like this
song"},"rew":0},"artwork_url":"http://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/int/8/0/1/4/00602567814108_500W_500H.jpg"}],"signalstrength":100,"power":1,"repeating_stream":1,"playlist
repeat":0,"remoteMeta":{"id":"-94530589234176","title":"Joy To The
World","coverid":"-94530589234176","duration":"84","album":"The
Christmas Song (Expanded Edition)","type":"MP3
(Pandora)","year":"0","bitrate":"128k CBR","artist":"Nat King Cole
(Holiday)","buttons":{"shuffle":{"icon":"html/images/btn_thumbs_down.gif","jiveStyle":"thumbsDown","tooltip":"I
don't like this
song","command":["pandora","rate",0]},"rew":0,"repeat":{"jiveStyle":"thumbsUp","tooltip":"I
like this song","command":



*Living Room:* SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU >
VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans
cables > B&W 804 speakers
*Laptop:* System76 Galago + Ubuntu 16.04 + Squeezelite + Material Skin >
ifi USB iSilencer > Audirect Beam DAC > Senn IE 80 earbuds
*Bedroom:* Pixel 3a Phone + SB Player + Material/mobile > Bose SoundLink
Revolve
*Server:* Puget Systems Serenity + Ubuntu 18.04 + LMS 7.9.2
*Music:* Personal FLAC, Radio Paradise FLAC, Qobuz, Spotify
------------------------------------------------------------------------
Ron F.'s Profile: http://forums.slimdevices.com/member.php?userid=5616
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to