Spotify on Linux doesn't play local mp3 files

Solved!
Reply
Highlighted

Spotify on Linux doesn't play local mp3 files

depesz
Gig Goer

I did search the forum, and google, but I only found some docs on old version of Ubuntu, and the repos these mentioned no longer work.

 

I'm on newest ubuntu (15.04), and while spotify works great, it doesn't play local mp3 files. It loads them to library, syncs to other devices (Android phone and tablet), but doesn't play.

 

What can be done to make it work on New Ubuntu?

 

My versions are:

 

  • spotofy-client: 1:0.9.17.1.g9b85d43.7-1
  • ffmpeg:7:2.5.8-0ubuntu0.15.04.1
  • libav-tools : 6:11.2-1
  • libavcodec-ffmpeg56:amd64 : 7:2.5.8-0ubuntu0.15.04.1
  • libavcodec56:amd64 : 6:11.2-1
  • libavdevice-ffmpeg56:amd64 : 7:2.5.8-0ubuntu0.15.04.1
  • libavdevice55:amd64 : 6:11.2-1
  • libavfilter-ffmpeg5:amd64 : 7:2.5.8-0ubuntu0.15.04.1
  • libavfilter5:amd64 : 6:11.2-1
  • libavformat-ffmpeg56:amd64 : 7:2.5.8-0ubuntu0.15.04.1
  • libavformat56:amd64 : 6:11.2-1
  • libavresample-ffmpeg2:amd64 : 7:2.5.8-0ubuntu0.15.04.1
  • libavresample2:amd64 : 6:11.2-1
  • libavutil-ffmpeg54:amd64 : 7:2.5.8-0ubuntu0.15.04.1
  • libavutil51:amd64 : 6:0.8.17-1
  • libavutil54:amd64 : 6:11.2-1

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution!

Re: Spotify on Linux doesn't play local mp3 files

depesz
Gig Goer

For others, maybe it will be helpful.

 

I did:

 

sudo apt-get build-dep libavcodec56
 
Then, I went to:
 
 
and from there, I downloaded "Download Source Package" files:
 
 
dpkg-source -x libav_9.18-0ubuntu0.14.04.1.dsc
 
This unpacked the sources, applied patches. Then I changed directory to the unpacked sources:
 
cd libav-9.18
 
and in there, I ran:
 
fakeroot debian/rules binary
 
After some time, it generated (in original directory, not in the unpacked directory) lots of deb files. From there, I installed (sudo dpkg -i):
 
- libavcodec54_9.18-0ubuntu0.14.04.1_amd64.deb
- libavutil52_9.18-0ubuntu0.14.04.1_amd64.deb
- libavformat54_9.18-0ubuntu0.14.04.1_amd64.deb
 
With this in place, restarted Spotify, and now it plays local mp3 files. Finally !
1 Reply
Solution!

Re: Spotify on Linux doesn't play local mp3 files

depesz
Gig Goer

For others, maybe it will be helpful.

 

I did:

 

sudo apt-get build-dep libavcodec56
 
Then, I went to:
 
 
and from there, I downloaded "Download Source Package" files:
 
 
dpkg-source -x libav_9.18-0ubuntu0.14.04.1.dsc
 
This unpacked the sources, applied patches. Then I changed directory to the unpacked sources:
 
cd libav-9.18
 
and in there, I ran:
 
fakeroot debian/rules binary
 
After some time, it generated (in original directory, not in the unpacked directory) lots of deb files. From there, I installed (sudo dpkg -i):
 
- libavcodec54_9.18-0ubuntu0.14.04.1_amd64.deb
- libavutil52_9.18-0ubuntu0.14.04.1_amd64.deb
- libavformat54_9.18-0ubuntu0.14.04.1_amd64.deb
 
With this in place, restarted Spotify, and now it plays local mp3 files. Finally !
SUGGESTED POSTS