Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Spotify refuse to play local files

Solved!

Spotify refuse to play local files

Plan

Premium

Operating System

Manjaro Linux

 

Hi,

I don't why Spotify cant play imported songs to local libary. Files are 320 mp3. When I try yo play them I get error somthing like that "Spotify can't play it now. If you have this file on your computer , you can import it"...

Please help guys. Thanks

 

 

Reply

Accepted Solutions
Marked as solution

Oh, I even forgot that I created this issue here.

 

If anyone if interested. This is fixed od Manjaro/Arch Linux by installing ffmpeg-compat-57

🙂

 

on Ubuntu

sudo apt-get -y install ubuntu-restricted-extras \
&& sudo wget -N https://github.com/ramedeiros/spotify_libraries/raw/master/libavcodec.so.54.71.100 -O /usr/lib/x86_64-linux-gnu/libavcodec.so.54 \
&& sudo wget -N https://github.com/ramedeiros/spotify_libraries/raw/master/libavformat.so.54.36.100 -O /usr/lib/x86_64-linux-gnu/libavformat.so.54 \
&& sudo wget -N https://github.com/ramedeiros/spotify_libraries/raw/master/libavutil.so.52.6.100 -O /usr/lib/x86_64-linux-gnu/libavutil.so.52 \
&& sudo ldconfig

View solution in original post

5 Replies

You tried ffmpeg-compat-57?

Hey there @tosziro

 

Thanks for reaching out to the Community about this. 
 

We suggest you restart the device on which you experience this issue. This basic step is very simple, but often overlooked.
 

It's also a good idea to change the source of the local files on your device. Simply create a new folder in a different directory on your device and move your local files to this folder. Then just delete the old folder used for the local files. Now you can try importing the files again. 

 

Hope this helps. Let us know how it goes. 

That doesn't help. The problem is that the Linux client is written for an ancient version of ffmpeg. Newer versions of ffmpeg do not include the 57 so name libs spotify requires for local playback.

If all your advise basically consists of "did you try turning off and back on again?" you're apart of the problem not the solution.

Maybe just fix your software?

Marked as solution

Oh, I even forgot that I created this issue here.

 

If anyone if interested. This is fixed od Manjaro/Arch Linux by installing ffmpeg-compat-57

🙂

 

on Ubuntu

sudo apt-get -y install ubuntu-restricted-extras \
&& sudo wget -N https://github.com/ramedeiros/spotify_libraries/raw/master/libavcodec.so.54.71.100 -O /usr/lib/x86_64-linux-gnu/libavcodec.so.54 \
&& sudo wget -N https://github.com/ramedeiros/spotify_libraries/raw/master/libavformat.so.54.36.100 -O /usr/lib/x86_64-linux-gnu/libavformat.so.54 \
&& sudo wget -N https://github.com/ramedeiros/spotify_libraries/raw/master/libavutil.so.52.6.100 -O /usr/lib/x86_64-linux-gnu/libavutil.so.52 \
&& sudo ldconfig

Or just use the unofficial flatpak. It works around that and a few other issues.
 https://flathub.org/apps/details/com.spotify.Client

Suggested posts