Hi @kuba
there's no direct interaction with squeezelite other than using the
exposed audio data, squeezelite has no reference or reliance on the
monitor
see the instructions below for debugging and post back details if things
look amiss
Hi @Marco
you can try running with additional debug options, simply repeat the -i
to get more information
Code:
--------------------
sudo /mnt/mmcblk0p2/tce/lmsmonitor -n "your-pCP-name" -crbk -iii -v -m rn -d
--------------------
-iii will give you maximum info
note I'm specifying -v for visualization and -m rn for random
meters/visualizations
if you want all-in-one use -v -a, -a will override all other
visualization parameters - there's a video of all-in-one in the base
folder in the github repo
the -d will give you downmixed visualization, remove if you want stereo
meters, again -a overrides
depending on your options you'll see details on setup and instrumented
output as the monitor performs its various processes
note this is my test build so you may see slightly different version
info and details for your specific version
Code:
--------------------
This is lmsmonitor (0.4.37) - built May 6 2020 23:52:02.
Verbosity ...........: Debug
OLED Driver .........: (3) Adafruit I2C 128x64
OLED Address ........: 0x3c
Scrolling Mode ......: (3) Randomized
OLED Clock Font .....: Windswept 3D 25x44
Sending LMS Discovery ...
LMS (Server) responded:
Server IP ...........: 192.168.1.25:3483
Player Count ........: 2
Player Name .........: koala <-- your name here
Player ID ...........: aa:bb:cc:dd:ee:ff
Player IP ...........: 192.168.1.131
Provider IP .........: 00.00.00.000
Reported TZ .........: America/New_York
Longitude ...........: -71.1134
Latitude ............: 42.4178
Sunrise .............: 05-07-2020 05:31:12
Sunset ..............: 05-07-2020 19:51:25
Set Display .........: Night Mode
Visualization .......: RN
Downmix A1 ..........: No
Initializing SHMEM ...
SHMEM Actively Monitoring ...
GFX Font Width ......: 6 (px)
GFX Font Height .....: 8 (px)
2020-05-07 22:39:38 :: src/lmsmonitor.c-0760 : isRefreshed
2020-05-07 22:39:38 :: src/lmsmonitor.c-0794 : activeScroller test
2020-05-07 22:39:38 :: src/lmsmonitor.c-0799 : clock test
2020-05-07 22:39:38 :: src/lmsmonitor.c-0870 : clockPage
2020-05-07 22:39:38 :: src/lmsmonitor.c-0877 : cpu Metrics?
2020-05-07 22:39:39 :: src/lmsmonitor.c-0760 : isRefreshed
2020-05-07 22:39:39 :: src/lmsmonitor.c-0794 : activeScroller test
2020-05-07 22:39:39 :: src/lmsmonitor.c-0799 : clock test
2020-05-07 22:39:39 :: src/lmsmonitor.c-0870 : clockPage
2020-05-07 22:39:39 :: src/lmsmonitor.c-0877 : cpu Metrics?
--------------------
key output there is that the server was found and shared memory, SHMEM,
is initialized - this is where we get the audio data for visualization
as the track plays you'll see the monitor move through the various
display modes, when visualization is running you see the output dump
lots and lots of status
playing a track and displaying details, and visualization kicking in
note that visualization toggle every 2 minutes or so and randomly
changes every ~90 seconds, so give it time to do it's thing
Code:
--------------------
2020-05-07 22:48:20 :: src/lmsmonitor.c-0776 : isPlaying
2020-05-07 22:48:21 :: src/lmsmonitor.c-0760 : isRefreshed
2020-05-07 22:48:21 :: src/lmsmonitor.c-0776 : isPlaying
2020-05-07 22:48:22 :: src/lmsmonitor.c-0760 : isRefreshed
2020-05-07 22:48:22 :: src/lmsmonitor.c-0776 : isPlaying
...
2020-05-07 22:50:00 :: src/lmsmonitor.c-0776 : isPlaying
2020-05-07 22:50:01 :: src/lmsmonitor.c-0400 : toggleVisualize
2020-05-07 22:50:01 :: src/lmsmonitor.c-0404 : test Visualize
2020-05-07 22:50:01 :: src/lmsmonitor.c-0409 : scroller pause
2020-05-07 22:50:01 :: src/lmsmonitor.c-0413 : activate Visualize
2020-05-07 22:50:01 :: src/visualize.c-0045 : Visualize On ->
2020-05-07 22:50:01 :: src/visualize.c-0048 : Visualize On <-
Active Visualizer ...: PK
2020-05-07 22:50:01 :: src/visualize.c-0194 : <-Fixed VisMode
2020-05-07 22:50:01 :: src/visualize.c-0206 : ->Visualize PK
2020-05-07 22:50:01 :: src/visualize.c-0208 : <-Visualize PK
2020-05-07 22:50:01 :: src/visualize.c-0206 : ->Visualize PK
2020-05-07 22:50:01 :: src/visualize.c-0208 : <-Visualize PK
2020-05-07 22:50:01 :: src/visualize.c-0206 : ->Visualize PK
2020-05-07 22:50:01 :: src/visualize.c-0208 : <-Visualize PK
2020-05-07 22:50:01 :: src/visualize.c-0206 : ->Visualize PK
2020-05-07 22:50:01 :: src/visualize.c-0208 : <-Visualize PK
2020-05-07 22:50:01 :: src/visualize.c-0206 : ->Visualize PK
--------------------
if you don't see SHMEM or the above activity check you setup the
parameters for squeezelite as specified in the readme
post your output if you see anything amiss
I just finished the additional all-in-one mode so a new binary will be
released shortly
I also need to get screen shots of the various visualizations and the
dozen fonts I've created for the clock display - see below
Command line help - note that this is again the version I'm about to
deploy so some options may not be available in the current github
release version
Code:
--------------------
LMSMonitor Ver. 0.4.37
Usage -n "player name" [options]
options:
-a all-in-one. One screen to rule them all. Track and visualizer on one
screen (pi only)
-b automatically set brightness of display at sunset and sunrise (pi only)
-c display clock when not playing (Pi only)
-d downmix audio and display a single large meter, SA and VU only
-f font used by clock, see list below for details
-i increment verbose level
-k show CPU load and temperature (clock mode)
-m if visualization on specify one or more meter modes, sa, vu, pk, st, or rn
for random
-o specifies OLED "driver" type (see options below)
-r show remaining time rather than track time
-S scrollermode: 0 (cylon), 1 (infinity left), 2 infinity (right)
-v enable visualization sequence when playing (Pi only)
-x specifies OLED address if default does not work - use i2cdetect to find
address (Pi only)
-z no splash screen
Supported OLED types:
1 ...: Adafruit SPI 128x64
3* ..: Adafruit I2C 128x64
4 ...: Seeed I2C 128x64
6 ...: SH1106 I2C 128x64
7 ...: SH1106 SPI 128x64
* is default
OLED Clock Fonts:
0 ...: Classic LCD Clock Font
1 ...: Deco-Solid Font
2 ...: Deco-Hollow Font
3 ...: LCD 25x44
4 ...: Festus Hollow 25x44
5 ...: Festus Solid 25x44
6 ...: Space 1999
7 ...: Roboto Thin
8 ...: noto 25x44
9 ...: noto fancy 25x44
10 ...: Colby Typo 25x44
11 ...: TTY Pongo 25x44
12 ...: Windswept 3D 25x44
This is lmsmonitor (0.4.37) - built May 6 2020 23:52:02.
--------------------
As of 2020/05/06
*Total Tracks: 148,442
Total Albums: 13,541
Total Artists: 19,185
Total Genres: 682
Total Playing Time: 24050:09:38*
------------------------------------------------------------------------
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