Code Monkey home page Code Monkey logo

mopidy-spotify-web's Introduction

Mopidy-Spotify-Web

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

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

Project resources

Changelog

v0.2.0 (unreleased)

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

v0.1.0 (2015-05-03)

  • Initial release.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.