Announcements

Help Wizard

Step 1

NEXT STEP

[LINUX ]Spotify linux BETA and local files just crash the player - 1.0.17.75.g8f111100 (2015/12)

Solved!

[LINUX ]Spotify linux BETA and local files just crash the player - 1.0.17.75.g8f111100 (2015/12)

I reinstalled my computer (Debian testing/stretch) and installed latest Spotify client for it. Local files playback doesn't work, so I tried that existing solution:

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 

Even that doesn't work anymore. All I got on the log just after I have clicked the local file:

 

11:14:44.694 I [audio_driver_linux.cpp:18       ] Using PulseAudio
Segmentation fault
josk@alakerta:~$

 

I have installed latest beta version from: http://repository-origin.spotify.com/pool/non-free/s/spotify-client/

 

Any tips to solve this issue? Could Spotify dev team comment what is going on?! Anyone else having this problem on Linux?

Reply

Accepted Solutions
Marked as solution

In Debian testing (strecth).

 

Download correct packages from Ubuntu:

 

libvpx1 http://www.ubuntuupdates.org/package/ubuntu_sdk_release/precise/main/base/libvpx1


libavutil51http://www.ubuntuupdates.org/package/core/precise/main/base/libavutil51

libavcodec53 http://www.ubuntuupdates.org/package/core/precise/main/base/libavcodec53

libavformat53 http://www.ubuntuupdates.org/package/core/precise/main/base/libavformat53

 

 

Install packeges this way (example with 64-bit DEB packages)

$ sudo dpkg -i libavutil51_0.8.1-0ubuntu1_amd64.deb

$ sudo dpkg -i libvpx1_1.1.0-1~ubuntu12.04.1~ppa1_amd64.deb

 

$ sudo dpkg -i libavcodec53_0.8.1-0ubuntu1_amd64.deb

 

$ sudo dpkg -i libavformat53_0.8.1-0ubuntu1_amd64.deb

 

Or read instructions from here: http://shellscreen.blogspot.fi/2015/11/fix-to-play-local-files-on-debian.html

View solution in original post

6 Replies

Hello @j0sk and welcome to Spotify Community,

 

You need to install the Non-Free Multimedia Codecs. Executing the follow command should do the work :

 

 

sudo apt-get install libav-tools libavcodec-extra-53 libavdevice-extra-53 libavfilter-extra-2 libavformat-extra-53 libavutil-extra-51 libpostproc-extra-52 libswscale-extra-2 flashplugin-nonfree ttf-mscorefonts-installer icedtea-plugin

 

Let me know if you run into problems ; )

 

As I am on Debian Testing (stretch) I have little different packages. I have enabled non free codecs from http://deb-multimedia.org/.

 

Mine situation:

 

 

libav-tools (got it)
libavcodec-extra-53 (libavcodec-extra: 56) (53 added manually by command line, see below)
libavdevice-extra-53 (libavcodec-extra: 56)
libavfilter-extra-2 (libavfilter5)
libavformat-extra-53 (libavformat: 56) (53 added manually by command line, see below)
libavutil-extra-51 (libavutil: 54) (51 added manually by command line, see below)
libpostproc-extra-52 (libpostproc53)
libswscale-extra-2 (libswscale3)
flashplugin-nonfree (got it)
ttf-mscorefonts-installer (got it)
icedtea-plugin (got it)

 

Manually added following:

 

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

Now the question is should I found earlier versions of those codecs from Debian Jessie?

BUMP! Still not working on Debian testing. Anyone?

Marked as solution

In Debian testing (strecth).

 

Download correct packages from Ubuntu:

 

libvpx1 http://www.ubuntuupdates.org/package/ubuntu_sdk_release/precise/main/base/libvpx1


libavutil51http://www.ubuntuupdates.org/package/core/precise/main/base/libavutil51

libavcodec53 http://www.ubuntuupdates.org/package/core/precise/main/base/libavcodec53

libavformat53 http://www.ubuntuupdates.org/package/core/precise/main/base/libavformat53

 

 

Install packeges this way (example with 64-bit DEB packages)

$ sudo dpkg -i libavutil51_0.8.1-0ubuntu1_amd64.deb

$ sudo dpkg -i libvpx1_1.1.0-1~ubuntu12.04.1~ppa1_amd64.deb

 

$ sudo dpkg -i libavcodec53_0.8.1-0ubuntu1_amd64.deb

 

$ sudo dpkg -i libavformat53_0.8.1-0ubuntu1_amd64.deb

 

Or read instructions from here: http://shellscreen.blogspot.fi/2015/11/fix-to-play-local-files-on-debian.html

It's good that a solution seems to exist, but seriously, enabling a third party repository for spotify is about as far as I will go. Manually downloading packages from "random" sites and installing them should be a big no-no.

In that case I would really prefer the spotify devs to statically link the library versions they require.

I do realize that may not be all that simple either btw.


black_puppydog wrote:...I would really prefer the spotify devs to statically link the library versions they require.

+1

 

I really don't understand why it cant code to support newer libraries too?!

Suggested posts