Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Spotify can't play local files

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
program666
n00b
n00b
Posts: 9
Joined: Sun Jun 08, 2014 7:05 pm

Spotify can't play local files

  • Quote

Post by program666 » Fri Jun 12, 2015 8:51 pm

Just installed Spotify for the first time and it just won't play any music from my library, but it will play the same local files on Windows. When emerging I got the warning:

Code: Select all

 * Messages for package media-sound/spotify-0.9.17.1-r1:

 * If Spotify crashes after an upgrade its cache may be corrupt.
 * To remove the cache:
 * rm -rf ~/.cache/spotify
 * 
 * you need to use the ld.bfd linker with openssl
And I don't even know what that last line mean but but I got the errors

Code: Select all

/opt/spotify/spotify-client/spotify: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libssl.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify)
that I read in some other thread that are harmless but I thought about mentioning them.

When I look for help for this problem one of the solutions is aways getting codecs in sketchy as hell sites, that only give you a ".exe" file when downloading, and people on the Spotify forums warning others to not install the adware that comes with, and I would want to avoid it if possible. But I tried other appointed solutions like deleting all my local library from Spotify and then re-importing, installing libquicktime, unmerging it from the system and emerging again and deleting the cache. You guys have any idea?
Last edited by program666 on Fri Jun 12, 2015 9:52 pm, edited 1 time in total.
Top
program666
n00b
n00b
Posts: 9
Joined: Sun Jun 08, 2014 7:05 pm

  • Quote

Post by program666 » Fri Jun 12, 2015 9:52 pm

I finally solved this after multiple hours on it, it seems that the problem is most likely a too recent version of ffmpeg, so you have to use an older version. The steps are as follow:
- Download the version 9 of the lib av here http://libav.org/download.html (tarbal http://libav.org/releases/libav-9.18.tar.gz)
- ./configure --enable-shared; make
- copy the .so files to the appropriated places like so

Code: Select all

#from the libav directory, I chose to copy to them to the spotify-client directory to stay separated from the "official" libs installed via portage
cp libavcodec/libavcodec.so.54 libavformat/libavformat.so.54 /opt/spotify/spotify-client/
#spotify will not look for the libavutil on the same directory, only /lib64 or /usr/lib64, so
cp libavutil/libavutil.so.52 /usr/lib64/
That's it.
I used the version 9 ("plain 9") because the version 8 suggested on the original post where I got this solution from, credited below, wouldn't compile for some reason, that will be enough.

To find out what libraries spotify was looking for and in what place you can just run

Code: Select all

strace spotify 2>&1 |grep open|grep lib
Full credits for this solution to this post on the spotify forums: https://community.spotify.com/t5/Help-D ... d-p/689438

Obs: I'm gonna remove the [SOLVED] tag that I had put up because this is more like a workaround and it would be nice to know a better more permanent solution, I mean, that libavutil file on the /usr/lib64 directory might cause problems to portage or something.
Top
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

  • Quote

Post by <3 » Fri Jan 12, 2018 1:22 am

It's 2018 and I am having this issue, Does this solution still fix this problem. Also I am skeptical of installing old, outdated software outside of portage. Is anyone else having this problem still?
Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Sat Jan 13, 2018 8:55 pm

I can't even add local tracks to spotify, it's a really old bug and they probably won't fix it.
Top
josephg
l33t
l33t
User avatar
Posts: 783
Joined: Sun Jan 10, 2016 5:12 pm
Location: usually offline
Contact:
Contact josephg
Website

  • Quote

Post by josephg » Sat Jan 13, 2018 9:55 pm

libav-9 is still available on portage, if you want to try.
Top
Alexander88207
n00b
n00b
Posts: 2
Joined: Thu Dec 13, 2018 4:36 pm

  • Quote

Post by Alexander88207 » Thu Dec 13, 2018 4:38 pm

https:www.github.com/Alexander88207/Spotify-Local-Files-Fix
Last edited by Alexander88207 on Sun Dec 23, 2018 6:57 pm, edited 1 time in total.
Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Thu Dec 13, 2018 7:23 pm

actually, i just checked spotify-1.0.94 and it seems to be working now
Neddyseagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.
banned from #gentoo since sept 2017
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Dec 14, 2018 2:41 am

Alexander88207 wrote:I have created a script to fix that easily :D
You may be well intentioned, but please do not do this. First, you are advocating that people download and run as root a shell script written by someone with no reputation. Second, your script only works on amd64 systems. Third, anyone who actually runs your script will clobber files in /usr/lib64 or drop orphans there. Both are a problem.
Top
Alexander88207
n00b
n00b
Posts: 2
Joined: Thu Dec 13, 2018 4:36 pm

  • Quote

Post by Alexander88207 » Sun Dec 23, 2018 6:56 pm

Hu wrote:
Alexander88207 wrote:I have created a script to fix that easily :D
You may be well intentioned, but please do not do this. First, you are advocating that people download and run as root a shell script written by someone with no reputation. Second, your script only works on amd64 systems. Third, anyone who actually runs your script will clobber files in /usr/lib64 or drop orphans there. Both are a problem.
I actually only summarized what "program666" said because it worked. Anyway, thanks, I've just left some instructions on how to do it. End
Top
Lysio
n00b
n00b
Posts: 9
Joined: Tue Jun 20, 2017 4:06 pm

  • Quote

Post by Lysio » Wed Dec 26, 2018 3:37 pm

bunder wrote:actually, i just checked spotify-1.0.94 and it seems to be working now
I can confirm this is working (at least for me) with the latest version of Spotify now
Top
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

  • Quote

Post by <3 » Sun Jan 13, 2019 11:52 pm

program666 wrote:I finally solved this after multiple hours on it, it seems that the problem is most likely a too recent version of ffmpeg, so you have to use an older version. The steps are as follow:
- Download the version 9 of the lib av here http://libav.org/download.html (tarbal http://libav.org/releases/libav-9.18.tar.gz)
- ./configure --enable-shared; make
- copy the .so files to the appropriated places like so

Code: Select all

#from the libav directory, I chose to copy to them to the spotify-client directory to stay separated from the "official" libs installed via portage
cp libavcodec/libavcodec.so.54 libavformat/libavformat.so.54 /opt/spotify/spotify-client/
#spotify will not look for the libavutil on the same directory, only /lib64 or /usr/lib64, so
cp libavutil/libavutil.so.52 /usr/lib64/
That's it.
I used the version 9 ("plain 9") because the version 8 suggested on the original post where I got this solution from, credited below, wouldn't compile for some reason, that will be enough.

To find out what libraries spotify was looking for and in what place you can just run

Code: Select all

strace spotify 2>&1 |grep open|grep lib
Full credits for this solution to this post on the spotify forums: https://community.spotify.com/t5/Help-D ... d-p/689438

Obs: I'm gonna remove the [SOLVED] tag that I had put up because this is more like a workaround and it would be nice to know a better more permanent solution, I mean, that libavutil file on the /usr/lib64 directory might cause problems to portage or something.
OK after over a year still dealing with this issue (In hopes that this would be fixed up stream) I finally decided to try this work around, for some reason though this didn't seem to work for me. I used libav-9.
Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Mon Jan 14, 2019 5:39 am

I didn't need to do any of that libav stuff, installing 1.0.94 was enough... haven't tried the latest version to see if they broke it again.
Neddyseagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.
banned from #gentoo since sept 2017
Top
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

  • Quote

Post by <3 » Mon Jan 14, 2019 6:58 am

I just "downgraded" from 1.0.96 to 1.0.94 and still noting, I made sure to remove those libav shared object files too.
Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Tue Feb 12, 2019 12:44 pm

still works for me on 1.0.98
Neddyseagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.
banned from #gentoo since sept 2017
Top
Post Reply

14 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic