Announcement

Collapse
No announcement yet.

ANNOUNCE: LMS Monitor 2020

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by shunte88 View Post
    the OLED library is included in the archive and is copied to the shared library folder when you execute the gomonitor script

    check where the files where extracted, and ensure they are located in /mnt/mmcblk0p2/tce/

    note that I updated the binaries with the gomonitor edit as well as adding a little more feedback for command line arguments as I noticed you'd copied the command I used in my example including the name of my squeeze device; if you use gomonitor the name is picked up from configuration

    if the library is not where you extracted repeat the wget op that is specified in the github repo, make sure you're in the /mnt/mmcblk0p2/tce/ folder when you do so.

    my folder looks like this:

    Code:
    [email protected]:/mnt/mmcblk0p2/tce$ pwd && ls -ltra /mnt/mmcblk0p2/tce/
    /mnt/mmcblk0p2/tce
    total 811
    -rwxrwxr-x    1 tc       staff          273 Dec 31  1969 onboot.lst
    -rw-rw-r--    1 tc       staff         4455 Dec 31  1969 pcp_resize.log
    -rw-rw-r--    1 tc       staff          675 Dec 31  1969 pcp_insitu_upgrade.log
    drwxrwxr-x    2 tc       staff         1024 Jun  8  2019 ondemand/
    drwxr-xr-x    3 root     root          1024 Jun  8  2019 ../
    lrwxrwxrwx    1 tc       staff           30 Feb 16 17:05 squeezelite -> /usr/local/bin/squeezelite-dsd
    drwxrwxr-x    2 tc       staff         7168 Mar 14 20:51 optional/
    [B]-rwxrwxr-x    1 tc       staff        58328 Mar 14 22:04 libArduiPi_OLED.so.1
    -rwxrwxr-x    1 tc       staff         1603 Mar 16 00:29 gomonitor
    -rwxr-xr-x    1 tc       staff       333492 Mar 16 19:51 lmsmonitor
    [/B]drwxrwxr-x    4 tc       staff         1024 Mar 16 19:51 ./
    -rw-rw-r--    1 tc       staff       344856 Mar 16 19:51 mydata.tgz
    However when I type sudo ./lmsmonitor -n {your squeezelite name here} -rcxtiv -m sa the out come are all good except the Player IP is pointing to another player even the MAC address is correct! (I have several players in the house.)

    Comment


      #17
      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


        #18
        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/
        followed by the gomonitor command you've been trying
        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


          #19
          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 woods
          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


            #20
            Originally posted by shunte88 View Post
            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 woods
            I have tried 2 times new install and follow all your instructions, the commands are all as your result but no display! If I put mine old image with old lmsmonitor the display is working. BTW I am using the 0.96" mono colour and 4 pin connects.
            I hope others people can try it out.

            Comment


              #21
              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 setup
              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


                #22
                Originally posted by shunte88 View Post
                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 setup
                Could be some of the extensions that you have are more than default and not mentioned of?

                Comment


                  #23
                  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


                    #24
                    Originally posted by shunte88 View Post
                    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?
                    Yes I have the newest install from the scratch.
                    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


                      #25
                      looks good

                      Code:
                      cat /usr/local/sbin/config.cfg | grep "^NAME=" | cut -d'"' -f2
                      will give you your setup name

                      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
                      paste whats returned in a reply
                      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


                        #26
                        Originally posted by shunte88 View Post
                        looks good

                        Code:
                        cat /usr/local/sbin/config.cfg | grep "^NAME=" | cut -d'"' -f2
                        will give you your setup name

                        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
                        paste whats returned in a reply

                        [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


                          #27
                          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 weekend
                          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


                            #28
                            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
                            do you have other squeeze devices called piCorePlayer?

                            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


                              #29
                              Originally posted by shunte88 View Post
                              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
                              do you have other squeeze devices called piCorePlayer?

                              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?
                              the ip is correct. There is nothing on the display at all.
                              All the player have their own name and I even change the Host Name too.

                              Comment


                                #30
                                Originally posted by anadigi View Post
                                the ip is correct. There is nothing on the display at all.
                                All the player have their own name and I even change the Host Name too.
                                After I reboot my server the ip is correct but still no display!

                                Comment

                                Working...
                                X