Announcement

Collapse
No announcement yet.

Announce: Spotify Premium Plugin (Beta)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by pete the feet
    Playlists are acting up and generally not working. they have been a bit sluggish for a while, but yesterday I had to turn off the mains then Squeeze wouldn't work at all. i have since re-installed, selecting tracks, albums, top 100 etc all work but Playlists seems to fall over, timeout in log file. Sometimes the list of platlists shows other times it doesn't, either way the tracks will not play.
    It seems to have gone a bit wooly since they introduced the folder option on Spotify.
    Any suggestions.
    What does the helper app log say? I suspect this is a problem with spotify's end but I can't get to their site to look at the service availabilty messages at present.

    Comment


    • Originally posted by Triode
      What does the helper app log say? I suspect this is a problem with spotify's end but I can't get to their site to look at the service availabilty messages at present.

      WinHttpGetProxyForUrl failed

      [19:45:03.405] log_message:65 log: 18:45:03.405 I [ap:1368] Connecting to AP A2.spotify.com:4070

      [19:45:04.850] log_message:65 log: 18:45:04.850 E [session:728] Not all tracks cached

      [19:45:04.858] metadata_updated:69 new meta
      [19:45:05.858] container_loaded:78 playlist container loaded
      [19:45:05.858] metadata_updated:69 new meta
      [19:45:05.858] process_playlists:785 process playlists
      [19:45:28.111] main:455 req: playlists.json res: (null) par: (null) prot: HTTP/1.0 auth: (null)
      [19:45:28.111] process_playlists:785 process playlists
      [19:45:30.666] main:455 req: playlists.json res: (null) par: (null) prot: HTTP/1.0 auth: (null)
      [19:45:30.666] process_playlists:785 process playlists
      [19:45:32.306] main:455 req: playlists.json res: (null) par: (null) prot: HTTP/1.0 auth: (null)
      [19:45:32.306] process_playlists:785 process playlists
      [19:45:49.330] main:455 req: playlists.json res: (null) par: (null) prot: HTTP/1.0 auth: (null)
      [19:45:49.330] process_playlists:785 process playlists
      [19:45:49.361] main:455 req: playlists.json res: spotify:user:nikolajclaylist:7IM2QY5LTnmHIlCAvtYmE6 par: (null) prot: HTTP/1.0 auth: (null)

      At this point I had trouble. Later after listing playlists using the web browser successfully it started working again in squeeze commander. Not sure It's related though.

      Sent from my HTC Desire using Tapatalk

      Comment


      • Originally posted by NikolajC
        WinHttpGetProxyForUrl failed

        [19:45:03.405] log_message:65 log: 18:45:03.405 I [ap:1368] Connecting to AP A2.spotify.com:4070

        [19:45:04.850] log_message:65 log: 18:45:04.850 E [session:728] Not all tracks cached

        [19:45:04.858] metadata_updated:69 new meta
        [19:45:05.858] container_loaded:78 playlist container loaded
        [19:45:05.858] metadata_updated:69 new meta
        [19:45:05.858] process_playlists:785 process playlists
        [19:45:28.111] main:455 req: playlists.json res: (null) par: (null) prot: HTTP/1.0 auth: (null)
        [19:45:28.111] process_playlists:785 process playlists
        [19:45:30.666] main:455 req: playlists.json res: (null) par: (null) prot: HTTP/1.0 auth: (null)
        [19:45:30.666] process_playlists:785 process playlists
        [19:45:32.306] main:455 req: playlists.json res: (null) par: (null) prot: HTTP/1.0 auth: (null)
        [19:45:32.306] process_playlists:785 process playlists
        [19:45:49.330] main:455 req: playlists.json res: (null) par: (null) prot: HTTP/1.0 auth: (null)
        [19:45:49.330] process_playlists:785 process playlists
        [19:45:49.361] main:455 req: playlists.json res: spotify:user:nikolajclaylist:7IM2QY5LTnmHIlCAvtYmE6 par: (null) prot: HTTP/1.0 auth: (null)

        At this point I had trouble. Later after listing playlists using the web browser successfully it started working again in squeeze commander. Not sure It's related though.

        Sent from my HTC Desire using Tapatalk
        I don't see any errors there - do you have the log level set to debug, if not does it show any more when you do?

        Comment


        • Help with wiki?

          I am continuing to receive a stream of emails from people asking for support for this plugin. I am getting emailed because people don't like reading throught the 150 pages of discussion here

          Are there any readers here who could help put together a simple wiki page on this plugin and help spread the load of support??? I would like a simple statement warning people it won't work on most NASs, to ensure firewalls are set up correctly and how to capture logging information etc...

          Adrian

          Comment


          • Playlists

            Originally posted by Triode
            What does the helper app log say? I suspect this is a problem with spotify's end but I can't get to their site to look at the service availabilty messages at present.
            Hello Triode

            Many thanks for the quick response, here is the log file:

            This seems to have really been a problem since the mains was off yesterday and I had to reset the Squeeze Duet, which I have tried a few times. i have also deleted the cache which was advised somewhere or other.

            Pete

            cess_singleplaylist
            [22:14:56.450] process_singleplaylist:860 process single playlist
            [22:14:56.450] process_singleplaylist:880 tracks loaded: 57 of 57, tracks error: 0
            [22:14:56.450] process_singleplaylist:895 playlist: timeout
            [22:14:56.512] main:422 new connection
            [22:14:56.512] main:455 req: playlists.json res: spotify:userater2412laylist:1TRsTBwgMtTvDzvDV8qix4 par: (null) prot: HTTP/1.0 auth: (null)

            having trouble attaching all log file.Smilies on the p of pater & playlist? never seen that before; virus perhaps?
            Last edited by pete the feet; 2010-11-02, 23:29.

            Comment


            • Originally posted by pete the feet
              Hello Triode

              Many thanks for the quick response, here is the log file:

              This seems to have really been a problem since the mains was off yesterday and I had to reset the Squeeze Duet, which I have tried a few times. i have also deleted the cache which was advised somewhere or other.

              Pete

              cess_singleplaylist
              [22:14:56.450] process_singleplaylist:860 process single playlist
              [22:14:56.450] process_singleplaylist:880 tracks loaded: 57 of 57, tracks error: 0
              [22:14:56.450] process_singleplaylist:895 playlist: timeout
              [22:14:56.512] main:422 new connection
              [22:14:56.512] main:455 req: playlists.json res: spotify:userater2412laylist:1TRsTBwgMtTvDzvDV8qix4 par: (null) prot: HTTP/1.0 auth: (null)

              having trouble attaching all log file.Smilies on the p of playlist? never seen that before; virus perhaps?
              I've seen this before - this looks like all the playlist tracks have loaded, but the spotify library is not reporting the playlist is loaded (otherwise it would not timeout like this). In the past this has correlated to problems at the spotify end. If it is not fixed in the next day or two then I will see if I can change the code to perhaps avoid waiting for the is_loaded flag to be set. Could you pm me your email address and OS details?

              Comment


              • Attached is a windows version of spotifyd.exe which ignores the check that a playlist is loaded and tries to display it if it finds all the tracks. Could people experiencing problems with playlists please try this and report back.

                You will need to find the location of spotifyd.exe and replace the existing file with the one in the zip file. The location of spotifyd.exe is usually given in the helper app log, but you may find its in a hidden windows folder.

                Comment


                • Originally posted by Triode
                  I've seen this before - this looks like all the playlist tracks have loaded, but the spotify library is not reporting the playlist is loaded (otherwise it would not timeout like this). In the past this has correlated to problems at the spotify end. If it is not fixed in the next day or two then I will see if I can change the code to perhaps avoid waiting for the is_loaded flag to be set. Could you pm me your email address and OS details?
                  There have been problems with Spotify over the last week or so. I've experienced them on the Spotify Windows application and with the plug-in. Their support page was saying there were problems with playlists and now it's saying there are problems with streaming.

                  It might be an idea if anyone has problems with the Spotify plug-in to check that they're not also getting the same problems with another device, ie., PC, Mac, phone, etc. If you are then it's likely not a problem with the plug-in.

                  Comment


                  • Originally posted by Triode
                    Attached is a windows version of spotifyd.exe which ignores the check that a playlist is loaded and tries to display it if it finds all the tracks. Could people experiencing problems with playlists please try this and report back.

                    You will need to find the location of spotifyd.exe and replace the existing file with the one in the zip file. The location of spotifyd.exe is usually given in the helper app log, but you may find its in a hidden windows folder.
                    Hello Adrian

                    Have give it a few tries, it seemed to work at first but the Playlists have been hit and miss recently.
                    I found several Spotyfyd.exe with a few numbers and letters after the exe. I found these files in the Windows prefetch folder. I also found a Spotyfyd.exe in the C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins but not in the Spotify folder.
                    I have found it starts to work if I remove the Spotify plugin by unchecking the box in Squeezebox server then resrarting then re selecting the tick box and restarting.
                    If the spotyfyd.exe is clicked on it says libspotify.dll is missing.
                    It does now open the playlists eventually, once open the individual playlists are easily and quickly selected.
                    Windows 7 home user operating system.

                    I will keep an eye on it and let you know how it goes.

                    Many thanks

                    Pete

                    Comment


                    • Originally posted by pete the feet
                      Hello Adrian

                      Have give it a few tries, it seemed to work at first but the Playlists have been hit and miss recently.
                      I found several Spotyfyd.exe with a few numbers and letters after the exe. I found these files in the Windows prefetch folder. I also found a Spotyfyd.exe in the C:\ProgramData\Squeezebox\Cache\InstalledPlugins\P lugins but not in the Spotify folder.
                      I have found it starts to work if I remove the Spotify plugin by unchecking the box in Squeezebox server then resrarting then re selecting the tick box and restarting.
                      If the spotyfyd.exe is clicked on it says libspotify.dll is missing.
                      It does now open the playlists eventually, once open the individual playlists are easily and quickly selected.
                      Windows 7 home user operating system.

                      I will keep an eye on it and let you know how it goes.

                      Many thanks

                      Pete
                      You need to replace the spotifyd.exe file in the InstalledPlugins folder with the new one, then restart the server (don't unselect from the plugin list and reselect as this will remove and reinstall the plugin)

                      Comment


                      • Problems with QNAP NAS and this plugin

                        Hi, I just replaced my QNAP ts-419 with a spanking new QNAP ts-659 Pro+ with Intel proc at quite a bit of cost only to get this plugin working since all I use nowadays is spotify - that's how much I loved the idea of getting this up. It should also serve as an indication of how much I have been waiting to see this functionality and how amazing I think it is that you put in the work to finally make it possible - thanks!!!

                        Unfortunately I have not been successful and I would love to get some pointers as to where I may be going wrong (I have a premium account).

                        I have installed the non-Beta version of SBS available through the qnap-download (7.5.1). I then followed the instructions in the opening post for installation of the Spotify-plugin (1.0.9) through Squeezebox server (and put in the settings etc according to the opening post). I hope this is the latest version so I don’t need to exchange any files (that’s what I took away from reading the thread anyway).

                        Since I could not see the helper app running, I created a sum-link to libFLAC.so.8. Here is exactly what I did:

                        I put the symlink where spotifyd was found that is in:

                        /share/MD0_DATA/.qpkg/SqueezeBoxServer/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux

                        And the symlink was called:

                        libFLAC.so.8

                        And it points to:

                        /share/MD0_DATA/.qpkg/SqueezeBoxServer/lib/libFLAC.so.8

                        That is where the libFLAC.so.8 is (that is however in turn just a link pointing to libFLAC.so.8.2.0 in the same location).

                        The problem is that after I do this and restart the Squeezebox Server plugin on the QNAP NAS, I can’t even access it via my browsers. It just won’t be contacted via browsers. It is however running as I can control it via iPeng and listen to radio and music on the NAS etc. Spotify does not work however (I see the icon under radio, but everything is empty when I enter).

                        After I take the symlink away and restart the SBS, it can be accessed again so something must be wrong with the symlink. I am using WinSCP to produce it (not sure if I have the right settings as I never used it before and have little experience with Linux).

                        Any pointers would be much appreciated!
                        Last edited by Ulmer; 2010-11-04, 18:58.

                        Comment


                        • I just realized this may be related to the fact that I updated firmware when installing the NAS. I have firmware version: 3.3.4 Build 1019T, and since the actual libFLAC.so.8 in no longer in this firmware (it points to libFLAC.so.8.2.0) maybe this was compiled for an older firmware-build?

                          Could that be it? And if so, how do I solve it? Does anyone know where to find older firmware that I can roll back to?

                          Comment


                          • More info if that can help.

                            If I start spotifyd without the Squeezebox Server running using putty with the symlink in place it seems to work (and I do not get the complaint about the libFLAC-file). Without the symlink it doesn't work. Here is a log from when it seems to start (with the symlink in place):

                            Code:
                            [00:24:29.056463] main:325 /opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux/spotifyd 1.0.9 started
                            [00:24:29.145499] main:455 req: jsonrpc.js res: (null) par: (null) prot: HTTP/1.1 auth: (null)
                            [00:24:29.147709] log_message:65 log: 00:24:29.147 F [dns:300] res_search() returned error code: 4
                            
                            [00:24:29.147893] log_message:65 log: 00:24:29.147 I [ap:1368] Connecting to AP ap.spotify.com:4070
                            
                            [00:24:30.145762] message_to_user:61 user message: <a href="https://www.spotify.com/account/share/">Share Spotify</a> with friends and family, they'll love it.
                            [00:24:30.281060] log_message:65 log: 00:24:30.281 E [session:728] Not all tracks cached
                            
                            [00:24:30.312662] metadata_updated:69 new meta
                            [00:24:31.312869] main:1044 bad request for socket or no track
                            [00:24:31.336457] container_loaded:78 playlist container loaded
                            [00:24:31.337544] metadata_updated:69 new meta
                            [00:24:31.337683] main:455 req: (null) res: (null) par: (null) prot: (null) auth: (null)
                            However when try to run from Squeezebox Server it does not work and the log from Squeezebox server protest about not finding libFLAK. Here is a log:

                            Code:
                            [10-11-05 00:28:26.2760] main::init (323) Starting Squeezebox Server (v7.5.1, r30836, Tue Jun  1 06:59:24 MDT 2010) perl 5.010000
                            [10-11-05 00:28:26     ] ssctrl SqueezeboxServer started.
                            [10-11-05 00:28:26     ] ssctrl Setting nice level to +0
                            /opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux/spotifyd: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory
                            [10-11-05 00:28:29.9024] main::checkDataSource (975) Warning: Schema updated or no tracks in the database, initiating scan.
                            [10-11-05 00:31:05.8387] Slim::Formats::XML::gotErrorViaHTTP (332) Error: getting http://192.168.1.2:9001/search.json?q=tag:new
                            404 Not Found
                            [10-11-05 00:33:53.6185] Slim::Formats::XML::gotErrorViaHTTP (332) Error: getting http://192.168.1.2:9001/playlists.json
                            404 Not Found
                            [10-11-05 00:34:06.8474] Slim::Formats::XML::gotErrorViaHTTP (332) Error: getting http://192.168.1.2:9001/search.json?q=tag:new
                            404 Not Found
                            And when I try to start the spotifyd manually with putty when the Squeezebox Server is running I get the following in the terminal window:

                            Code:
                            [02:25:27.802407] main:325 ./spotifyd 1.0.9 started
                            [02:25:27.802976] main:358 error on bind listenfd: Address already in use
                            So the Squeezebox Server seems to be doing something to it (even though it comes up as not running in the settings for Spotify window).
                            Last edited by Ulmer; 2010-11-04, 19:29.

                            Comment


                            • Solved

                              OK I solved it and I would assume this is something other people can run into as well (I have not read about it).

                              The problem was the port-# used. The Spotify plugin used the same port (9001) as the Squeezebox Server web-user interface. Since I just did a standard installation of both, I think that is pretty strange and that more people should have found this an issue (don’t know if it is related to the QNAP NAS I use). This also explains why the user interface did not work when the helper application was started. When I just randomly happened to punch in 9002 it got going.

                              Anyway – now it works and it is AMAZING! Thanks so much for your incredible work with this MUST-function for nations with Spotify.

                              Comment


                              • Is it possible to save tracks to a spotify playlist using this plugin? It's the one missing part of the experience.

                                Comment

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