hi @Aki7
> Failed to parse JSON, check adequate tokens allocated: -1
That's an error from the monitor when it processes a "broken" reply from
the server
The message about allocating tokens is a prompt for me - I spent hours
chasing issues with the JSON routines when I'd only just not given it
enough workspace. I thought I'd allocated sufficiently but maybe not.
I see you are running the very latest build.
I'll push a debug build binary that'll dump the JSON, I'll up the token
count too
Same build is running on my Pi3 and Pi4 systems without issue here.
Could be other factors like LMS version so we'll need to chase it a
little
Code:
--------------------
OLED Mode ...........: IIC
This is lmsmonitor (0.4.55) - built Sep 13 2020 19:00:26.
Verbosity ...........: Maximum
OLED Driver .........: (6) SH1106 I2C 128x64
OLED Address ........: 0x3c
Scrolling Mode ......: (0) Cylon (Default)
OLED Clock Font .....: Classic LCD Clock Font
2020-09-14 11:11:55 :: src/lmsmonitor.c-0776 : generalReset active
LMS Discovery ........
LMS server response .:
Server IP ...........: 192.168.1.25:3483
*00 SqueezeLite koala xx:xx:xx:xx:xx:xx
192.168.1.129
01 SqueezeLite caracara xx:xx:xx:xx:xx:xx
192.168.1.222
02 Squeezebox Touch livingroom xx:xx:xx:xx:xx:xx
192.168.1.101
Player Name .........: koala
Player ID ...........: xx:xx:xx:xx:xx:xx
Player IP ...........: 192.168.1.129
LMS:Repeat ..........: 0
LMS:Playing .........: No
LMS:Duration ........: 290.36
LMS:Volume ..........: 40
LMS:Player Online ...: Yes
LMS:Shuffle .........: 0
LMS:Track ID ........: 820762
LMS:Artist ..........: Hi Fi Power
LMS:Sample Rate .....: 44.1
LMS:Year ............: 2020
LMS:Title ...........: Chill Out (Raggafunks U)
LMS:Track Number ....: 11
LMS:Compilation .....: Yes
LMS:Remote ..........: No
LMS:Sample Size .....: 16
LMS:Album ...........: Soul Jazz Records presents BLACK RIOT: Early Jungle,
Rave and Hardcore [UK] [SJRD452]
LMS:Time Played .....: 0
Provider IP .........: 66.31.43.194
Reported TZ .........: America/New_York
Longitude ...........: -71.1134
Latitude ............: 42.4178
Sunrise .............: 09-14-2020 06:23:50
Sunset ..............: 09-14-2020 18:55:01
Set Display .........: Day Mode
debug: climacell lat -> 42.3614
debug: climacell lon -> -71.1040
debug: climacell temp -> 72.50 F
debug: climacell feels_like -> 72.50 F
debug: climacell wind_speed -> 10.49 mph
debug: climacell baro_pressure -> 30.01 inHg
debug: climacell visibility -> 6.21 mi
debug: climacell humidity -> 53.31 %
debug: climacell wind_direction -> NW : 318.75 degrees
debug: climacell precipitation -> 0.00 in
debug: climacell weather_code -> mostly_clear : Mostly Clear (14)
debug: climacell observation_time -> 2020-09-14T15:11:55.901Z
Visualization .......: Inactive
Hostname ............: zebra001
Interface ...........: eth0
Address .............: 192.168.1.159
Interface ...........: wlan0
Address .............: 192.168.1.160
GFX Font Width ......: 6 (px)
GFX Font Height .....: 8 (px)
2020-09-14 11:12:00 :: src/lmsmonitor.c-0970 : isRefreshed
2020-09-14 11:12:00 :: src/lmsmonitor.c-1014 : activeScroller test
2020-09-14 11:12:00 :: src/lmsmonitor.c-1019 : display clock test
2020-09-14 11:12:00 :: src/lmsmonitor.c-1391 : clockWeatherPage
2020-09-14 11:12:00 :: src/lmsmonitor.c-1398 : putWeather
2020-09-14 11:12:01 :: src/lmsmonitor.c-0970 : isRefreshed
2020-09-14 11:12:01 :: src/lmsmonitor.c-1014 : activeScroller test
2020-09-14 11:12:01 :: src/lmsmonitor.c-1019 : display clock test
2020-09-14 11:12:01 :: src/lmsmonitor.c-1391 : clockWeatherPage
2020-09-14 11:12:01 :: src/lmsmonitor.c-1398 : putWeather
--------------------
As of 2020/09/11
*Total Tracks: 152,573
Total Albums: 14,063
Total Artists: 19,846
Total Genres: 712
Total Playing Time: 24417:05:11
*
------------------------------------------------------------------------
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix