Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Latest commit

 

History

History
155 lines (98 loc) · 3.79 KB

README.rst

File metadata and controls

155 lines (98 loc) · 3.79 KB

WARNING

As of November 2019, the dirble.com service is no longer operational. Thus, the maintenance of this extension has been stopped. The mopidy-dirble package has been removed from Homebrew and Debian/Ubuntu, and the Git repo is put into archive mode.


Mopidy-Dirble

Latest PyPI version Travis CI build status Test coverage

Mopidy extension for Dirble open radio directory.

Installation

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

sudo apt-get install mopidy-dirble

Arch Linux: Install the mopidy-dirble package from AUR:

yay -S mopidy-dirble

OS X: Install the mopidy-dirble package from the mopidy/mopidy Homebrew tap:

brew install mopidy-dirble

Else: Install the package from PyPI:

pip install Mopidy-Dirble

Configuration

Before starting Mopidy, you must add configuration for Mopidy-Dirble to your Mopidy configuration file:

[dirble]
api_key = INSERT-YOUR-API-KEY-FROM-DIRBLE-HERE
countries = US,GB,NO
timeout = 5000

To get this working you must first go to Dirble and sign up for an account or just login with Facebook or Twitter. Then go to the API keys page and get your API key. The free plan should be more than enough for a typical Mopidy install.

Project resources

Credits

Changelog

v1.3.0 (2016-01-25)

  • Fix user country handling. Fixes #12
  • Log an error for bad API tokens.
  • Various internal cleanups
  • Removed bad sample API key and added instructions to get your own. Fixes #13

v1.2.0 (2015-12-05)

  • Update to account for changes in data from Dirble API. Fixes #11
  • pycountry is no longer used as Dirble provides names now.

v1.1.2 (2015-06-25)

  • Fix image handling bugs in 1.1.1.

v1.1.1 (2015-06-24)

  • Updates to match Dirble v2 API changes.
  • Prefer streams that Dirble says are up. Thanks to Alexander Hartl (@alexhartl) for suggesting the status check in PR#8.

v1.1.0 (2015-04-26)

  • Use Requests for accessing the API.
  • Update to use new Dirble v2 APIs.
  • Add support for station images.
  • Add continent/country browsing.
  • Add search support.
  • Stop showing country codes in country folders.

v1.0.0 (2015-03-25)

  • Require Mopidy >= 1.0.
  • Update to work with new playback API in Mopidy 1.0.
  • Update to work with new backend search API in Mopidy 1.0.

v0.1.1 (2014-03-20)

  • Change to new API endpoint URL. The old API endpoint will be discontinued 2014-05-03.

v0.1.0 (2014-01-20)

  • Initial release.
  • Provides basic hierarchy based browsing of Dirble categories and sub-categories.
  • Lists user defined countries.