Skip to content

kartsan/mopidy-yle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mopidy-YLE

Latest PyPI version

Travis CI build status

Test coverage

Mopidy extension for YLE Areena

Installation

Install by running:

git clone https://github.com/kartsan/mopidy-yle.git
sudo python setup.py install

Configuration

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

[yle]
app_id = <your YLE app_id>
app_key = <your YLE app_key>
secret_key = <your YLE secret_key>
sort_method = playcount.24h:asc
language = fi

The following configuration values are available:

  • yle/enabled: If the YLE extension should be true (enabled) or false (not). Defaults to true.
  • yle/app_id: Your personal YLE application ID. Required.
  • yle/app_key: Your personal YLE application key. Required.
  • yle/secret_key: Your personal YLE secret key. It is used to decode media URIs. Required if any media is about to be played.
  • yle/sort_method: Sorting method to use in searches. Syntax is a tuple sort_method:sort_type. Available types are: asc and desc. Available methods are: playcount.6h, playcount.24h, playcount.week, playcount.month, publication.starttime, publication.endtime and updated. Defaults to playcount.24h:asc
  • yle/language: Accepted language in the search results. Available languages are: fi (Finnish), sv (Swedish) and en (English). Defaults to fi.

Get your API personal keys from here

Project resources

Credits

Changelog

v0.3.0 (2019-03-16)

  • Added YLE live radio stations
  • Image support
  • More caching of YLE data
  • Browse only radio categories
  • Code simplified
  • Added more error checking

v0.2.0 (Initial release)

  • First public release: search, browse and playing media works.

v0.1.0 (UNRELEASED)

  • Initial release.

About

Mopidy extension for YLE API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages