Extension for playing music from your local music archive.
In contrast to Mopidy-File, Mopidy-Local builds an index of your archive’s metadata ahead of time, and can thus provide additional features like search.
The music metadata is stored in a SQLite database. This lets you browse your music collection by album, artist, composer and performer, and provides full-text search capabilities based on SQLite’s FTS modules. It also notices updates via mopidy local scan while Mopidy is running, so you can scan your media library periodically, for example from a cron job.
History
This extension is the result of the merging of three old extensions:
- Mopidy-Local, which before Mopidy 3 used to be bundled with Mopidy itself.
- Mopidy-Local-SQLite, which was an alternative to the old default JSON file storage backend.
- Mopidy-Local-Images, which provides album art embedded in local files to web clients.
Installation
Install the Mopidy-Local package from PyPI:
sudo python3 -m pip install Mopidy-Local
Install the mopidy-local package from Debian or Ubuntu:
sudo apt install mopidy-local
Mopidy's APT repository
Alternatively, you can install the mopidy-local Debian package from Mopidy's APT repository, which often has newer versions than Debian/Ubuntu.
First, follow the instructions at apt.mopidy.com on how to setup Mopidy's APT repo on your system.
Then, install the mopidy-local package:
sudo apt install mopidy-local
Install the mopidy-local package from AUR:
yay -S mopidy-local
Install the mopidy-local formula with Homebrew:
brew install mopidy/mopidy/mopidy-local