Announcement

Collapse
No announcement yet.

LMS 8.1.1 and Max2Play / Napster-Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • LMS 8.1.1 and Max2Play / Napster-Problem

    > Sadly, family members do not tell me about problems when they occur,
    > only weeks later like "... und Napster geht ja auch sowieso gar nicht
    > mehr." It could be some weeks ago after the last community hardware for


    Hehe... I know that!

    > Squeezebox radio, otherwise I did not change anything. Does it work for
    > others? When i downgraded to firmware 7.94 the Message was
    > „Napster wird auf diesem Player nicht unterstützt. Sie benötigen
    > eine Squeezebox 2 oder höher." After updating again to 8.2, the error is
    > like it used to be with the one of the early version of 8.1.1 - Display
    > shows cover artwork and playing time advances, but there is no sound.


    Ok, here's something you can try - if you feel comfortable editing a
    text file. Please find your installation's RhapsodyDirect folder. Hints
    about where it might be stored gives Settings/Information: it's below
    the Slim/Plugin folder.

    Now open the Slim/Plugin/RhapsodyDirect/ProtocolHandler.pm file in a
    text editor (vi, nano, pico - whatever you can handle). Jump to around
    line 187 and put a # in front of the return. See
    https://github.com/Logitech/slimserv...andler.pm#L187.
    Then restart LMS and try Napster again.

    --
    Logitech Media Server Version in Max2Play 7.9 (Raspberry 3B, 4 x Squeezebox Radio, 1 x Squeezebox Boom, 2 x Squeezebox Duet, iPeng (iOS), Squeeze Play (Android). Amazon Echo, 3 x Echo Dot (sadly not connected to LMS).

  • #2
    LMS 8.1.1 and Max2Play / Napster-Problem

    I am running Logitech Media Server on Max2Play on a Raspberry 4b. After i installed the Debian version of LMS 8.1.1 Napster would not play (songs would be shown as if they were playing but no sound). Is this an official problem? I remember there had been such a problem after Napster switched to a new encryption years ago.
    Logitech Media Server Version in Max2Play 7.9 (Raspberry 3B, 4 x Squeezebox Radio, 1 x Squeezebox Boom, 2 x Squeezebox Duet, iPeng (iOS), Squeeze Play (Android). Amazon Echo, 3 x Echo Dot (sadly not connected to LMS).

    Comment


    • #3
      Same issue with LMS 8.1.1 on Win 10 and a Squeezebox Touch

      I see the same issue with LMS 8.1.1 on Win 10 and a Squeezebox Touch (7.8.0-r16754). When I try to play a song:

      Streaminfos werden geladen...
      Verbindung wird hergestellt ...
      Puffer wird gefüllt ... 99%

      It seems to play the song but there's no sound. The Pause button doesn't work, the progress bar doesn't move, no play time indicator.

      Logfiles:

      SBT:
      Jan 7 03:06:34 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:502 _menuSink(1) nil menuDirective: add isCurrentServer:true
      Jan 7 03:06:34 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:802 hiding any 'connecting to server' popup after menu response from current server, SlimServer {Laptop}
      Jan 7 03:06:34 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:543 Hiding popup, exists?: nil
      Jan 7 03:06:35 squeezeplay: INFO audio.decode - decode_start_handler:279 init decoder aac
      Jan 7 03:06:35 squeezeplay: INFO audio.decode - Playback.lua:477 connect 192.168.178.27:9000 GET /stream.mp3?player=00:04:20:22:4c:c9 HTTP/1.0^M


      LMS:
      LMS.txt

      Comment


      • #4
        Originally posted by csccsc
        I see the same issue with LMS 8.1.1 on Win 10 and a Squeezebox Touch (7.8.0-r16754). When I try to play a song:

        Streaminfos werden geladen...
        Verbindung wird hergestellt ...
        Puffer wird gefüllt ... 99%

        It seems to play the song but there's no sound. The Pause button doesn't work, the progress bar doesn't move, no play time indicator.

        Logfiles:

        SBT:
        Jan 7 03:06:34 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:502 _menuSink(1) nil menuDirective: add isCurrentServer:true
        Jan 7 03:06:34 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:802 hiding any 'connecting to server' popup after menu response from current server, SlimServer {Laptop}
        Jan 7 03:06:34 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:543 Hiding popup, exists?: nil
        Jan 7 03:06:35 squeezeplay: INFO audio.decode - decode_start_handler:279 init decoder aac
        Jan 7 03:06:35 squeezeplay: INFO audio.decode - Playback.lua:477 connect 192.168.178.27:9000 GET /stream.mp3?player=00:04:20:22:4c:c9 HTTP/1.0^M


        LMS:
        [ATTACH]32869[/ATTACH]
        Can you edit C:\Program Files (x86)\Squeezebox\server\Slim\Plugin\RhapsodyDirect \ProtocolHandler, line 31 which says
        Code:
        sub formatOverride { aac }
        And remove it or comment it out (add a # at the beginning)
        Last edited by philippe_44; 2021-01-07, 05:47.
        LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

        Comment


        • #5
          Same behavior

          Originally posted by philippe_44
          Can you edit C:\Program Files (x86)\Squeezebox\server\Slim\Plugin\RhapsodyDirect \ProtocolHandler, line 31 which says
          Code:
          sub formatOverride { aac }
          And remove it or comment it out (add a # at the beginning)
          Thanks philippe_44. I made the change and restarted LMS. Different logfile (LMS2.txt), but same behavior in SBT.
          The issue seems to be client side, SBT seems to have a problem decoding the aac stream?

          I set the log levels for audio.codec and audio.decode to DEBUG on the SBT.
          Here the logfile:SBT.txt

          It shows sync errors resulting in a buffer underrun:
          Jan 7 17:22:18 squeezeplay: DEBUG audio.codec - src/decode_aac.c:124 sync error 4096 0
          Jan 7 17:22:18 squeezeplay: DEBUG audio.codec - src/decode_aac.c:140 error 2008
          Jan 7 17:22:18 squeezeplay: DEBUG audio.decode - Playback.lua:320 status DECODE UNDERRUN
          Last edited by csccsc; 2021-01-07, 16:36.

          Comment


          • #6
            Originally posted by philippe_44
            Can you edit C:\Program Files (x86)\Squeezebox\server\Slim\Plugin\RhapsodyDirect \ProtocolHandler, line 31 which says
            Code:
            sub formatOverride { aac }
            And remove it or comment it out (add a # at the beginning)
            I always thought you cannot change source code for LMS on Windows it is an EXE which get decompressed when it is run.

            Comment


            • #7
              LMS 8.1.1 and Max2Play /Napster-Problem

              >> And remove it or comment it out (add a # at the beginning)
              >
              > I always thought you cannot change source code for LMS on Windows it is
              > an EXE which get decompressed when it is run.


              Not sure about the Plugin folder. Please double check.

              --

              Michael
              Michael

              "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
              (LMS: Settings/Information)

              Comment


              • #8
                Originally posted by csccsc
                Thanks philippe_44. I made the change and restarted LMS. Different logfile ([ATTACH]32877[/ATTACH]), but same behavior in SBT.
                The issue seems to be client side, SBT seems to have a problem decoding the aac stream?

                I set the log levels for audio.codec and audio.decode to DEBUG on the SBT.
                Here the logfile:[ATTACH]32880[/ATTACH]

                It shows sync errors resulting in a buffer underrun:
                Jan 7 17:22:18 squeezeplay: DEBUG audio.codec - src/decode_aac.c:124 sync error 4096 0
                Jan 7 17:22:18 squeezeplay: DEBUG audio.codec - src/decode_aac.c:140 error 2008
                Jan 7 17:22:18 squeezeplay: DEBUG audio.decode - Playback.lua:320 status DECODE UNDERRUN
                I'm pretty sure the issue is that the Touch receives the wrong indication of codec. It's a bit confusing the way it's done in LMS and I also have made a fair bit of changes recently. The idea is that LMS sends the same codec type for mp4 and aac (type 'a') and then sends a sub-type info '2' is this is mp4 encapsulation and '5' is this is raw aac ADTS frames. The modifications I'm doing in LMS rationalize codec naming and now when a source is mp4, it shall remain mp4. We change that for other plugins / inside LMS but I'm really convinced that I missed Napster which forced type to be 'aac'. I can't test as I don't have a Napster account.

                Now, as @bpa says; I'm not 100% sure that modifying the plugin folder in Windows works.
                LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                Comment


                • #9
                  I was able to use my brother's Napster account. I can confirm that this is the issue. I'll send a PR later.

                  I'm not sure about how Windows works wrt plugin folder.
                  LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                  Comment


                  • #10
                    First of all I want to say a big THANK YOU for the great and timely support in this forum!

                    Wrt changing source code for LMS on Windows: I had done the suggested change (edit C:\Program Files (x86)\Squeezebox\server\Slim\Plugin\RhapsodyDirect \ProtocolHandler.pm, line 31) and this had an effect after restarting LMS as the logfile indicates. So as Michael said, you cannot change the source code of LMS in Windows as it is a compiled binary, but it seems that you can change the source code for plugins.

                    Comment


                    • #11
                      Originally posted by csccsc
                      First of all I want to say a big THANK YOU for the great and timely support in this forum!

                      Wrt changing source code for LMS on Windows: I had done the suggested change (edit C:\Program Files (x86)\Squeezebox\server\Slim\Plugin\RhapsodyDirect \ProtocolHandler.pm, line 31) and this had an effect after restarting LMS as the logfile indicates. So as Michael said, you cannot change the source code of LMS in Windows as it is a compiled binary, but it seems that you can change the source code for plugins.
                      So does it work for you now?
                      LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                      Comment


                      • #12
                        No, unfortunately it doesn't.

                        "Thanks philippe_44. I made the change and restarted LMS. Different logfile (Attachment 32877), but same behavior in SBT.
                        The issue seems to be client side, SBT seems to have a problem decoding the aac stream?"

                        Comment


                        • #13
                          Originally posted by csccsc
                          No, unfortunately it doesn't.

                          "Thanks philippe_44. I made the change and restarted LMS. Different logfile (Attachment 32877), but same behavior in SBT.
                          The issue seems to be client side, SBT seems to have a problem decoding the aac stream?"
                          Did you install latest nightly?
                          LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                          Comment


                          • #14
                            Actually I just discovered that you fixed it in the latest nightly build which I just installed (LogitechMediaServer-8.1.1-1610082237.exe) and now it works!
                            Thanks so much!!!

                            Comment


                            • #15
                              now the problem has returned for me, with lms 8.1.x it said the squeezebox i am using is not supported, i should use squeezebox 2. Of course i use squeezebox radio. I updgraded to the new nightly build of lms 8.2 and now it behaves with the same problem i reported when i started this thread. It loads the cover art, seems to play the song but there is no sound. Could the community firmware for squeezebox radio be the problem? Or did the fix in 8.1.1 vanish somehow?
                              Logitech Media Server Version in Max2Play 7.9 (Raspberry 3B, 4 x Squeezebox Radio, 1 x Squeezebox Boom, 2 x Squeezebox Duet, iPeng (iOS), Squeeze Play (Android). Amazon Echo, 3 x Echo Dot (sadly not connected to LMS).

                              Comment

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