Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Gnome media key integration for the Spotify Linux client

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
README.md

Spotify Gnome Integration

This program provides Gnome media key support for the Spotify Linux client.

The Spotify client supports DBus for controlling the player, using the MPRIS Specification, but does not listen for basic media key signals provided by Gnome. This program acts as a "wrapper" around Spotify to translate media key signals from Gnome and send them to the Spotify client.

It supports the play/pause, stop, next, and previous signals, and is compatible with both Gnome 2 and Gnome 3.

NEW Jan 2013 - Get Now Playing integration for telepathy based clients such as Empathy,Pidgin,Kde Telepathy Sugar using lib telepahty support from gobject-introspection - dhananjaysathe@gmail.com Edit : Added basic advertisement filtering for advertisements in the telepathy statuses

Many thanks to Mike Houston at kothar.net and Fran Diéguez at Mabishu for their blog postings that pointed me in the right directions to get this implemented.

Installation

Verify that your copy of Spotify installed its binary to /usr/bin/spotify:

$ which spotify
/usr/bin/spotify

If it was installed to a different location, you will need to edit bin/spotify to set spotify_bin to the appropriate path.

Copy bin/spotify to /usr/local/bin/spotify, or a different path that takes precedent over the location of your spotify binary:

$ sudo install bin/spotify /usr/local/bin/

Launching spotify via application launcher or from the command line should now start the wrapper first, which will then launch the real Spotify client. Enjoy having media keys that work for both Spotify and other media players.

Support

Spotify-Gnome was created by John Reese, and copyright (c) 2011. Telepathy support - Dhananjay Sathe Notification support - Matthew Bray Spotify-Gnome is licensed under the MIT license. See the LICENSE files for details.

Bugs can be reported on my bug tracker.

Something went wrong with that request. Please try again.