Spotify
needs older versions of libavcodec, libavformat and libavutil to play
local files. I found this fix for Ubuntu and I checked the steps that
are needed for Debian. This is just dirty fix and it includes to install Ubuntu packages but it works.
To get local files playing, simply follow the steps and run the commands below in a terminal.
- Select your version of Debian, 32 or 64 bit. If you don't know run this command: uname -r
- Launch each command row by row (do not copy paste the whole thing and try to run in terminal)
32-bit / 64-bit
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
That's all! Following repository can be used to install Spotify on Debian or you can download latest beta version from: http://repository-origin.spotify.com/pool/non-free