Spotify refuse to play local files

Solved!
Reply
Highlighted

Spotify refuse to play local files

Casual Listener

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution!

Re: Spotify refuse to play local files

Casual Listener

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
Highlighted

Re: Spotify refuse to play local files

Gig Goer

You tried ffmpeg-compat-57?

Highlighted

Re: Spotify refuse to play local files

Moderator
Moderator

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. 

IvanModerator
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
“Music is the strongest form of magic.” Marilyn Manson

Re: Spotify refuse to play local files

Roadie

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?

Highlighted
Solution!

Re: Spotify refuse to play local files

Casual Listener

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

Highlighted

Re: Spotify refuse to play local files

Roadie

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