Originally posted by shunte88
View Post
Announcement
Collapse
No announcement yet.
ANNOUNCE: LMS Monitor 2020
Collapse
X
-
I do try this but still no display!/mnt/mmcblk0p2/tce$ pwd && ls -ltra /mnt/mmcblk0p2/tce/
/mnt/mmcblk0p2/tce
total 604
-rw-rw-r-- 1 tc staff 57 Jan 1 1970 onboot.lst
-rw-rw-r-- 1 tc staff 2824 Jan 1 1970 pcp_resize.log
drwxrwxr-x 2 tc staff 4096 Mar 8 09:05 ondemand/
drwxr-xr-x 3 root root 4096 Mar 8 09:05 ../
-rwxr-xr-x 1 tc staff 58328 Mar 15 13:04 libArduiPi_OLED.so.1
-rwxr-xr-x 1 tc staff 1603 Mar 16 15:29 gomonitor
-rwxr-xr-x 1 tc staff 333492 Mar 17 10:51 lmsmonitor
drwxrwxr-x 2 tc staff 4096 Mar 18 03:24 optional/
-rw-rw-r-- 1 tc staff 18475 Mar 18 03:37 mydata.tgz
-rw-rw-r-- 1 tc staff 0 Mar 18 03:43 not
-rw-rw-r-- 1 tc staff 169462 Mar 18 09:58 lmsmonitorpcp.tgz
drwxrwxr-x 4 tc staff 4096 Mar 18 09:58 ./
Comment
-
looks like I have a typo in the gomonitor script, I'll fix this shortly; but to get you up abd running
copy manually with:
Code:sudo cp /mnt/mmcblk0p2/tce/libArduiPi_OLED.so.1 /lib/
As of 25-Sep-2021 my digitized collection is (25931 hours 59 minutes) + (23 seconds) or
2.958 years in duration
random continuous play would really annoy the neighbors...
Digitized thus far:
Total Tracks: 169,609
Total Albums: 15,626
Total Artists: 22,284
Total Genres: 780
Total Playing Time: 25931:59:23
With another ~6000 yet to be cataloged and ripped... a moving target such that it is ...
Comment
-
when you specify the command you would replace the {your squeezelite name here} with the name of the player you wish to monitor
the gomonitor script takes care of this for you
on the LMS you'll see the name in the drop down, example:
either use gomonitor, or manually specify the name you see in the dropdown - not aardvark001 or {your squeezelite name here}
if you re-install I added extra validation for this specific issue
hope that gets you out of the woodsAs of 25-Sep-2021 my digitized collection is (25931 hours 59 minutes) + (23 seconds) or
2.958 years in duration
random continuous play would really annoy the neighbors...
Digitized thus far:
Total Tracks: 169,609
Total Albums: 15,626
Total Artists: 22,284
Total Genres: 780
Total Playing Time: 25931:59:23
With another ~6000 yet to be cataloged and ripped... a moving target such that it is ...
Comment
-
Originally posted by shunte88 View Postwhen you specify the command you would replace the {your squeezelite name here} with the name of the player you wish to monitor
the gomonitor script takes care of this for you
on the LMS you'll see the name in the drop down, example:
either use gomonitor, or manually specify the name you see in the dropdown - not aardvark001 or {your squeezelite name here}
if you re-install I added extra validation for this specific issue
hope that gets you out of the woods
I hope others people can try it out.
Comment
-
really not sure whats going wrong for you
i did a quick build from scratch with a 0.96"
two really short videos in the repo
as you can see we're running problem free
i'm working on removing the library dependencies, version 2/3 of the monitor statically linked the libraries into the executable which was one of the first things i removed.
obviously this version does far more than 2/3 so is a tiny bit more complex but not that much
some exception/validation messages are output but thats only if you run from command line
times tight for the remainder of the week but i'll see if i can come up with a debug build and hopefully get some additional info from your setupAs of 25-Sep-2021 my digitized collection is (25931 hours 59 minutes) + (23 seconds) or
2.958 years in duration
random continuous play would really annoy the neighbors...
Digitized thus far:
Total Tracks: 169,609
Total Albums: 15,626
Total Artists: 22,284
Total Genres: 780
Total Playing Time: 25931:59:23
With another ~6000 yet to be cataloged and ripped... a moving target such that it is ...
Comment
-
Originally posted by shunte88 View Postreally not sure whats going wrong for you
i did a quick build from scratch with a 0.96"
two really short videos in the repo
as you can see we're running problem free
i'm working on removing the library dependencies, version 2/3 of the monitor statically linked the libraries into the executable which was one of the first things i removed.
obviously this version does far more than 2/3 so is a tiny bit more complex but not that much
some exception/validation messages are output but thats only if you run from command line
times tight for the remainder of the week but i'll see if i can come up with a debug build and hopefully get some additional info from your setup
Comment
-
not sure I'm getting your statement/question but ldd describes all dependencies
quick question, did you get my version o run but nothing displayed?As of 25-Sep-2021 my digitized collection is (25931 hours 59 minutes) + (23 seconds) or
2.958 years in duration
random continuous play would really annoy the neighbors...
Digitized thus far:
Total Tracks: 169,609
Total Albums: 15,626
Total Artists: 22,284
Total Genres: 780
Total Playing Time: 25931:59:23
With another ~6000 yet to be cataloged and ripped... a moving target such that it is ...
Comment
-
Originally posted by shunte88 View Postnot sure I'm getting your statement/question but ldd describes all dependencies
quick question, did you get my version o run but nothing displayed?
Here is the ldd result
[email protected]:/mnt/mmcblk0p2/tce$ ldd lmsmonitor
linux-vdso.so.1 (0x7ecea000)
libpthread.so.0 => /lib/libpthread.so.0 (0x76f84000)
librt.so.1 => /lib/librt.so.1 (0x76f6d000)
libwiringPi.so => /usr/local/lib/libwiringPi.so (0x76f4e000)
libArduiPi_OLED.so.1 => /lib/libArduiPi_OLED.so.1 (0x76f33000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x76de6000)
libm.so.6 => /lib/libm.so.6 (0x76d79000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x76d4a000)
libc.so.6 => /lib/libc.so.6 (0x76c09000)
/lib/ld-linux-armhf.so.3 (0x76fad000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x76bca000)
libi2c.so.0 => /usr/local/lib/libi2c.so.0 (0x76bb8000)
Comment
-
looks good
Code:cat /usr/local/sbin/config.cfg | grep "^NAME=" | cut -d'"' -f2
paste the name returned
into the following command where its says name_here, and see what output you get when a track is played
keep the name in quotes so any spaces are retained
Code:sudo killall lmsmonitor sudo ./lmsmonitor -n "name_here" -rcxtiv -m sa
As of 25-Sep-2021 my digitized collection is (25931 hours 59 minutes) + (23 seconds) or
2.958 years in duration
random continuous play would really annoy the neighbors...
Digitized thus far:
Total Tracks: 169,609
Total Albums: 15,626
Total Artists: 22,284
Total Genres: 780
Total Playing Time: 25931:59:23
With another ~6000 yet to be cataloged and ripped... a moving target such that it is ...
Comment
-
Originally posted by shunte88 View Postlooks good
Code:cat /usr/local/sbin/config.cfg | grep "^NAME=" | cut -d'"' -f2
paste the name returned
into the following command where its says name_here, and see what output you get when a track is played
keep the name in quotes so any spaces are retained
Code:sudo killall lmsmonitor sudo ./lmsmonitor -n "name_here" -rcxtiv -m sa
[email protected]:~$ cd /mnt/mmcblk0p2/tce
[email protected]:/mnt/mmcblk0p2/tce$ cat /usr/local/sbin/config.cfg | grep "^NAME
=" | cut -d'"' -f2
piCorePlayer
[email protected]:/mnt/mmcblk0p2/tce$ sudo killall lmsmonitor
[email protected]:/mnt/mmcblk0p2/tce$ sudo ./lmsmonitor -n piCorePlayer -rcxtiv -m
sa
This is ./lmsmonitor, compiled Mar 18 2020 00:29:33.
Sending LMS Discovery ...
LMS (Server) responded:
Server IP ....: 192.168.133.92:3483
Player Name ..: piCorePlayer
Player ID ....: b8:27:eb:03:8c:e7
Player IP ....: 192.168.133.123
Initializing SHMEM ...
SHMEM Actively Monitoring ...
_____________________
88.5 | The Jewel 88.5 (Adult Hits)
_____________________
JEWEL 88.5
Dave Creelman
JEWEL 88.5
_____________________
JEWEL 88.5
Dave Creelman
_____________________
KENNY ROGERS And DOTTY WEST
ALL I EVER NEED IS YOU
_____________________
KENNY ROGERS And DOTTY WEST
ALL I EVER NEED IS YOU
_____________________
KENNY ROGERS And DOTTY WEST
ALL I EVER NEED IS YOU
_____________________
KENNY ROGERS And DOTTY WEST
ALL I EVER NEED IS YOU
_____________________
KENNY ROGERS And DOTTY WEST
ALL I EVER NEED IS YOU
This player's IP address is 192.168.133.121
Comment
-
and nothing on the OLED?
none of the display setup code changed... odd
ok, let me look at getting you a debug version
again, I'm short on time so may be the weekendAs of 25-Sep-2021 my digitized collection is (25931 hours 59 minutes) + (23 seconds) or
2.958 years in duration
random continuous play would really annoy the neighbors...
Digitized thus far:
Total Tracks: 169,609
Total Albums: 15,626
Total Artists: 22,284
Total Genres: 780
Total Playing Time: 25931:59:23
With another ~6000 yet to be cataloged and ripped... a moving target such that it is ...
Comment
-
you said IP is 192.168.133.121 but the output is ..133.123
it detected the same device, shmem uses the players Id (MAC)
so is 121 a typo? check with:
Code:ifconfig
try changing the name through the web end so its unique, and then repeat with the new name
you should be seeing the logo if the screen is initializing as expected? any logo?Last edited by shunte88; 2020-03-19, 21:20.As of 25-Sep-2021 my digitized collection is (25931 hours 59 minutes) + (23 seconds) or
2.958 years in duration
random continuous play would really annoy the neighbors...
Digitized thus far:
Total Tracks: 169,609
Total Albums: 15,626
Total Artists: 22,284
Total Genres: 780
Total Playing Time: 25931:59:23
With another ~6000 yet to be cataloged and ripped... a moving target such that it is ...
Comment
-
Originally posted by shunte88 View Postyou said IP is 192.168.133.121 but the output is ..133.123
it detected the same device, shmem uses the players Id (MAC)
so is 121 a typo? check with:
Code:ifconfig
try changing the name through the web end so its unique, and then repeat with the new name
you should be seeing the logo if the screen is initializing as expected? any logo?
All the player have their own name and I even change the Host Name too.
Comment
Comment