mopidy / mopidy-spotify

Mopidy extension for playing music from Spotify
https://mopidy.com/ext/spotify/
Apache License 2.0
934 stars 108 forks source link
mopidy mopidy-backend python spotify

Mopidy-Spotify


.. image:: https://img.shields.io/pypi/v/Mopidy-Spotify :target: https://pypi.org/project/Mopidy-Spotify/ :alt: Latest PyPI version

.. image:: https://img.shields.io/github/actions/workflow/status/mopidy/mopidy-spotify/ci.yml?branch=main :target: https://github.com/mopidy/mopidy-spotify/actions :alt: CI build status

.. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-spotify :target: https://codecov.io/gh/mopidy/mopidy-spotify :alt: Test coverage

Mopidy <https://mopidy.com/> extension for playing music from Spotify <https://www.spotify.com/>.

Status :warning:

Spotify have recently disabled username and password login for playback (#394 <https://github.com/mopidy/mopidy-spotify/issues/394>_) and we now utilise access-token login. You no longer need to provide your Spotify account username or password.

Mopidy-Spotify currently has no support for the following:

Working support for the following features is currently available:

Dependencies

Verify the GStreamer spotify plugin is correctly installed::

gst-inspect-1.0 spotify

Installation

Install by running::

sudo python3 -m pip install --break-system-packages Mopidy-Spotify==5.0.0a2

Configuration

Before starting Mopidy, you must add your Spotify Premium username and password to your Mopidy configuration file and also visit https://mopidy.com/ext/spotify/#authentication to authorize this extension against your Spotify account::

[spotify]
client_id = ... client_id value you got from mopidy.com ...
client_secret = ... client_secret value you got from mopidy.com ...

The following configuration values are available:

Project resources

Credits