Spotify-notifySpotify-notify is a notifier for currently playing song in Spotify on a linux system, using the notify-osd notifier (found in e.g. Ubuntu). It also includes support for media keys It is intended for use on Ubuntu systems - dependencies are notify-osd and python-indicate. Getting startedThese instructions apply to Ubuntu only (but may work on other Debian-based distros) To get it running, you first need to download the files. You'll find them in the "Downloads" section above. Unzip them to your home folder. Next, make sure you have the right dependencies. Open up a terminal (ALT + F2, then write "xterm") and write: sudo apt-get install python-indicate
Navigate to the folder where you unpacked the zip-file. Then run the script by typing python spotify-notify.py
It will launch Spotify for you if not already running. Please see options below to change default behavior. If you want to launch the file directly you can first do: chmod a+x spotify-notify.py
then launch by ./spotify-notify.py Available options are: -h, --help show help message and exit
-a ACTION, --action=ACTION
Music player actions
(playPause/play/pause/next/previous).
-n, --skip_notify Song change notifications will be turned off.
-m, --skip_media_keys
Multimedia keys will not interact with spotify.
-s, --skip_spotify Spotify will not be opened if it is not running and
spotify notify will not close when spotify is closed.
-d, --debug Debug messages will be displayed.
FAQQ: I want to use the script just for the media key support. How can I do this? Launch with -n as parameter. Q: Do I need Ubuntu to use this script? Will others distros work? A: As the script uses the Ubuntu sound inidicator Ubuntu is required. Indicator dependencies should be easy to remove, however, if you wish to do so.
Spotify-notify is in no way affiliated with Spotify. Spotify is the registered trade mark of the Spotify Group.
|