Mopidy extension to get tracks from leftasrain.com
Install by running:
pip install Mopidy-LeftAsRain
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).
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).
- 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
- Remove newlines in comments
- Save DB after queries
- Add leftasrain:last:n lookup shorthand
- Fix repeated song pull bug.
- Initial release.
- Basic search capabilities.