After update it did works fine at first, thanks. False failure message
about jason, a little verbose now :-) :


Code:
--------------------
    tc@pcTest61:~$ sudo /mnt/mmcblk0p2/tce/lmsmonitor -n ${PNAME} -c -z -f7 -s
  OLED Mode ...........: IIC
  This is lmsmonitor (0.4.57) - built Sep 17 2020 14:01:28.
  Platform ............: Raspberry Pi 3 Model B Plus Rev 1.3
  Verbosity ...........: Normal
  OLED Clock Font .....: Roboto Thin
  [lookupLMSPlayer] Failed to parse JSON, check adequate tokens allocated: -3
  LMS:Player Online ...: Yes
  LMS:Playing .........: No
  LMS:Remote ..........: Yes
  LMS:Time Played .....: 0
  LMS:Duration ........: 388.191
  LMS:Volume ..........: 14
  LMS:Repeat ..........: 0
  LMS:Shuffle .........: 0
  LMS:Remote ..........: Yes
  LMS:Track ID ........: -335361268
  LMS:Title ...........: Paths Of Life
  LMS:Album ...........: Mish Mash
  LMS:Artist ..........: Rockers Hi-Fi
  LMS:Remote ..........: Yes
  LMS:Sample Rate .....: 44.1
  LMS:Sample Size .....: 16
  LMS:Year ............: 1997
  Hostname ............: pcTest61
  Interface ...........: wlan0
  Address .............: 192.168.7.136
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Playing .........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  LMS:Time Played .....: 1.75628805923462
  LMS:Remote ..........: Yes
  LMS:Remote ..........: Yes
  ...
  
--------------------


But after 2nd or third start it shows new buggy behavior:


Code:
--------------------
    tc@pcTest61:~$ sudo /mnt/mmcblk0p2/tce/lmsmonitor -n ${PNAME} -c -z -f7 -V
  OLED Mode ...........: IIC
  This is lmsmonitor (0.4.57) - built Sep 17 2020 14:01:28.
  Platform ............: Raspberry Pi 3 Model B Plus Rev 1.3
  Verbosity ...........: Maximum
  OLED Driver .........: (6) SH1106 I2C 128x64
  OLED Address ........: 0x3c
  Scrolling Mode ......: (0) Cylon (Default)
  OLED Clock Font .....: Roboto Thin
  2020-09-18 19:55:31 :: src/lmsmonitor.c-0781 : generalReset active
  LMS Discovery ........
  LMS server response .: Ok
  Server IP ...........: 192.168.7.200:3483
  Player Found ........: Yes
  Player Count ........: 5
  [lookupLMSPlayer] Failed to parse JSON, check adequate tokens allocated: -3
  
  payload: 
{"params":["-",["players","0","99"]],"method":"slim.request","id":1,"result":{"count":5,"players_loop":[{"playerindex":"0","playerid":"b8:27:eb:54:27:0c","uuid":null,"ip":"192.168.7.136:60750","name":"pcTest61","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":1,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.6-1206-pCP"},{"playerindex":1,"playerid":"b8:27:eb:90:f7:74","uuid":null,"ip":"192.168.7.150:40330","name":"pcKueche","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.0-1121-pCP"},{"playerindex":2,"playerid":"fc:f5:c4:6d:f0:dc","uuid":null,"ip":"192.168.7.146:50262","name":"SqueezeAmp","seq_no":0,"model":"squeezeesp32","modelname":"SqueezeLite","power":0,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.2-1145"},{"playerindex":3,"playerid":
 
"70:85:c2:fc:3b:27","uuid":null,"ip":"192.168.7.201:51523","name":"PC-A_","seq_no":0,"model":"squeezelite","modelname":"Squeezelite-X","power":1,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.7-1256"},{"playerindex":4,"playerid":"b8:27:eb:ca:fc:35","u
  length: 1278
  allocated: 265
  2020-09-18 19:55:31 ::   src/sliminfo.c-0229 : remediateLkpMSPlayer
  2020-09-18 19:55:31 ::   src/sliminfo.c-0260 : remediateLkpMSPlayer tokenized
  (283) 
"playerindex":"0","playerid":"b8:27:eb:54:27:0c","uuid":null,"ip":"192.168.7.136:60750","name":"pcTest61","seq_no":0,"model":"squeezelite","modelname":"SqueezeLite","power":1,"isplaying":0,"displaytype":"none","isplayer":1,"canpoweroff":1,"connected":1,"firmware":"v1.9.6-1206-pCP"},
  Player Name .........: pcTest61
  Player ID ...........: b8:27:eb:54:27:0c
  Player IP ...........: 192.168.7.136
  Visualization .......: Inactive
  [parseLMSResponse] Failed to parse JSON, check adequate tokens allocated: -3
  
{"params":["b8:27:eb:54:27:0c",["status","-",1,"tags:lKeaArCckiqdxNTIzy"]],"method":"slim.request","id":1,"result":{"player_name":"pcTest61","player_connected":1,"player_ip":"192.168.7.136:60750","power":1,"signalstrength":0,"mode":"stop","remote":1,"current_title":"Cherchez
 La Lumiere 
[uk]","time":0,"rate":1,"duration":367.571,"can_seek":1,"sync_master":"b8:27:eb:54:27:0c","sync_slaves":"70:85:c2:fc:3b:27,fc:f5:c4:6d:f0:dc","mixer
 volume":14,"playlist repeat":0,"playlist shuffle":0,"playlist 
mode":"off","seq_no":0,"playlist_cur_index":"3","playlist_timestamp":1600451515.92909,"playlist_tracks":13,"digital_volume_control":1,"remoteMeta":{"id":"-198027364","title":"Cherchez
 La Lumiere [uk]","album":"BlackRock","artist":"Solar Quest","bitrate":"126kb/s 
CBR","coverid":"-198027364","comment":"Black Rock FM: From the Playa to the 
world, where every Saturday night is Burn Night 
[SomaFM]","duration":"367.571","remote":1,"samplerate":"22050","samplesize":"16","year":"0"},"playlist_
 loop":[{"bitrate":"126kb/s CBR","samplerate":"22050","playlist 
index":3,"duration":"367.571","samplesize":"16","remote":1,"album":"BlackRock","artist":"Solar
 Quest","coverid":"-198027364","comment":"Black Rock FM: From the Playa to the 
world, where every Saturday night is Burn Night [SomaF
  Hostname ............: pcTest61
  Interface ...........: wlan0
  Address .............: 192.168.7.136
  GFX Font Width ......: 6 (px)
  GFX Font Height .....: 8 (px)
  ...
  
--------------------


Restored old state from backup, restarted LMS, but same error. The
display alternates between error message "Squeezelite player "Test61" is
offline" and clock screen.
Aki


------------------------------------------------------------------------
Aki7's Profile: http://forums.slimdevices.com/member.php?userid=67596
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

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

Reply via email to