Announcement

Collapse
No announcement yet.

The Spotty Spotify implementation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by mherger
    Could you please check whether you get 0.7.1 with the correct binary?
    I do! 0.7.1 is working fine again.

    Thank you!

    Comment


    • Probably old news... but managed to install Spotty on my Synology DS214 NAS yesterday and haven't managed to make it go wrong yet.

      A seamless change, currently using it with the official app and all working well. I notice that the conversion is to PCM rather than FLAC. Despite that, the excess bandwidth needed to play on my old Duet kit has not caused a problem yet.

      Let us hope Spotify don't manage to deprecate or break this one as well!

      Many, many, thanks for all your hard work Mr Herger.
      Matt
      SqueezeBoxes: 2 x piCorePlayers
      Server: One of the piCorePlayers
      Livingroom: pCP, Linn LP12, Naim 72/Hi-cap/110/Headline amp, B&W CM2 speakers
      Dining: piCorePlayer, Steljes NS3 active speakers

      Comment


      • > A seamless change, currently using it with the official app and all
        > working well. I notice that the conversion is to PCM rather than FLAC.
        > Despite that, the excess bandwidth needed to play on my old Duet kit has
        > not caused a problem yet.
        You can enable PCM -> FLAC transcoding in Settings/Advanced/File Formats.

        > Let us hope Spotify don't manage to deprecate or break this one as
        > well!
        Indeed!...
        Michael

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

        Comment


        • Originally posted by mherger
          You can enable PCM -> FLAC transcoding in Settings/Advanced/File Formats.
          Not sure where. In the file type settings PCM is not given as a file type, only a steam format.
          There is a "Spotty" file format with the following options:
          Flac - Spottymushf / flac (currently disabled)
          MP3 - spottymushf / lame
          PCM - spottymushf

          I will try selecting Spottymushf / flac next to the flac stream format and see what happens.

          I must admit to being totally perplexed by this settings page. I have never managed to get to the bottom of what it all means or how changing the settings changes the transcoding behavior of LMS. I did not find the wiki much help on the subject.

          EDIT: OK, that worked - not sure why! Are the stream format to decoder choices for each file type listed in preference order top to bottom? If so, why did the stream default to PCM, bypassing MP3? Lame is installed properly on my system and the Receiver can decode MP3 natively.
          Last edited by TheLastMan; 2017-06-22, 22:27.
          Matt
          SqueezeBoxes: 2 x piCorePlayers
          Server: One of the piCorePlayers
          Livingroom: pCP, Linn LP12, Naim 72/Hi-cap/110/Headline amp, B&W CM2 speakers
          Dining: piCorePlayer, Steljes NS3 active speakers

          Comment


          • Originally posted by TheLastMan
            OK, that worked - not sure why! Are the stream format to decoder choices for each file type listed in preference order top to bottom? If so, why did the stream default to PCM, bypassing MP3? Lame is installed properly on my system and the Receiver can decode MP3 natively.
            TBH I'm not 100% show about the order. But lossless is always preferable over lossy. Therefore PCM/FLAC is preferred over MP3.
            Michael

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

            Comment


            • Originally posted by mherger
              TBH I'm not 100% show about the order. But lossless is always preferable over lossy. Therefore PCM/FLAC is preferred over MP3.
              I have just noticed that Spotty 0.70 is streaming tracks as PCM rather than FLAC. It used to stream FLAC. Did something change?

              Sent from my SM-G900F using Tapatalk
              Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
              Bedroom: Radio
              Bathroom: Radio

              Comment


              • Originally posted by TheLastMan
                Not sure where. In the file type settings PCM is not given as a file type, only a steam format.
                There is a "Spotty" file format with the following options:
                Flac - Spottymushf / flac (currently disabled)
                MP3 - spottymushf / lame
                PCM - spottymushf

                I will try selecting Spottymushf / flac next to the flac stream format and see what happens.

                I must admit to being totally perplexed by this settings page. I have never managed to get to the bottom of what it all means or how changing the settings changes the transcoding behavior of LMS. I did not find the wiki much help on the subject.

                EDIT: OK, that worked - not sure why! Are the stream format to decoder choices for each file type listed in preference order top to bottom? If so, why did the stream default to PCM, bypassing MP3? Lame is installed properly on my system and the Receiver can decode MP3 natively.
                My FLAC setting was disabled as well somehow. As you say selecting it solves the issue.

                Sent from my SM-G900F using Tapatalk
                Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                Bedroom: Radio
                Bathroom: Radio

                Comment


                • > I have just noticed that Spotty 0.70 is streaming tracks as PCM rather
                  > than FLAC. It used to stream FLAC. Did something change?
                  What platform are you using it on?

                  I did indeed change it to default to PCM on non-x86 hardware. Should lower the CPU load (at the cost of bandwidth). But maybe it's premature optimization, as a Pi esily can handle the transcodig.
                  Michael

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

                  Comment


                  • Originally posted by mherger
                    > I have just noticed that Spotty 0.70 is streaming tracks as PCM rather
                    > than FLAC. It used to stream FLAC. Did something change?
                    What platform are you using it on?

                    I did indeed change it to default to PCM on non-x86 hardware. Should lower the CPU load (at the cost of bandwidth). But maybe it's premature optimization, as a Pi esily can handle the transcodig.
                    I'm using a Pi3.

                    Sent from my SM-G900F using Tapatalk
                    Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                    Bedroom: Radio
                    Bathroom: Radio

                    Comment


                    • Originally posted by mherger
                      > I have just noticed that Spotty 0.70 is streaming tracks as PCM rather
                      > than FLAC. It used to stream FLAC. Did something change?
                      What platform are you using it on?

                      I did indeed change it to default to PCM on non-x86 hardware. Should lower the CPU load (at the cost of bandwidth). But maybe it's premature optimization, as a Pi esily can handle the transcodig.
                      I thought I would check CPU usage with top under both settings.
                      With FLAC the process spotty-muslhf peaks at around 50% at the start of a track then falls back to 5-8% and the process flac peaks at 7% then falls back to around 1.7%.
                      With PCM the process spotty-muslhf peaks at around 37-40% then falls back to 5-8%.
                      The peak CPU is reduced from around 57% to around 37% using PCM.

                      Sent from my SM-G900F using Tapatalk
                      Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                      Bedroom: Radio
                      Bathroom: Radio

                      Comment


                      • This is working flawless, thank you. I have a whole assortment of Squeezebox Receivers, Radios and Raspberry Pi's on this and it's nice to have more menu options in Spotify, not as many as the Spotify App but good enough. Thanks again.

                        Sent from my SM-N920T using Tapatalk
                        Using Tapatalk

                        Comment


                        • Originally posted by RSJ
                          This is working flawless, thank you. I have a whole assortment of Squeezebox Receivers, Radios and Raspberry Pi's on this and it's nice to have more menu options in Spotify, not as many as the Spotify App but good enough.
                          What features are your missing?
                          Michael

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

                          Comment


                          • The App on my phone will give me custom playlist and recommendations based on listening history whereas this Spotify only gives basic menu options like the ability to choose playlist based on genre and other basic options. It's definitely a big improvement over the previous Spotify plugin but not a full featured Spotify app, unless I've missed something somewhere down the line.

                            Sent from my SM-N920T using Tapatalk
                            Using Tapatalk

                            Comment


                            • Originally posted by RSJ
                              The App on my phone will give me custom playlist and recommendations based on listening history whereas this Spotify only gives basic menu options like the ability to choose playlist based on genre and other basic options. It's definitely a big improvement over the previous Spotify plugin but not a full featured Spotify app, unless I've missed something somewhere down the line.

                              Sent from my SM-N920T using Tapatalk
                              I can send some screen shots if that will help clarify.

                              Sent from my SM-N920T using Tapatalk
                              Using Tapatalk

                              Comment


                              • Spotty on QNAP in LMS Docker container

                                Originally posted by mherger
                                Anyone tried this? I'm about to release an update. And I would like to include this fix if it did work out for you.
                                Michael, with spotty 0.7.1. everything works fine now. Sorry I couldn't test sooner, but I was off this week for work related training.

                                Comment

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