Announcement

Collapse
No announcement yet.

[Announce] Spotty v1.1.0

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

    [Announce] Spotty v1.1.0

    > So just to clarify. so does this basically convert my classic player to
    > a Spotify player that I can operate without the need of Mysqueezebox
    > running.


    No mysqueezebox.com, but Logitech Media Server.

    --

    Michael
    Michael

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

    #2
    [Announce] Spotty - the next generation Spotify implementation

    I'm happy to announce Spotty, my next generation Spotify implementation for Squeezebox. Spotty has no dependency on mysqueezebox.com, nor player firmware, and supports all types of players. It is using the open-source librespot library (https://github.com/plietar/librespot) instead of the soon to be defunct libspotify.

    Once you've installed Spotty from the plugins repository, you can safely un-install all other Spotify related plugins (official plugin, Triode's 3rd party plugin, Spotify Protocol Handler), as well as remove the Spotify app from your mysqueezebox.com account. Then go to Settings/Advanced/Spotty and follow the instructions.

    On platforms other than Windows you should be able to authorize the plugin using your mobile or desktop Spotify application. On Windows unfortunately you'll have to enter username/password (which are NOT stored in LMS).

    Spotty should run on MacOS, Windows (needs MS VC 2015 runtime, 32-bit!), and many Linux flavors (i686, x86_64, ARM HF & SF). But make sure you have the IO::Socket::SSL module installed in your environment. Spotty would tell you if you didn't.

    Spotty is known to run perfectly well on eg. Raspberry Pi 2/3. Unfortunately many NAS devices using ARMEL CPUs won't be supported (eg. ReadyNAS Duo/NX v2, some of the cheaper Synology devices). I'm currently running it on a piCorePlayer setup on Pi3, connected to the aforementioned ReadyNAS Duo v2 - and it's so much more faster than the NAS alone, it's worth it :-).

    Please note that to take full advantage of Spotty, you should install the latest LMS 7.9.1 nightly build. There is an issue seeking within a track with older builds. Other than that LMS 7.7.x should be good enough.

    Have fun!


    PS: NAS devices known to be compatible or not with Spotty at this point:
    • Synology: check out your model in the CPU architecture overview. If it's in the Intel x86-*, or armv7 section, then you're fine. Make sure you're running the latest DSM and LMSRepack or LMSUpdate. Otherwise I'm sorry.
    • ReadyNAS: The old Sparc based devices (Duo, NV), as well as their ARMv5 based successors (Duo v2, NV v2) will not work. On newer models you might need to manually install IO::Socket::SSL.
    • QNAP: similarly to Synology there are many different models. Unfortunately I haven't found a good overview. If you're on Intel, then you should be fine. ARM - depends on what exact model. You, too, might need to install IO::Socket::SSL
    Last edited by mherger; 2017-08-31, 10:58.
    Michael

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

    Comment


      #3
      I had some Problems with skipping the last seconds in Deezer and I'm going to try Spotify again. I can't find the spotty Plugin. Is there a repository I have to add? I'm using LMS 7.9 1488878280 on a Raspberry Pi 3.
      Some of my spotify playlists: Joni Mitchell covered - Johnny Cash originals

      Comment


        #4
        Originally posted by quadronado View Post
        I had some Problems with skipping the last seconds in Deezer and I'm going to try Spotify again. I can't find the spotty Plugin. Is there a repository I have to add? I'm using LMS 7.9 1488878280 on a Raspberry Pi 3.
        Same problem here

        Comment


          #5
          [Announce] Spotty - the next generationSpotify implementation

          The plugin manager does cache plugin information. It might take a few
          hours before it's showing up. Just give it another try in a bit.

          --

          Michael
          Michael

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

          Comment


            #6
            Originally posted by mherger View Post
            I'm happy to announce Spotty, my next generation Spotify implementation for Squeezebox. Spotty has no dependency on mysqueezebox.com, nor player firmware, and supports all types of players. It is using the open-source librespot library (https://github.com/plietar/librespot) instead of the soon to be defunct libspotify.

            Once you've installed Spotty from the plugins repository, you can safely un-install all other Spotify related plugins (official plugin, Triode's 3rd party plugin, Spotify Protocol Handler), as well as remove the Spotify app from your mysqueezebox.com account. Then go to Settings/Advanced/Spotty and follow the instructions.

            On platforms other than Windows you should be able to authorize the plugin using your mobile or desktop Spotify application. On Windows unfortunately you'll have to enter username/password (which are NOT stored in LMS).

            Spotty should run on MacOS, Windows (needs MS VC 2015 runtime!), and many Linux flavors (i686, x86_64, ARM HF & SF). It's known to run perfectly well on eg. Raspberry Pi 2/3. Unfortunately many NAS devices using ARMEL CPUs won't be supported (eg. ReadyNAS Duo/NX v2, some of the cheaper Synology devices). I'm currently running it on a piCorePlayer setup on Pi3, connected to the aforementioned ReadyNAS Duo v2 - and it's so much more faster than the NAS alone, it's worth it :-).

            Please note that to take full advantage of Spotty, you should install the latest LMS 7.9.1 nightly build. There is an issue seeking within a track with older builds. Other than that LMS 7.7.x should be good enough.

            Have fun!
            You forgot to say that the IO:Socket:SSL module is required.

            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


              #7
              Originally posted by mherger View Post
              On platforms other than Windows you should be able to authorize the plugin using your mobile or desktop Spotify application. On Windows unfortunately you'll have to enter username/password (which are NOT stored in LMS).
              In the beta thread I forgot to mention I had to authorize via username/password on my Synology DS 716+ II. Didn't spend much time trying to authorize via app though. Using username/password method worked immediately.

              Some are talking about a requirement for IO:Socket:SSL. This probably means that the plugin wont work on for example my previous LMS server, the Netgear ReadyNAS Ultra II (i686-linux, RAIDiator 4.2.31, Perl 5.8.8).
              Last edited by Stig Nygaard; 2017-07-08, 07:10.
              /Stig
              rockland.dk - last.fm/user/rockland - discogs.com/user/StigNygaard - flickr.com/photos/stignygaard
              Server: LMS 8.1.1(LmsUpdate) - 1610364019 @ Jan 14 2021 on Synology DS716+II (DSM6.2+Perl5.24). Clients: RPi3 (Max2Play, 7" touch, HiFiBerry Digi+ Pro), SB Touch, OrangeSqueeze/SqueezePlayer. Main HiFi: Marantz PM6005 & F3/Lyd Audiovector 2.

              Try my Art Grabr for fetching big cover-art from various sites - And Album Linkr for a better last.fm desktop browser experience...

              Comment


                #8
                Just installed it on the latest LMS 7.9.1 running on a Windows Server 2012R2.

                It all works great on my RPi/squeezelite based players and even a UPNP bridge fake player, which didn't work before.

                Thanks for keeping it alive!

                I've noticed the Ogg files are transcoded to FLAC. Is that necessary or is it something I've set up at some point?

                Also, I've noticed that it's possible to add multiple accounts. Is it then possible to have them somehow separated in the menu structure, so that my partner and I don't mix our, errrm, disparate musical tastes by playing from my library always?

                Comment


                  #9
                  [Announce] Spotty - the next generationSpotify implementation

                  > You forgot to say that the IO:Socket:SSL module is required.

                  Thanks - added.


                  --

                  Michael
                  Michael

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

                  Comment


                    #10
                    [Announce] Spotty - the next generationSpotify implementation

                    > I've noticed the Ogg files are transcoded to FLAC. Is that necessary or
                    > is it something I've set up at some point?


                    librespot (https://github.com/plietar/librespot), the library doing the
                    heavy lifting in the background, would only return PCM data to LMS. I
                    decided to compress that data to flac for improved compatibility and its
                    lower bandwidth usage. But you can turn it off in Settings/Advanced/File
                    Formats if you want lowest CPU overhead on your system.

                    > Also, I've noticed that it's possible to add multiple accounts. Is it
                    > then possible to have them somehow separated in the menu structure, so
                    > that my partner and I don't mix our, errrm, disparate musical tastes by
                    > playing from my library always?


                    If you added multiple accounts, you'd have a menu item at the bottom to
                    pick what account to use on any given player.

                    --

                    Michael
                    Michael

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

                    Comment


                      #11
                      I have a problem starting Spotty.

                      Here is the info Logitech Media Server Version: 7.9.1 - 1498799744 @ Fri Jun 30 05:36:21 UTC 2017


                      There has been a problem running the Spotty helper application. Most likely your operating system and/or platform is not supported. Please report the following details to me:

                      Operating system: Debian / armv7l-linux

                      Helper Applications Folder:
                      /usr/share/squeezeboxserver/Bin/arm-linux
                      /usr/share/squeezeboxserver/Bin
                      /usr/local/sbin
                      /usr/local/bin
                      /sbin
                      /bin
                      /usr/sbin
                      /usr/bin
                      /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS/Bin
                      /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayWMA/Bin
                      /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin
                      /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux
                      /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin
                      ldd (Debian EGLIBC 2.13-38+deb7u11) 2.13

                      Comment


                        #12
                        [Announce] Spotty - the next generationSpotify implementation

                        > There has been a problem running the Spotty helper application. Most
                        > likely your operating system and/or platform is not supported. Please
                        > report the following details to me:
                        >
                        > Operating system: Debian / armv7l-linux


                        Did you ever try the Spotty beta? Could you try to run the spotty binary
                        from the command line to see what that gives? Enable plugin.spotty debug
                        logging to see what commands it's trying to execute.

                        What kind of device is this?

                        --

                        Michael
                        Michael

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

                        Comment


                          #13
                          My setup is a Raspberry Pi B running DietPi (Debian) with Logitech Media Server and SqueeLite (so player and server on 1 device). Sound is outputted on a HiFiBerry DAC. Like to say that Spotty is running very smooth!
                          Last edited by frisser; 2017-07-06, 13:54.
                          Logitech Squeezebox Touch
                          Logitech Squeezebox Radio

                          LMS running on CuBox-i4Pro

                          Comment


                            #14
                            Set Release Radar and Discover Weekly as Favorites?

                            Hi.

                            In the closed thread "The Spotty Spotify implementation," user usc95 indicated he was able to set Spotify's "Release Radar" and "Discover Weekly" dynamic playlists as Favorites and provided a screenshot showing that s/he had done so. I am a Spotty user and although I can access RR and DW with no problem, it would be nice to also set them as Favorites, which so far I have not been able to do.

                            I noted that usc95 is using Ipeng. I am an Orange Squeeze user. Can anyone tell me whether it is the case that while Ipeng can set RR and DW as Favorites, Orange Squeeze cannot? And if Orange Squeeze can do so, will someone give me a hint?

                            Many thanks to Michael for Spotty, which I am thoroughly enjoying!!

                            Comment


                              #15
                              Originally posted by mherger View Post

                              Once you've installed Spotty from the plugins repository, you can safely un-install all other Spotify related plugins (official plugin, Triode's 3rd party plugin, Spotify Protocol Handler), as well as remove the Spotify app from your mysqueezebox.com account. Then go to Settings/Advanced/Spotty and follow the instructions.

                              On platforms other than Windows you should be able to authorize the plugin using your mobile or desktop Spotify application. On Windows unfortunately you'll have to enter username/password (which are NOT stored in LMS).
                              Thanks, the first impressions on my RPI/Hifiberry are great!
                              I have two questions:
                              1 - I presume for the initial authorization you have to run the mobile / desktop Spotify application on the same device where LMS is running? I had to use the username/password solution on my LMS/Linux system because using the client on other devices didn't work.
                              2 - After disabling the Official Spotify plugin & Spotify Protocol handler from LMS: is the cache deleted as well? Or do I have to remove it manually? If so: which files/dirs do I have to remove in /var/lib/squeezeboxserver/cache etc.?
                              Living Room: RPI2+HifiBerry DAC+ Pro & piCorePlayer
                              Attic: RPI2+HifiBerry DAC+ RCA & piCorePlayer
                              Other rooms: 6x SB Radio
                              LMS: Version 8.3.0 on Xubuntu 22.04LTS

                              Comment

                              Working...
                              X