Announcement

Collapse
No announcement yet.

[Announce] Spotify Protocol Handler - play Spotify on all your Squeezeboxen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Announce] Spotify Protocol Handler - play Spotify on all your Squeezeboxen

    Ok, here it is: based on Triode's great work I'm providing my latest
    plugin, the Spotify Protocol Handler.

    What does it do?

    The Spotify Protocol Handler plugin allows you to stream Spotify content
    not only to the officially supported SB Radio and SB Touch, but to SB
    Classic, SB Boom, SB Receiver and the Transporter, too. And yes,
    whatever SB emulator you're using should work as well. As an additional
    bonus the Spotify Protocol Handler plugin will give you full access to
    Logitech's Spotify app from players which are not officially supported.

    How is it different from Triode's Spotify plugin?

    The Spotify Protocol Handler doesn't provide any browsing or content
    management. You'll need to install Logitech's Spotify app to have access
    to Spotify, too. Triode's plugin starts to suffer from Spotify's
    changing of API. And as it's no longer maintained, and Logitech's new
    implementation is so great, the Spotify Protocol Handler is combining
    the best of both worlds.

    Should I uninstall Triode's Spotify plugin before installing the Spotify
    Protocol Handler?

    If you're happy with Spotify's plugin, then there's no need to change
    anything. If you'd prefer to use Logitech's Spotify implementation while
    using any of the non-supported players, then you'll need the Spotify
    Protocol Handler plugin. If you have both in place, the Spotify Protocol
    Handler will not initialize, as it doesn't add anything to Triode's
    implementation.

    Does it work with the SmartMix plugin?

    Of course!

    --

    Michael
    Last edited by mherger; 2016-02-13, 15:47.
    Michael

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

    #2
    Just for fun I tried it on my Windows 10 LMS 7.9 server, but it didn't play Spotify songs. The original Triode plugin, in combination with the official Logitech plugin, does work. (I removed the Triode plugin before installing the SpotifyProtocolHandler)

    Best regards,
    Dennis.
    Last edited by verypsb; 2016-02-13, 17:37.
    Please vote:
    bug 1330 New music should work on creation date
    bug 17963 New and changed doesn't handle changed files
    bug 17799 Use a separator such as 'Also appears on' when viewing the albums by an artist
    bug 18054 Add support for 'Set Subtitle'/'Disc Subtitle' (ID3v2.4 TSST/ID3V2.3 TIT3)
    1x Boom, 1x Classic, 4x Controller, 1x Radio, 4x Receiver, 2x Touch

    Comment


      #3
      You did enter your Spotify credentials, didn't you? In the new plugin, not Triode's?
      Michael

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

      Comment


        #4
        Hi Michael,

        Yes, I did, twice. (only the password, my username was already shown in the new plugin.) Any log file I should check? serverlog.txt
        If I remove the SpotifyProtocolHandler and reinstall the 3rd party Spotify plugin it works as expected.

        Best regards,
        Dennis.

        p.s. Exactly the support troubles you didn't want, sorry...
        Last edited by verypsb; 2016-02-13, 18:00.
        Please vote:
        bug 1330 New music should work on creation date
        bug 17963 New and changed doesn't handle changed files
        bug 17799 Use a separator such as 'Also appears on' when viewing the albums by an artist
        bug 18054 Add support for 'Set Subtitle'/'Disc Subtitle' (ID3v2.4 TSST/ID3V2.3 TIT3)
        1x Boom, 1x Classic, 4x Controller, 1x Radio, 4x Receiver, 2x Touch

        Comment


          #5
          [Announce] Spotify Protocol Handler -play Spotify on all your Squeezeboxen

          > Yes, I did, twice. (only the password, my username was already shown in
          > the new plugin.) Any log file I should check?


          What does the selftest etc. say? Yeah, exactly what I didn't want... Simply because I have no idea about those issues. In my case entering credentials always fixed my issues.

          What OS, LMS version etc?

          > If I remove the SpotifyProtocolHandler and reinstall the 3rd party
          > Spotify plugin it works as expected.


          The two plugins use a distinct set of preferences. And if you were using a firewall you might have to enable access for the new helper. And a look in the server.log should be routine.

          Michael

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

          Comment


            #6
            Unable to configure Spotify Protocol handler plugin

            Hi,
            I tried to configure this plugin, but i get this error
            404 Not Found: plugins/Extensions/settings/plugins/SpotifyProtocolHandler/settings/basic.html
            When I click on Parameters in the Plugins section of Logitech Media Server

            I install the plugin from the plugin list in LMS web interface and i did restart the server.
            I'm using LMS logitechmediaserver_7.9.0~1455360998_amd64.deb on a Linux machine.

            Any idea ?

            Comment


              #7
              Originally posted by mherger View Post
              ...if you were using a firewall you might have to enable access for the new helper.
              Thanks Michael!

              I forgot that I had to add the spotifyd.exe to the firewall exceptions in Windows (which I had done previously for the 3rd party Spotify plugin). Since the file location of the helper app changed, I had to re-add spotifyd.exe for SpotifyProtocolHandler plugin.

              Best regards,
              Dennis.
              Please vote:
              bug 1330 New music should work on creation date
              bug 17963 New and changed doesn't handle changed files
              bug 17799 Use a separator such as 'Also appears on' when viewing the albums by an artist
              bug 18054 Add support for 'Set Subtitle'/'Disc Subtitle' (ID3v2.4 TSST/ID3V2.3 TIT3)
              1x Boom, 1x Classic, 4x Controller, 1x Radio, 4x Receiver, 2x Touch

              Comment


                #8
                Originally posted by naguirre View Post
                Hi,
                I tried to configure this plugin, but i get this error
                404 Not Found: plugins/Extensions/settings/plugins/SpotifyProtocolHandler/settings/basic.html
                When I click on Parameters in the Plugins section of Logitech Media Server

                I install the plugin from the plugin list in LMS web interface and i did restart the server.
                I'm using LMS logitechmediaserver_7.9.0~1455360998_amd64.deb on a Linux machine.

                Any idea ?
                Yes this is what I found too

                Comment


                  #9
                  [Announce] Spotify Protocol Handler -play Spotify on all your Squeezeboxen

                  Can you navigate to Settings/Advanced/Spotify Protocol Handler?

                  > Am 13.02.2016 um 20:12 schrieb naguirre <naguirre.7b1l5b (AT) no-mx (DOT) forums.slimdevices.com>:
                  >
                  >
                  > Hi,
                  > I tried to configure this plugin, but i get this error
                  > 404 Not Found:
                  > plugins/Extensions/settings/plugins/SpotifyProtocolHandler/settings/basic.html
                  >
                  > When I click on Parameters in the Plugins section of Logitech Media
                  > Server
                  >
                  > I install the plugin from the plugin list in LMS web interface and i did
                  > restart the server.
                  > I'm using LMS logitechmediaserver_7.9.0~1455360998_amd64.deb on a Linux
                  > machine.
                  >
                  > Any idea ?
                  >
                  >
                  > ------------------------------------------------------------------------
                  > naguirre's Profile: http://forums.slimdevices.com/member.php?userid=65418
                  > View this thread: http://forums.slimdevices.com/showthread.php?t=105187
                  >
                  >
                  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] Spotify Protocol Handler -play Spotify on all your Squeezeboxen

                    > I tried to configure this plugin, but i get this error
                    > 404 Not Found:
                    > plugins/Extensions/settings/plugins/SpotifyProtocolHandler/settings/basic.html


                    Could you please check the server.log file for any error message?

                    --

                    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
                      Originally posted by mherger View Post
                      > I tried to configure this plugin, but i get this error
                      > 404 Not Found:
                      > plugins/Extensions/settings/plugins/SpotifyProtocolHandler/settings/basic.html


                      Could you please check the server.log file for any error message?

                      --

                      Michael

                      Same here with me

                      Code:
                      [16-02-14 00:48:09.8778] Plugins::Spotify::ProtocolHandler::__ANON__ (243) error fetching track data: Error reading headers: Server closed connection without sending any data back at /usr/share/squeezeboxserver/CPAN/Net/HTTP/Methods.pm line 306.
                              ...propagated at /usr/share/squeezeboxserver/CPAN/Net/HTTP/NB.pm line 32.

                      Comment


                        #12
                        Thank You!

                        Thank You!

                        It would be nice to have:

                        Save To Favorites
                        Delete Favorite
                        Play Next

                        in addition to Track, Artist, Album ....

                        Can I make a donation?

                        Thank You!

                        Comment


                          #13
                          In a pinch here's what i did as a workaround.....(already somebody else's workaround).

                          First i loaded the Spotify Protocol Handler and got the error I posted above about error 404.

                          I backed up and installed it manually. That almost worked but the helper app would not start.

                          What works for now is to go into the Triode app and uncheck "Show In Apps" then "sudo service logitechmediaserver restart" (Raspberry Pi).

                          Then the official app with green icon shows up and then you can use the search function normally.

                          Not as good as the Triode app with tagging and such but it works which is better than not working and not able to search.

                          Having lurked here for years and using LMS I can guess somebody will hash this out relatively soon because that's what always happens here.

                          Comment


                            #14
                            Originally posted by riffle View Post
                            Thank You!

                            It would be nice to have:

                            Save To Favorites
                            Delete Favorite
                            Play Next

                            in addition to Track, Artist, Album ....

                            Can I make a donation?

                            Thank You!
                            To clarify it is when using IPeng and you hold down on the song in the now playing playlist....

                            Comment


                              #15
                              Originally posted by hagensieker View Post
                              Same here with me

                              Code:
                              [16-02-14 00:48:09.8778] Plugins::Spotify::ProtocolHandler::__ANON__ (243) error fetching track data: Error reading headers: Server closed connection without sending any data back at /usr/share/squeezeboxserver/CPAN/Net/HTTP/Methods.pm line 306.
                                      ...propagated at /usr/share/squeezeboxserver/CPAN/Net/HTTP/NB.pm line 32.

                              I have several LMS / Squeezelite Pi's in my home. On another system I uninstalled Triode's plugin and then added the SPHandler and it worked perfectly with the official app.

                              So I went back to the computer that gave me the log entry above and updated LMS to 7.9 latest and then uninstalled Triode's plugin, restarted the server then added the SPH and it works perfectly.

                              Just one question. Is this going to be the new way forward? Is the Triode plugin dead?

                              I'm good with it either way or any way. Just glad it works. I liked the way the Triode plugin saved stuff however I seldom save anything I usually just search and stream. I liked the similar artists thing as well.

                              Great work on the SPH thing and getting us working!. Greatly appreciated.

                              Comment

                              Working...
                              X