Mopidy-LeftAsRain
Mopidy extension to get tracks from leftasrain.com
Installation
Install by running:
pip install Mopidy-LeftAsRain
Configuration
Before starting Mopidy, you must add configuration for Mopidy-LeftAsRain to your Mopidy configuration file:
[leftasrain] enabled = true db_filename = $XDG_CACHE_DIR/mopidy/leftasrain.json
To make use of this extenstion, it is recommended to first run:
mopidy leftasrain pull
to pull all leftasrain.com songs to a local database (note: this might take a while).
Shorthands
There are currently two additional lookup shorthands, when adding songs to
Mopidy: leftasrain:all
and leftasrain:last:<n>
.
leftasrain:all
will add all currently available (in local database) songs.
leftasrain:last:<n>
will add the last n
songs from leftasrain.com (will
pull, if the songs are not in local database already).
Project resources
Changelog
v0.1.1 (2015-07-31)
- Fix a leftover typo in commands (PR #2 by @jeffleder)
v0.1.0 (2015-06-20)
- Require Mopidy >= 1.0
- Update to work with backend API changes in Mopidy 1.0
- Retry when fetching song information
- Attempt to create cache directory upon startup
v0.0.3.1 (2014-09-13)
- Remove newlines in comments
v0.0.3 (2014-09-12)
- Save DB after queries
v0.0.2 (2014-07-18)
- Add leftasrain:last:n lookup shorthand
v0.0.1.1 (2014-07-17)
- Fix repeated song pull bug.
v0.0.1 (2014-06-24)
- Initial release.
- Basic search capabilities.