Skip to main content

Mopidy extension for providing the browse feature of Spotify for artists and albums

Project description

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.

Dependencies

  • A Spotify Premium subscription. Mopidy-Spotify will not work with Spotify Free, just Spotify Premium.

  • A non-Facebook Spotify username and password.

  • A registered application on https://developer.spotify.com, follow the instruction on https://developer.spotify.com/web-api/tutorial/. Create a Client ID and Secret Key, then finish the tutorial to obtain a refresh token.

  • 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.

Installation

install the package from PyPI:

pip install Mopidy-Spotify-Web

Configuration

Example configuration:

[spotify_web]
spotify_client_id = 'YOUR_CLIENT_ID'
spotify_client_secret = 'YOUR_SECRET'
refresh_token = 'YOUR_REFRESH_TOKEN'

The following configuration values are available:

  • spotify/enabled: If the Spotify extension should be enabled or not. Defaults to true.

  • spotify_web/client_id: Your Spotify application client id. You must provide this.

  • spotify_web/spotify_client_secret: Your Spotify application secret key. You must provide this.

  • spotify_web/refresh_token: Your Spotify refresh token. You must provide this.

  • spotify_web/auth_server_url: url to the authorization endpoint of the Spotify Accounts service. Defaults to https://accounts.spotify.com/api/token.

Project resources

Changelog

v0.1.0 (2015-05-03)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mopidy-Spotify-Web-0.1.0.tar.gz (9.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page