Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Hi, I have installed ubuntu-restricted-extras, ffmpeg, libavcodec, livavutil, libavformat, zenity but doesn't work.
😕
Spotify finds the songs, but don't play and close the app.
=======================================================
Solved after read this post: https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Can-t-play-local-files-with-current-...
So, I decided publish the solution.
1º) Install some packs: ubuntu-restricted-extras, ffmpeg, libavcodec, livavutil, libavformat, zenity.
sudo apt install ubuntu-restricted-extras ffmpeg libavcodec-extra libavcodec-extra57 libavutil55 libavformat57 zenity -y
New version to packs: libavformat57 libavcodec-extra57 libavcodec-extra libavutil55
2º) Download some archives: (I put all in the github repository)
--> Download the package: https://github.com/ramedeiros/spotify_libraries/archive/master.zip
Or direct from the terminal:
git clone https://github.com/ramedeiros/spotify_libraries.git
3º) Put all the files in to /usr/lib/x86_64-linux-gnu/ with root privileges.
cd spotify_libraries sudo cp lib* /usr/lib/x86_64-linux-gnu/
4º) Execute: ldconfig
sudo ldconfig
5º) If show any problem with link, make new links.
e.g.: "/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libavutil.so.52 it's not a symbolic link"
So, execute command:
sudo ln -frs /usr/lib/x86_64-linux-gnu/libavutil.so.52.6.100 /usr/lib/x86_64-linux-gnu/libavutil.so.52 sudo ln -frs /usr/lib/x86_64-linux-gnu/libavformat.so.54.36.100 /usr/lib/x86_64-linux-gnu/libavformat.so.54 sudo ln -frs /usr/lib/x86_64-linux-gnu/libavcodec.so.54.71.100 /usr/lib/x86_64-linux-gnu/libavcodec.so.54
And so on...
Solved! Go to Solution.
Easier solution. It works on Ubuntu 16.10 and 17.04 as well. Make sure you copy the entire lines: https://github.com/olejon/spotcommander/wiki/LocalFiles
And COME ON Spotify, 16.04 is almost a year old!
Can you install libavcodec53 from Ubuntu precise (12.04LTS) http://packages.ubuntu.com/precise/libavcodec53 to Ubuntu 16.04 LTS? That should replace the step 2º).
Spotify should be build using the latest stable and not the LTS. That should at least fix this local file playback and libssl problem.
THANK YOU\! u helped me fix the local files issue that i was searching for on and off ever since i have been spotify on linux
@durin wrote:Can you install libavcodec53 from Ubuntu precise (12.04LTS) http://packages.ubuntu.com/precise/libavcodec53 to Ubuntu 16.04 LTS? That should replace the step 2º).
Spotify should be build using the latest stable and not the LTS. That should at least fix this local file playback and libssl problem.
Maybe yes, as one of the places I'd researched (https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Can-t-play-local-files-with-current-...).
However, after a long time and many attemps, it worked for me. So, I decided upload the package to help the community. 😄
But thanks for your tip, have you tested? I find very useful!! 😄
@shez951 wrote:THANK YOU\! u helped me fix the local files issue that i was searching for on and off ever since i have been spotify on linux
Hehehehe me too had the same problem, after 17862783612783 attempts its worked!! You're first after me that tested, is a good notice!
You can install libavcodec54 and libavformat54 from 14.04 trusty in 16.04 xenial as well, but it also feels hacky.
echo deb http://se.archive.ubuntu.com/ubuntu trusty main universe | sudo tee /etc/apt/sources.list.d/temp-trusty.list echo deb http://security.ubuntu.com/ubuntu trusty-security main universe | sudo tee -a /etc/apt/sources.list.d/temp-trusty.list sudo apt update sudo apt install libavcodec54 libavformat54 sudo rm /etc/apt/sources.list.d/temp-trusty.list sudo apt update
A better solution would be if the client just supported all different versions or shipped an embedded library.
You're a hero dude. Nice one. This worked for me.
Dude, I love you. I've been struggling with this problem for so long, and now you fixed it. Thanks!
...and thank you for taking the time to post the solution and package the needed files.
Thank you for posting the solution and the steps. This has been bugging me for a very long time!
Hi,
I had a $20AUD btc bounty out on this and your solution worked!
Do you have a BTC address you would like it paid to?
You are a Hero!
Worked a charm on Mint 18. I haven't rebooted yet, but the amount of times I've broken the system I'm not worried.
Worked on 16.04 64bit spotify 1.0.38.171.g5e1cd7b2 !!
thank you very much
Wow that actually worked. THANK you!
EDIT: working on Spotify version 1.0.42.151.g19de0aa6
This worked for me, thanks!
Thanks for sharing it's worked perfectly!!!! but when i running this command
sudo apt install ubuntu-restricted-extras ffmpeg libavcodec-extra libavcodec-extra57 libavutil55 libavformat57 zenity -y
it's fetched some .exe file?? but never mind! Now i can listen my local music 😄
Thank you, this solved the problem for me 😄
Thank you so much, also works on Linux Mint 18.1
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…