Differences between revisions 1 and 37 (spanning 36 versions)
Revision 1 as of 2016-02-25 00:37:43
Size: 770
Editor: LluisRubies
Comment:
Revision 37 as of 2021-03-02 21:05:42
Size: 2936
Editor: ?mik13ST
Comment: Fix package name typo for dbus-x11
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[spotify|English]] - [[fr/spotify|Français]] - [[es/spotify|Español]] - [[it/spotify|Italiano]] -~
----

||<tablestyle="width:100%; text-align: left" style="border:0">{{https://upload.wikimedia.org/wikipedia/commons/1/19/Spotify_logo_without_text.svg|Spotify logo|width=128}}||<style="border:0;vertical-align: middle;">'''Spotify''' is a digital music streaming service that gives you access to millions of songs, podcasts and videos from artists all over the world. There is also an online player on https://open.spotify.com/||
Line 2: Line 8:

== Debian 8 "Jessie" ==

{{{#!wiki caution
'''Using third-party repositories as recommended below is not supported by the Debian project and could break your system now or when you upgrade later. Use with caution at your own risk!'''
}}}
Line 5: Line 17:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
}}} 
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4773BD5E130D1D45
}}}
Line 11: Line 23:
}}}  }}}
Line 15: Line 27:
sudo apt-get update sudo apt update
Line 18: Line 30:
4. Install Spotify Install Spotify
Line 20: Line 32:
sudo apt-get install spotify-client sudo apt install spotify-client
Line 23: Line 35:
Get ligcrypt11 package from sid:
{{{
sudo dpkg -i http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-5_amd64.deb

== Debian 9 "Stretch" ==

{{{#!wiki caution
'''Using third-party repositories as recommended below is not supported by the Debian project and could break your system now or when you upgrade later. Use with caution at your own risk!'''
Line 28: Line 42:
Install libgrypt11 package NB: You will need to install dirmngr if not already installed
Line 30: Line 44:
sudo dpkg -i libgcrypt11_1.5.3-5_amd64.deb sudo apt install dirmngr
Line 32: Line 46:

'''dirmngr is installed in Buster'''


Add the Spotify repository signing key to be able to verify downloaded packages
{{{
curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/repository-spotify-com-keyring.gpg >/dev/null
}}}

Add the Spotify repository
{{{
echo deb [signed-by=/usr/share/keyrings/repository-spotify-com-keyring.gpg] http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
}}}

Update list of available packages
{{{
sudo apt update
}}}

Install Spotify
{{{
sudo apt install spotify-client
}}}

= Tricks =

== Controlling playback using MPRIS D-Bus interface ==
On minimal systems it might be required to launch the desktop environment or window manager through {{{dbus-launch --exit-with-session}}} (provided by DebPkg:dbus-x11).

Typically you would edit {{{.xinitrc}}} from
{{{
exec openbox-session
}}}
to
{{{
exec dbus-launch --exit-with-session openbox-session
}}}

Spotify implements MPRIS interface so command like
{{{
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
}}}
should work.

----
CategoryProprietarySoftware

Translation(s): English - ?Français - Español - ?Italiano


Spotify logo

Spotify is a digital music streaming service that gives you access to millions of songs, podcasts and videos from artists all over the world. There is also an online player on https://open.spotify.com/

Installing Spotify

Debian 8 "Jessie"

Using third-party repositories as recommended below is not supported by the Debian project and could break your system now or when you upgrade later. Use with caution at your own risk!

Add the Spotify repository signing key to be able to verify downloaded packages

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4773BD5E130D1D45

Add the Spotify repository

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

Update list of available packages

sudo apt update

Install Spotify

sudo apt install spotify-client

Debian 9 "Stretch"

Using third-party repositories as recommended below is not supported by the Debian project and could break your system now or when you upgrade later. Use with caution at your own risk!

NB: You will need to install dirmngr if not already installed

sudo apt install dirmngr

dirmngr is installed in Buster

Add the Spotify repository signing key to be able to verify downloaded packages

curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/repository-spotify-com-keyring.gpg >/dev/null

Add the Spotify repository

echo deb [signed-by=/usr/share/keyrings/repository-spotify-com-keyring.gpg] http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

Update list of available packages

sudo apt update

Install Spotify

sudo apt install spotify-client

Tricks

Controlling playback using MPRIS D-Bus interface

On minimal systems it might be required to launch the desktop environment or window manager through dbus-launch --exit-with-session (provided by dbus-x11).

Typically you would edit .xinitrc from

exec openbox-session

to

exec dbus-launch --exit-with-session openbox-session

Spotify implements MPRIS interface so command like

dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

should work.


CategoryProprietarySoftware