[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
Solution!

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?



View solution in original post

16 Replies

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?



lFpSl
Casual Listener

This:

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?



lFpSl
Casual Listener

Ok, thanks guy 😄

Solution!

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?



View solution in original post

lFpSl
Casual Listener

It's Working

Thank you so much guy :DDDD

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?



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?

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?



winniexy
Regular
Okay, is there a mailinglist/channel/something else where news concerning the linux client are posted in order to stay informed.

Dreadlord
Community Legend

Hey @winniexy,


If there are any news they are posted here in the Help-Desktop forums. 🙂

 

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



winniexy
Regular

I'm using now the 1.0.19.106 version and it's working mostly.

 

Currently there are at least for me no more crashes, searching/displaying local music is still much(!) slower than with 0.9.17 however it works without crashing currently.

 

The most annoying thing is, that spotify is now all the time maximized and can't be minimized or put only on half of the desktop. It would be cool to get a window back to move it around if needed. 🙂

 

Thanks for you work on a linux client!

 

 

winniexy
Regular

However, after 20 minutes playing spotify is consuming one complete cpu (out of 4) and consuming 50% ram (out of 8GB) and counting... there seems to be a quite heavy leak.

 

After 30 minutes is the complete system no longer usable due to extensive swapping.

viper23
Regular

I'm using Debian and after the installation of these libraries still won't work for local files.

Spotify version is 1.0.44.100.ga60c0ce1 files are stored on local EXT4 drive.

 

 

jooon
Spotify
Spotify

@viper23 wrote:

I'm using Debian and after the installation of these libraries still won't work for local files.

Spotify version is 1.0.44.100.ga60c0ce1 files are stored on local EXT4 drive. 


You might have better luck with these instructions:

https://community.spotify.com/t5/Desktop-Linux-Windows-Web-Player/Local-files-don-t-play/m-p/1505507...

 

viper23
Regular

I did that but still won't play my local tracks...

SUGGESTED POSTS