Mopidy extension for providing the browse feature of Spotify. This lets you browse artists and albums of your spotify user account library.
Uses the Spotipy API, which is a python wrapper arround the spoitify web api.
- A Spotify Premium subscription. Mopidy-Spotify will not work with Spotify Free, just Spotify Premium.
- A non-Facebook Spotify username and password.
Mopidy
>= 0.19.0. The music server that Mopidy-Spotify-Tunigo extends.Mopidy-Spotify
>= 1.2.0. The Mopidy extension for playing music from Spotify.Spotipy
. A library for accessing the Spotify web-api.
install the package from PyPI:
pip install Mopidy-Spotify-Web
To run this extension you need to authorize it against you Spotify account, to do this visit https://www.mopidy.com/authenticate/#spotify and follow the instructions.
Example configuration:
[spotify_web] 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:
spotify/enabled
: If the Spotify extension should be enabled or not. Defaults totrue
.spotify_web/client_id
: Your Spotify application client id. You must provide this.spotify_web/client_secret
: Your Spotify application secret key. You must provide this.spotify_web/token_url
: url to the authorization endpoint of the Mopidy OAuth bridge for Spotify. Defaults to https://auth.mopidy.com/spotify/token.
- Use
requests
module for fetching tokens. - Blocking initialization moved out of critical startup path.
- Various internal cleanups to make code more Pythonic.
- Switch to using Mopidy's token swap service for simpler authentication.
- Initial release.