alvesvaren / spotify_python

A simple dbus spotify api for python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotify python

Control your spotify client using an easy-to-use dbus interface for python 3!

Disclaimer: This only works on DBus-enabled systems, like most linux distrubutions.

Usage

>>> from spotify import Spotify
>>> spotify = Spotify()
>>> print(spotify.track)
some song - an artist
>>> spotify.next()

Installation

Make sure the python module dbus is installed correctly:

Arch linux: sudo pacman -S python-dbus

Debian: sudo apt install python-dbus

$ pip install git+https://github.com/alvesvaren/spotify_python

About

A simple dbus spotify api for python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%