QLogitechMediaServer for Qnap with QTS 4.2 or higher and x86_64/I686/X86 support !

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • digimaster
    Senior Member
    • May 2017
    • 798

    I mean upgrading perl to a version to work with LMS.
    In newer version there are newer perl modules in LMS.
    LMS could benefited form it.
    For example audio-scan latest version is 1.05.

    Almost all arm nas have older software.
    And there are systems which are not support anymore.
    For example the x-09,x-19 and x86.

    Originally posted by jasell
    I use my QNAP for file storage and running QLMS. So what makes QLMS work I’m in for. I don’t need Perl for something else.


    Sent from my iPhone using Tapatalk
    Last edited by digimaster; 2022-05-21, 11:08.

    maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

    Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
    Several raspberry with hifiberry amp+ and picoreplayer.
    Love logitechmediaserver for it flexibel way, to play music from different sources.


    Thanks for the DONATIONS

    Comment

    • fidtheforce
      Junior Member
      • Mar 2022
      • 4

      Originally posted by digimaster

      ================== QLogitechMediaServer version 2.25.04 ================================= 15-05-2022

      !Bugfix release, fixen error -N -G

      Optimized chroot file-system.


      For those who send me a donation, thank you makes my work appreciated!

      2.25.04 runs perfectly on my TS-431P.
      Thanks Digimaster!

      Comment

      • earthbased
        Senior Member
        • Apr 2005
        • 688

        Originally posted by fidtheforce
        2.25.04 runs perfectly on my TS-431P.
        Thanks Digimaster!
        Donated recently ~50 euros. How many 🍺 is that Digimaster?

        Comment

        • digimaster
          Senior Member
          • May 2017
          • 798

          Originally posted by earthbased
          Donated recently ~50 euros. How many [emoji481] is that Digimaster?
          Thanks, I think more then enough to get drunk one night. Cheers[emoji482][emoji481]

          Verstuurd vanaf mijn Nokia 5.3 met Tapatalk
          Last edited by digimaster; 2022-05-22, 21:57.

          maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

          Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
          Several raspberry with hifiberry amp+ and picoreplayer.
          Love logitechmediaserver for it flexibel way, to play music from different sources.


          Thanks for the DONATIONS

          Comment

          • digimaster
            Senior Member
            • May 2017
            • 798


            ================== QLogitechMediaServer version 2.30.02 ================================= 27-05-2022

            + Included Perl 5.34 in all flavors
            + Build/complied LMS perl modules for all flavors to support perl 5.34
            ( armv5tel, armv7/8, aarch64/arm64, x86/i686 and amd64/X86_64 )
            - This way all the flavors are the same in version and function.
            - Keep in mind I've tested this on my QNap TS-453A a X86_64 system.
            ! If perl 5.34 wont work, it will go back to the latest supported Perl.


            Last edited by digimaster; 2022-05-28, 18:17.

            maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

            Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
            Several raspberry with hifiberry amp+ and picoreplayer.
            Love logitechmediaserver for it flexibel way, to play music from different sources.


            Thanks for the DONATIONS

            Comment

            • jasell
              Senior Member
              • May 2008
              • 360

              Originally posted by digimaster

              ================== QLogitechMediaServer version 2.30.01 ================================= 27-05-2022

              + Included Perl 5.34 in all flavors
              + Build/complied LMS perl modules for all flavors to support perl 5.34
              ( armv5tel, armv7/8, aarch64/arm64, x86/i686 and amd64/X86_64 )
              - This way all the flavors are the same in version and function.
              - Keep in mind I've tested this on my QNap TS-453A a X86_64 system.
              ! If perl 5.34 wont work, it will go back to the latest supported Perl.


              Installs quick and clean.
              Just the the odd characters related to the waiting message that also ends up on the prompt...
              Click image for larger version

Name:	console.jpg
Views:	1
Size:	137.1 KB
ID:	1575147

              How can I see what version of Perl that is now running?

              Thanks!
              NAS: QNAP TS-459U+ QTS 4.2.6 (4x 2TB, RAID5)
              Services: LMS 8.3.0 by QLMS 2.30.01 QLMS at QNAP club
              Squeezebox: 6x Receiver, 3x Boom, 2x SB3 Classic, 1x Touch
              Controller: Control by Material skin or iPeng, Local music or Spotify by Spotty

              Comment

              • jasell
                Senior Member
                • May 2008
                • 360

                Originally posted by jasell
                Installs quick and clean.
                Just the the odd characters related to the waiting message that also ends up on the prompt...
                [ATTACH]38007[/ATTACH]
                Originally posted by digimaster
                ================== QLogitechMediaServer version 2.30.01 ================================= 27-05-2022
                Looking into the file QLogitechMediaServer.sh I found the cause of these errors at row 110 from the use of ${RED} and ${NC}.
                The "garbage" at the prompt I found the remains of the "Clean up.."-message (it printed without a line-break ending up under the prompt) coming from the RECLAIM call at row 118.

                The root cause are the declaration of the color variables in .QLMS.func at row 106...
                I found this link suggesting another formatting: https://stackoverflow.com/questions/...-echo-in-linux

                So I tried this instead
                Code:
                # Set messages colors
                NC='\033[0m'              # ${NC}
                NORMAL='\033[0m'
                RED='\033[0;31m'            # ${RED}
                GREEN='\033[0;32m'          # ${GREEN}
                BLUE='\033[0;34m'           # ${BLUE}
                YELLOW='\033[0;33m'         # ${YELLOW}
                Now it runs without formatting errors.
                Click image for larger version

Name:	console2.jpg
Views:	1
Size:	129.3 KB
ID:	1575148

                However, I suggest some changes as well...
                - QLogitechMediaServer.sh @ row 110: use ${YELLOW} as this is more of an information rather than error.
                - .QLMS.func @ row 99: use ${YELLOW} as this is also an information/warning and not an error.
                - .QLMS.func @ row 99: there is \n (line-break} before the message and not after, is this intentional?
                This is what makes the prompt to write on top of this line when the script is ready.
                As long as the message is shorter than the prompt it can look nice, but as in my case, with the errors it did not.

                I'm not sure how universal my changes are, but they work on my system.
                Last edited by jasell; 2022-05-28, 13:22.
                NAS: QNAP TS-459U+ QTS 4.2.6 (4x 2TB, RAID5)
                Services: LMS 8.3.0 by QLMS 2.30.01 QLMS at QNAP club
                Squeezebox: 6x Receiver, 3x Boom, 2x SB3 Classic, 1x Touch
                Controller: Control by Material skin or iPeng, Local music or Spotify by Spotty

                Comment

                • digimaster
                  Senior Member
                  • May 2017
                  • 798




                  As this is the first release with perl 5.34 and own build LMS perl module`s, I`m very curious if it works on all flavors ?

                  You can find which perl version you are running, in the webgui under information.
                  II uses the material skin

                  Three dots right top screen, information.

                  Server

                  Versie: 8.2.1 - 1652959290 @ Thu 19 May 2022 01:37:18 PM CEST
                  Hostnaam: unknow
                  IP-adres van server: X.X.X.X
                  Besturingssysteem: QLMS 2.X (QNAP TurboStation) [Debian 9 stretch] - NL - utf8
                  Platformarchitectuur: x86_64-linux
                  Perl-versie: 5.34.1 - x86_64-linux-thread-multi
                  Audio::Scan: 1.05
                  IO::Socket::SSL: 2.070
                  Databaseversie: DBD::SQLite 1.58 (sqlite 3.22.0)


                  Curious on other users, there information.
                  especially because all flavors should run on Perl 5.34.

                  So lets see you`re LMS info here?
                  Last edited by digimaster; 2022-05-29, 09:55.

                  maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

                  Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
                  Several raspberry with hifiberry amp+ and picoreplayer.
                  Love logitechmediaserver for it flexibel way, to play music from different sources.


                  Thanks for the DONATIONS

                  Comment

                  • jasell
                    Senior Member
                    • May 2008
                    • 360

                    Originally posted by digimaster

                    Curious on other users, there information.
                    especially because all flavors should run on Perl 5.34.

                    So lets see you1 re LMS info here?
                    This is my information:
                    Code:
                    Version: 8.3.0 - 1653404108 @ Tue 24 May 2022 05:39:07 PM CEST
                    Hostname: QNAP2
                    Server IP Address: 192.168.6.3
                    Operating system: QLMS 2.X (QNAP TurboStation) [Debian 9 stretch] - EN - utf8
                    Platform Architecture: i686-linux
                    Perl Version: 5.24.4 - i386-linux-thread-multi-64int
                    Audio::Scan: 1.02
                    IO::Socket::SSL: 2.060
                    Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
                    In QLogitechMediaServer.log i ge this
                    Code:
                    [13:44:34 28-05-2022] [QLogitechMediaServer] info : Using Perl 5.24
                    [13:44:36 28-05-2022] [QLogitechMediaServer] info : Fixing owner/rights for squeezeboxserver on SlimServer/ ! 
                    [13:44:36 28-05-2022] [QLogitechMediaServer] info : Fixing owner/rights for squeezeboxserver on SlimServer/ the old way ! 
                    [13:44:40 28-05-2022] [QLogitechMediaServer] info : Starting LogitechMediaServer in the Background. 
                    [13:44:41 28-05-2022] [QLogitechMediaServer] info : LogitechMediaServer will be started with: [--daemon --httpport 9001 --user squeezeboxserver --pidfile /share/MD0_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/QLogitechMediaServer.pid --priority -10 --charset utf8 --quiet]
                    [13:44:52 28-05-2022] [QLogitechMediaServer] info : Waiting for LogitechMediaServer to become ready, can take a few minutes! 
                    [13:45:03 28-05-2022] [QLogitechMediaServer] info : LogitechMediaServer 8.3.0-1653404108 is started in the Background on [7732] !
                    [13:45:03 28-05-2022] [QLogitechMediaServer] info : In a few seconds you can access the LogitechMediaServer webgui through http://192.168.6.3:9001 !
                    [13:45:03 28-05-2022] [QLogitechMediaServer] info : LogitechMediaServer needed 30 seconds, to become ready!
                    WARNING: libsndfile may ignore -r and perform fseek's on the input.
                    Compile without libsndfile if this is a problem.
                    WARNING: libsndfile may ignore -r and perform fseek's on the input.
                    Compile without libsndfile if this is a problem.
                    ...
                    Could the warning be because of older version of Perl?
                    NAS: QNAP TS-459U+ QTS 4.2.6 (4x 2TB, RAID5)
                    Services: LMS 8.3.0 by QLMS 2.30.01 QLMS at QNAP club
                    Squeezebox: 6x Receiver, 3x Boom, 2x SB3 Classic, 1x Touch
                    Controller: Control by Material skin or iPeng, Local music or Spotify by Spotty

                    Comment

                    • digimaster
                      Senior Member
                      • May 2017
                      • 798

                      Originally posted by jasell
                      This is my information:
                      Code:
                      Version: 8.3.0 - 1653404108 @ Tue 24 May 2022 05:39:07 PM CEST
                      Hostname: QNAP2
                      Server IP Address: 192.168.6.3
                      Operating system: QLMS 2.X (QNAP TurboStation) [Debian 9 stretch] - EN - utf8
                      Platform Architecture: i686-linux
                      Perl Version: 5.24.4 - i386-linux-thread-multi-64int
                      Audio::Scan: 1.02
                      IO::Socket::SSL: 2.060
                      Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
                      In QLogitechMediaServer.log i ge this
                      Code:
                      [13:44:34 28-05-2022] [QLogitechMediaServer] info : Using Perl 5.24
                      [13:44:36 28-05-2022] [QLogitechMediaServer] info : Fixing owner/rights for squeezeboxserver on SlimServer/ ! 
                      [13:44:36 28-05-2022] [QLogitechMediaServer] info : Fixing owner/rights for squeezeboxserver on SlimServer/ the old way ! 
                      [13:44:40 28-05-2022] [QLogitechMediaServer] info : Starting LogitechMediaServer in the Background. 
                      [13:44:41 28-05-2022] [QLogitechMediaServer] info : LogitechMediaServer will be started with: [--daemon --httpport 9001 --user squeezeboxserver --pidfile /share/MD0_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/QLogitechMediaServer.pid --priority -10 --charset utf8 --quiet]
                      [13:44:52 28-05-2022] [QLogitechMediaServer] info : Waiting for LogitechMediaServer to become ready, can take a few minutes! 
                      [13:45:03 28-05-2022] [QLogitechMediaServer] info : LogitechMediaServer 8.3.0-1653404108 is started in the Background on [7732] !
                      [13:45:03 28-05-2022] [QLogitechMediaServer] info : In a few seconds you can access the LogitechMediaServer webgui through http://192.168.6.3:9001 !
                      [13:45:03 28-05-2022] [QLogitechMediaServer] info : LogitechMediaServer needed 30 seconds, to become ready!
                      WARNING: libsndfile may ignore -r and perform fseek's on the input.
                      Compile without libsndfile if this is a problem.
                      WARNING: libsndfile may ignore -r and perform fseek's on the input.
                      Compile without libsndfile if this is a problem.
                      ...
                      Could the warning be because of older version of Perl?
                      I think you need to update to the latest release 2.30.02.

                      Verstuurd vanaf mijn Nokia 5.3 met Tapatalk

                      maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

                      Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
                      Several raspberry with hifiberry amp+ and picoreplayer.
                      Love logitechmediaserver for it flexibel way, to play music from different sources.


                      Thanks for the DONATIONS

                      Comment

                      • jasell
                        Senior Member
                        • May 2008
                        • 360

                        Where do I found the latest release?
                        My qnap app-center haven’t picked it up yet and qnapclub.eu don’t even show 2.30.1


                        Sent from my iPad using Tapatalk
                        NAS: QNAP TS-459U+ QTS 4.2.6 (4x 2TB, RAID5)
                        Services: LMS 8.3.0 by QLMS 2.30.01 QLMS at QNAP club
                        Squeezebox: 6x Receiver, 3x Boom, 2x SB3 Classic, 1x Touch
                        Controller: Control by Material skin or iPeng, Local music or Spotify by Spotty

                        Comment

                        • digimaster
                          Senior Member
                          • May 2017
                          • 798

                          Originally posted by jasell
                          Where do I found the latest release?
                          My qnap app-center haven’t picked it up yet and qnapclub.eu don’t even show 2.30.1


                          Sent from my iPad using Tapatalk
                          https://www.qnapclub.eu/nl/qpkg/545

                          Verstuurd vanaf mijn Nokia 5.3 met Tapatalk

                          maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

                          Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
                          Several raspberry with hifiberry amp+ and picoreplayer.
                          Love logitechmediaserver for it flexibel way, to play music from different sources.


                          Thanks for the DONATIONS

                          Comment

                          • Cadster
                            Member
                            • Aug 2011
                            • 36

                            Thanks

                            Thanks for the upgrade, working great!

                            Comment

                            • jasell
                              Senior Member
                              • May 2008
                              • 360

                              Originally posted by digimaster
                              https://www.qnapclub.eu/nl/qpkg/545

                              Verstuurd vanaf mijn Nokia 5.3 met Tapatalk
                              Ok, I see it now. I guess there is a delay from uploaded to published.

                              It installed ok, same Perl version 5.24.4.
                              I haven’t seen the error message yet, I’ll report if it appears.

                              Please have a look at the text formatting I suggested above.


                              Sent from my iPad using Tapatalk
                              NAS: QNAP TS-459U+ QTS 4.2.6 (4x 2TB, RAID5)
                              Services: LMS 8.3.0 by QLMS 2.30.01 QLMS at QNAP club
                              Squeezebox: 6x Receiver, 3x Boom, 2x SB3 Classic, 1x Touch
                              Controller: Control by Material skin or iPeng, Local music or Spotify by Spotty

                              Comment

                              • Stilly77
                                Member
                                • Jan 2011
                                • 55

                                Thank you!

                                Appreciate the update Digimaster. I am showing Perl Version 5.34.1 ...... All is working well.

                                Logitech Media Server Version: 8.2.1 - 1652959290 @ Thu 19 May 2022 01:37:18 PM CEST
                                Hostname: TS-253D
                                Server IP Address: 192.168.x.x
                                Server HTTP Port Number: x
                                Operating system: QLMS 2.X (QNAP TurboStation) [Debian 9 stretch] - EN - utf8
                                Platform Architecture: x86_64-linux
                                Perl Version: 5.34.1 - x86_64-linux-thread-multi
                                Audio::Scan: 1.05
                                IO::Socket::SSL: 2.070
                                Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
                                Total Players Recognized: 3
                                Last edited by Stilly77; 2022-05-29, 09:20.
                                QNAP TS-253D with 4TB EXOS drives RAID 1, QTS 5.0.0

                                Comment

                                Working...