Announce: Spotify Premium Plugin (Beta)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Triode
    Senior Member
    • Apr 2005
    • 8410

    #31
    Originally posted by goxboxlive
    Ok i did som tests. First when i ran spotifyd it complained about missing libFLAC.so.8. I made a symlink to /usr/lib/libFLAC.so.8 in the spotify plugin directory and now it complaines about wrong ELF class.
    Don't understand that - I suspect a symlink is not what ia32 libs is expecting. Does anyone here know more about 64bit dependancies on linux?

    Comment

    • Stefan Bellon
      Senior Member
      • Jan 2009
      • 187

      #32
      Announce: Spotify Premium Plugin (Beta)

      On Thu, 17 Jun, Triode wrote:

      > Don't understand that - I suspect a symlink is not what ia32 libs is
      > expecting. Does anyone here know more about 64bit dependancies on
      > linux?


      You either need libFLAC (and all other dependencies) in 32-bit, or you
      need spotify in 64-bit. A mixture of 32-bit and 64-bit in one running
      process is not possible.

      --
      Stefan Bellon

      Comment

      • goxboxlive
        Junior Member
        • Aug 2008
        • 20

        #33
        Originally posted by Triode
        Don't understand that - I suspect a symlink is not what ia32 libs is expecting. Does anyone here know more about 64bit dependancies on linux?
        Ok I c... But is there a way to make spotifyd look for libFLAC in /usr/lib, instead of it's native directory?


        Update: I found a 64bit libspotify, and i tried just to replace the 32 bit version in your app, but it gave me an error about ELF64 bit and so......

        Will this file help you to make a 64 bit version? http://developer.spotify.com/en/libspotify/overview/
        Last edited by goxboxlive; 2010-06-17, 19:31.

        Comment

        • sbellon
          Senior Member
          • Jan 2009
          • 187

          #34
          Looking at the dependencies of spotifyd, it's just the libFLAC.so which must be made available on my Debian GNU/Linux box for 32-bit, all other dependencies are covered by the ia32-libs. So, if the author cannot supply a spotifyd in 64-bit, using libFLAC in 32-bit seems the easier way.

          Comment

          • Triode
            Senior Member
            • Apr 2005
            • 8410

            #35
            Originally posted by goxboxlive
            Update: I found a 64bit libspotify, and i tried just to replace the 32 bit version in your app, but it gave me an error about ELF64 bit and so......
            I was trying to avoid building 64bit as the server does not have an easy way of distributing both types of binary for linux. What's confusing me is that it runs on a 64 unbuntu VM I have... (my main server is 32bit)

            Easy solution in the short term could be to put a 32bit version of libFLAC in the binary folder? (the binary has as an elf setting added to make it search $ORIGIN first for shared libraries which means it looks first in the same place as the binary)

            Comment

            • Triode
              Senior Member
              • Apr 2005
              • 8410

              #36
              All the problems thus far seems to be with linux versions - has anyone tried the windows version....? Must admit I thought I needed to make a windows version work before I posted anything.

              Is there any interest in osx before I look at porting to that?

              Comment

              • lorimar
                Junior Member
                • Mar 2010
                • 9

                #37
                Playlist problem

                Originally posted by orcocan
                the main issue i encountered when playing a song in a playlist, it seems to repeat the same song over and over again instead of playing the next song
                I run into the same problem (Windows version, Vista).
                Looks like some playlists behave differently than others;

                Img1 - Playlist that works
                Img2 - Playlist where songs will repeat until manual change of song
                Img3 - Playlist that won't work at all

                But in all: I'm so pleased over this plugin!
                Last edited by lorimar; 2010-06-17, 19:47. Reason: Add: version

                Comment

                • Stefan Bellon
                  Senior Member
                  • Jan 2009
                  • 187

                  #38
                  Announce: Spotify Premium Plugin (Beta)

                  On Thu, 17 Jun, Triode wrote:

                  > Easy solution in the short term could be to put a 32bit version of
                  > libFLAC in the binary folder? (the binary has as an elf setting added
                  > to make it search $ORIGIN first for shared libraries which means it
                  > looks first in the same place as the binary)


                  Yes, this sounds easiest.

                  --
                  Stefan Bellon

                  Comment

                  • Triode
                    Senior Member
                    • Apr 2005
                    • 8410

                    #39
                    Originally posted by lorimar
                    I run into the same problem (Windows version, Vista).
                    Looks like some playlists behave differently than others;

                    Img1 - Playlist that works
                    Img2 - Playlist where songs will repeat until manual change of song
                    Img3 - Playlist that won't work at all

                    But in all: I'm so pleased over this plugin!
                    How many songs are there in each playlist? I have found that strange things happen with long lists but I through it was only cosmetic (due to not caching enough entries in the pseudodatabase).

                    Comment

                    • Triode
                      Senior Member
                      • Apr 2005
                      • 8410

                      #40
                      Originally posted by sbellon
                      On Thu, 17 Jun, Triode wrote:

                      > Easy solution in the short term could be to put a 32bit version of
                      > libFLAC in the binary folder? (the binary has as an elf setting added
                      > to make it search $ORIGIN first for shared libraries which means it
                      > looks first in the same place as the binary)


                      Yes, this sounds easiest.

                      --
                      Stefan Bellon
                      Stefan - what confuses me is that it works on an ubuntu 10.04 64bit VM and this looks to only have the 64bit version of libFLAC installed. So I thought ia32 could handle this.

                      Comment

                      • lorimar
                        Junior Member
                        • Mar 2010
                        • 9

                        #41
                        Originally posted by Triode
                        How many songs are there in each playlist? I have found that strange things happen with long lists but I through it was only cosmetic (due to not caching enough entries in the pseudodatabase).
                        Well, the one that works have only got 14 songs. The ones not working properly have got some 300 songs.

                        But in the list not showing up at all there are only 30 songs... - but two of them are local files.
                        Last edited by lorimar; 2010-06-17, 20:09. Reason: New info on local files

                        Comment

                        • Triode
                          Senior Member
                          • Apr 2005
                          • 8410

                          #42
                          Originally posted by lorimar
                          Well, the one that works have only got 14 songs. The ones not working properly have got some 300 songs.

                          But in the list not showing up at all there are only 30 songs...
                          If you browse back to the one which does not show up at all do you get the full 30 songs?

                          Comment

                          • Stefan Bellon
                            Senior Member
                            • Jan 2009
                            • 187

                            #43
                            Announce: Spotify Premium Plugin (Beta)

                            On Thu, 17 Jun, Triode wrote:

                            > Stefan - what confuses me is that it works on an ubuntu 10.04 64bit VM
                            > and this looks to only have the 64bit version of libFLAC installed.
                            > So I thought ia32 could handle this.


                            I'm not sure how this should work. What does "ldd spotifyd" say on your
                            64-bit VM?

                            --
                            Stefan Bellon

                            Comment

                            • goxboxlive
                              Junior Member
                              • Aug 2008
                              • 20

                              #44
                              It works perfect with 32 bit of libflac and libogg. Though i have to start spotifyd manualy. The helper says 'not running' even thuogh it works.
                              Thanks a lot for great plugin....

                              Jorns

                              Comment

                              • Triode
                                Senior Member
                                • Apr 2005
                                • 8410

                                #45
                                Originally posted by sbellon
                                I'm not sure how this should work. What does "ldd spotifyd" say on your
                                64-bit VM?
                                Oops - I was looking in the wrong place - it has /usr/lib32/libFLAC.so.8 installed

                                Comment

                                Working...