Announcement

Collapse
No announcement yet.

piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • #46
    Originally posted by Zabizabo
    Hi psketch,

    I have bought recently the EVO-SABRE from Audiophonics. Coming from piCorePlayer (on a RPi 4 + Allo Digione), I was disapointed that a modified version was not proposed by Audiophonics.
    And miraculously, I saw your post .

    But I have a slight problem, I don't know how to use the files you put on Github. I tried to install the image you provided some posts ago. The second screen was detected but there was a message on it saying that the LMS server couldn't be reached. LMS was not installed so I thought it was normal. But with LMS installed, no more messages were visible on the screen. It was as if I had installed a conventional version of piCorePlayer.

    Coukd you guide me how using your files ? I would really like come back to piCorePlayer, I really don't like Volumio,it's not so easy to work with DietPi and I never succeeded installing Moode Audio Player.

    Thanks a lot and thank you for your work.

    If you're using a local LMS (i.e. it's installed on the same Pi in the evosabre), then there's a bug in the current image - the script crashes when it tries to discover the server. I've posted the updated script a couple of days ago, but haven't updated the images yet. I'll post new ones, shortly, but in the meantime, if you specify the IP address manually, then it will skip trying to discover the LMS, so won't crash.

    Change the line User command #1 at the bottom of the Tweaks page from

    python3 /home/tc/lms_oled_3.12_py3.py

    to

    python3 /home/tc/lms_oled_3.12_py3.py 127.0.0.1

    So, you're telling the script your LMS is at 127.0.0.1, which is the local IP. When I update the images, you won't need this (and I actually changed the parameters, so that won't work anymore), but for now, that should fix it.

    Comment


    • #47
      Originally posted by psketch
      If you're using a local LMS (i.e. it's installed on the same Pi in the evosabre), then there's a bug in the current image - the script crashes when it tries to discover the server. I've posted the updated script a couple of days ago, but haven't updated the images yet. I'll post new ones, shortly, but in the meantime, if you specify the IP address manually, then it will skip trying to discover the LMS, so won't crash.

      Change the line User command #1 at the bottom of the Tweaks page from

      python3 /home/tc/lms_oled_3.12_py3.py

      to

      python3 /home/tc/lms_oled_3.12_py3.py 127.0.0.1

      So, you're telling the script your LMS is at 127.0.0.1, which is the local IP. When I update the images, you won't need this (and I actually changed the parameters, so that won't work anymore), but for now, that should fix it.
      Thank you very much psketch . I will try your solution tonight after work.

      My best

      Comment


      • #48
        Originally posted by psketch
        If you're using a local LMS (i.e. it's installed on the same Pi in the evosabre), then there's a bug in the current image - the script crashes when it tries to discover the server. I've posted the updated script a couple of days ago, but haven't updated the images yet. I'll post new ones, shortly, but in the meantime, if you specify the IP address manually, then it will skip trying to discover the LMS, so won't crash.

        Change the line User command #1 at the bottom of the Tweaks page from

        python3 /home/tc/lms_oled_3.12_py3.py

        to

        python3 /home/tc/lms_oled_3.12_py3.py 127.0.0.1

        So, you're telling the script your LMS is at 127.0.0.1, which is the local IP. When I update the images, you won't need this (and I actually changed the parameters, so that won't work anymore), but for now, that should fix it.
        Your solution works very well with this tweak modification. Thanks a lot. You made my day psketch

        Comment


        • #49
          Originally posted by Zabizabo
          Your solution works very well with this tweak modification. Thanks a lot. You made my day psketch
          Very good news. I'll post updated images soon.

          The script is updated already if you wanted to download it from https://raw.githubusercontent.com/pe...ed_3.12_py3.py

          Remove the 127.0.0.1 from your UI first. Then, ssh onto the pi, you could do a

          wget https://raw.githubusercontent.com/pe...ed_3.12_py3.py -O ~/lms_oled_3.12_py3.py

          That will get the updated script. Then do a backup

          pcp bu

          then reboot

          pcp rb

          That should do it. If you need to specify the lmsip with this new version (you shouldn't have to), then it would be

          python3 /home/tc/lms_oled_3.12_py3.py LMSIP=127.0.0.1

          i.e. I named the parameters so I could add some other things.

          Of course, if the one you have does what you want, just stay with that one :-)

          pete S

          Comment


          • #50
            Originally posted by psketch
            Very good news. I'll post updated images soon.

            The script is updated already if you wanted to download it from https://raw.githubusercontent.com/pe...ed_3.12_py3.py

            Remove the 127.0.0.1 from your UI first. Then, ssh onto the pi, you could do a

            wget https://raw.githubusercontent.com/pe...ed_3.12_py3.py -O ~/lms_oled_3.12_py3.py

            That will get the updated script. Then do a backup

            pcp bu

            then reboot

            pcp rb

            That should do it. If you need to specify the lmsip with this new version (you shouldn't have to), then it would be

            python3 /home/tc/lms_oled_3.12_py3.py LMSIP=127.0.0.1

            i.e. I named the parameters so I could add some other things.

            Of course, if the one you have does what you want, just stay with that one :-)

            pete S
            I will try it. When you said "Remove the 127.0.0.1 from your UI first", are you meaning I remove it from the User Commands on the Tweaks page ? Sorry but I'm really a newbie

            Comment


            • #51
              Originally posted by Zabizabo
              I will try it. When you said "Remove the 127.0.0.1 from your UI first", are you meaning I remove it from the User Commands on the Tweaks page ? Sorry but I'm really a newbie
              No problem with being a newbie - we're all learning .....

              Yes, just remove the 127.0.0.1 from the tweaks page. Basically, those user commands only run when you boot the pi. So, when you boot, it's run

              python3 /home/tc/lms_oled_3.12_py3.py 127.0.0.1

              when you start and that's now running. So, if you take the 127.0.0.1 off the user command it won't affect anything until you reboot. Once you've downloaded the new script, backed it up and then rebooted, you want the 127.0.0.1 not there when the new script is started. It won't do any harm if you leave it there and remove it after and then reboot again.

              If you struggle, just wait until I post a new image.

              pete S
              Last edited by psketch; 2022-05-17, 07:34.

              Comment


              • #52
                Originally posted by psketch
                No problem with being a newbie - we're all learning .....

                Yes, just remove the 127.0.0.1 from the tweaks page. Basically, those user commands only run when you boot the pi. So, when you boot, it's run

                python3 /home/tc/lms_oled_3.12_py3.py 127.0.0.1

                when you start and that's now running. So, if you take the 127.0.0.1 off the user command it won't affect anything you reboot. Once you've downloaded the new script, backed it up and then rebooted, you want the 127.0.0.1 not there when the new script is started. It won't do any harm if you leave it there and remove it after and then reboot again.

                If you struggle, just wait until I post a new image.

                pete S
                I can't wait to try it this evening . Thanks Pete

                Comment


                • #53
                  OK - I've posted new 32bit and 64bit images to https://www.mediafire.com/folder/qctwyvjv0ys7e/Images with the fix for local LMS, new version of the script and updated codes for the remote.

                  Comment


                  • #54
                    Originally posted by psketch
                    OK - I've posted new 32bit and 64bit images to https://www.mediafire.com/folder/qctwyvjv0ys7e/Images with the fix for local LMS, new version of the script and updated codes for the remote.
                    Hi Peter,

                    Thanks for the images.

                    I tried to install the 64 bit image yesterday and although the Audiophonics logo appears on the second screen, the LMS server is not automatically detected. I added the "python3 /home/tc/lms_oled_3.12_py3.py LMSIP=127.0.0.1" (I changed the IP adress with my IP adress) on the Tweaks page but the second screen stayed black (even if the Audiophonics logo appears at the beginning).

                    I will try a new fresh install this evening. Yesterday I was tired and I may be done some mistakes

                    Christophe

                    Comment


                    • #55
                      Hi @Zabizabo

                      No, it was me doing things when I was short of time and tired, not you.

                      If you ssh onto the pi and do

                      Code:
                      wget https://raw.githubusercontent.com/peteS-UK/EvoSabre-DAC-PCP/main/lms_oled_3.12_py3.py -O ~/lms_oled_3.12_py3.py
                      then

                      Code:
                      pcp bu
                      it'll fix it when you manually specify the LMSIP=....

                      Interesting that discovery doesn't work though. If you ssh on, make sure the process isn't running (ps -a) kill it if it is (sudo kill <process id>) and then run the py manually python3 /home/tc/lms_oled_3.12_py3.py, i'd be interested to see the output. Anyway, pull down the fix and LMSIP= should work now.

                      (Sorry, added a bit of output to display the LMS name in places and forgot one to check LMSIP= option.)

                      I'll post updated images again later.

                      pete S

                      Comment


                      • #56
                        I've posted new images with the fix for missing lms name, and changed the way I do logging. You can download new images from https://www.mediafire.com/folder/qctwyvjv0ys7e/Images or if you have the image from a couple of days ago, you can just pull down the updated .py and do a backup as per the previous post.

                        Comment


                        • #57
                          Originally posted by psketch
                          I've posted new images with the fix for missing lms name, and changed the way I do logging. You can download new images from https://www.mediafire.com/folder/qctwyvjv0ys7e/Images or if you have the image from a couple of days ago, you can just pull down the updated .py and do a backup as per the previous post.
                          Hi Pete,

                          Once again thanks for the images. I never succeeded in using the updated .py. So I made a fresh install with the 64bit image and it works like a charm

                          A big thank you Pete for the time you spent on this pCp modification .

                          Christophe

                          Comment


                          • #58
                            @psketch

                            I just noticed there is a slight problem with the play button on the remote control. When I press it, instead to pause the song it makes it start at the beginning.

                            Just in case, if you want me to test some of changes you are doing, I can do that. It's the least I can do.

                            Christophe

                            Comment


                            • #59
                              Originally posted by Zabizabo
                              @psketch

                              I just noticed there is a slight problem with the play button on the remote control. When I press it, instead to pause the song it makes it start at the beginning.

                              Just in case, if you want me to test some of changes you are doing, I can do that. It's the least I can do.

                              Christophe
                              Hi Christophe

                              There's actually 3 separate buttons under the "play" button in the Evo remote. The left part of play is the "pause" button, the centre is mapped to "play", which if you're already playing, restarts the track.

                              Code:
                              begin
                                  remote = ApEvo
                                  button = playleft
                                  repeat = 0
                                  prog = squeezelite
                                  config = pause
                              end 
                              
                              begin
                                  remote = ApEvo
                                  button = play
                                  repeat = 0
                                  prog = squeezelite
                                  config = play
                              end
                              So, you're seeing the different pause and play behaviours from squeezelite. Try the left side of the button for pause. I couldn't think what do to with the right side ...

                              pete S

                              Comment


                              • #60
                                Originally posted by psketch
                                Hi Christophe

                                There's actually 3 separate buttons under the "play" button in the Evo remote. The left part of play is the "pause" button, the centre is mapped to "play", which if you're already playing, restarts the track.

                                Code:
                                begin
                                    remote = ApEvo
                                    button = playleft
                                    repeat = 0
                                    prog = squeezelite
                                    config = pause
                                end 
                                
                                begin
                                    remote = ApEvo
                                    button = play
                                    repeat = 0
                                    prog = squeezelite
                                    config = play
                                end
                                So, you're seeing the different pause and play behaviours from squeezelite. Try the left side of the button for pause. I couldn't think what do to with the right side ...

                                pete S
                                Hi Pete,

                                I didn't even know there were 3 buttons in 1 . And effectively, the song is paused when I push the left side.
                                Thanks.

                                Christophe

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎