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 details)

Uploaded Source

File details

Details for the file Mopidy-Spotify-Tunigo-1.0.0.tar.gz.

File metadata

File hashes

Hashes for Mopidy-Spotify-Tunigo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ed14484efc80536eb40d909b7d1cc789fd1f9565045c8408b387b92df4789737
MD5 25aeb58806f3ff8e4e21e3d1d3a719aa
BLAKE2b-256 7ffdd4259db55060293898b74e7ab51e83f1fd5baf26768909bf8d5c94f4b8f3

See more details on using hashes here.

Supported by

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