[Ubuntu 15.04] Local files don't play

Solved!
Reply

[Ubuntu 15.04] Local files don't play

lFpSl
Casual Listener

Hello guys , When I put a song to play at Local Files the music does not run, does anyone know what can it be ?

Screenshot_1.png
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution! 4 people liked this

Re: [Ubuntu 15.04] Local files don't play

Dreadlord
Community Legend

Hey,

I would suggest you to update to latest version 1.0.13.

 

( There is issue playing local files on 0.9.x, I guess its due ffmpeg being removed from official repository )

 

Edit 1. As I thought, ffmpeg is missing, so you have to install it manually. Follow this guide, if you wish to run older version of Spotify.

 

For 64-bit Ubuntu

 

sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavcodec.so.53 -O /usr/lib/x86_64-linux-gnu/libavcodec.so.53

sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavformat.so.53 -O /usr/lib/x86_64-linux-gnu/libavformat.so.53

sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavutil.so.51 -O /usr/lib/x86_64-linux-gnu/libavutil.so.51

sudo ldconfig

sudo apt-get install ubuntu-restricted-extras

For 32-bit Ubuntu

 

 

sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavcodec.so.53 -O /usr/lib/i386-linux-gnu/libavcodec.so.53

sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavformat.so.53 -O /usr/lib/i386-linux-gnu/libavformat.so.53

sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavutil.so.51 -O /usr/lib/i386-linux-gnu/libavutil.so.51

sudo ldconfig

sudo apt-get install ubuntu-restricted-extras

Source.

 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



16 Replies

Re: [Ubuntu 15.04] Local files don't play

Dreadlord
Community Legend

Hello @lFpSl,

 

Can you try running spotify from terminal and double click the local file and copy/paste what comes up in the terminal?

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



Re: [Ubuntu 15.04] Local files don't play

lFpSl
Casual Listener

This:

Re: [Ubuntu 15.04] Local files don't play

Dreadlord
Community Legend

Hello @lFpSl,

 

I was able to reproduce the issue.

I will get back to you as soon as I solve it. : )

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



Re: [Ubuntu 15.04] Local files don't play

lFpSl
Casual Listener

Ok, thanks guy :D

Highlighted
Solution! 4 people liked this

Re: [Ubuntu 15.04] Local files don't play

Dreadlord
Community Legend

Hey,

I would suggest you to update to latest version 1.0.13.

 

( There is issue playing local files on 0.9.x, I guess its due ffmpeg being removed from official repository )

 

Edit 1. As I thought, ffmpeg is missing, so you have to install it manually. Follow this guide, if you wish to run older version of Spotify.

 

For 64-bit Ubuntu

 

sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavcodec.so.53 -O /usr/lib/x86_64-linux-gnu/libavcodec.so.53

sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavformat.so.53 -O /usr/lib/x86_64-linux-gnu/libavformat.so.53

sudo wget https://dl.dropboxusercontent.com/u/8593574/Spotify/ffmpeg/libavutil.so.51 -O /usr/lib/x86_64-linux-gnu/libavutil.so.51

sudo ldconfig

sudo apt-get install ubuntu-restricted-extras

For 32-bit Ubuntu

 

 

sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavcodec.so.53 -O /usr/lib/i386-linux-gnu/libavcodec.so.53

sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavformat.so.53 -O /usr/lib/i386-linux-gnu/libavformat.so.53

sudo wget https://dl.dropboxusercontent.com/u/8593574/spotify/ffmpeg/32-bit/libavutil.so.51 -O /usr/lib/i386-linux-gnu/libavutil.so.51

sudo ldconfig

sudo apt-get install ubuntu-restricted-extras

Source.

 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



Re: [Ubuntu 15.04] Local files don't play

lFpSl
Casual Listener

It's Working

Thank you so much guy :DDDD

1 person liked this

Re: [Ubuntu 15.04] Local files don't play

Dreadlord
Community Legend

I am glad I could solve this for you!Enjoy the music ! : ) ♫

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



Re: [Ubuntu 15.04] Local files don't play

winniexy
Regular

Hey,

 

thanks for your hint how to fix this issue.

 

However the new version 1.0.17.75 takes ages to open local files, and keeps segfaulting while playing local files - even after deleting .config/spotify and .share/spotify

 

Adding manually the libav*.53 results in a much more smooth running player compared to 1.0.17.75.

 

Can I help you to debug this issue?

Re: [Ubuntu 15.04] Local files don't play

Dreadlord
Community Legend

Hey @winniexy,

 

Segfaulting is known issue and they are working on a fix.

Unfortunately, Linux client is not officially supported, so no ETA on fix.

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



SUGGESTED POSTS