Skip to main content

Mopidy extension for providing the browse feature of Spotify

Project description

Latest PyPI version Number of PyPI downloads Travis CI build status Test coverage

Mopidy extension for providing the browse feature of Spotify. This lets you browse playlists, genres and new releases.

Uses the Tunigo API, which is also what Spotify itself uses. Note that the API is not documented or officially released, so it may change at any time.

Dependencies

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

  • Python-Tunigo >= 1.0.0. A library for accessing the Tunigo API.

Installation

Debian/Ubuntu/Raspbian: Install the mopidy-spotify-tunigo package from apt.mopidy.com:

sudo apt-get install mopidy-spotify-tunigo

Arch Linux: Install the mopidy-spotify-tunigo package from AUR, e.g.:

yaourt -S mopidy-spotify-tunigo

Else: Install the Mopidy-Spotify-Tunigo package from PyPI:

pip install Mopidy-Spotify-Tunigo

Configuration

The following configuration values are available:

  • spotify_tunigo/enabled: If the Spotify-Tunigo extension should be enabled or not.

  • spotify_tunigo/region: The region to fetch playlists and releases for. The value should be a two letter country code if set. Defaults to empty, which means all regions.

  • spotify_tunigo/sub_genres: Whether to show sub genres and top tracks under each genre. Defaults to True.

  • spotify_tunigo/cache_time: The amount of seconds to cache the results from the API. A value of 0 will disable the cache. Defaults to 3600.

License

Mopidy-Spotify-Tunigo is licensed under the Apache License, Version 2.0.

Project resources

Changelog

v1.0.0 (2016-02-07)

  • Support using a proxy when connecting to Tunigo. (Fixes: #6)

  • Add a config option for only returning the genre playlists for a genre, instead of an extra level with the top tracks and sub genres for the genre as well.

  • Change default region from all to empty.

  • Add tests for all classes.

v0.2.1 (2014-07-21)

  • Update dependencies.

  • Fix flake8 errors, unused imports and docs syntax.

  • Test config options.

v0.2.0 (2014-06-23)

  • Move Tunigo API into a separate library.

  • Add option to specify cache time.

  • List top tracks and sub genres in each genre.

v0.1.0 (2014-06-21)

  • 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-Tunigo-1.0.0.tar.gz (11.3 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