skip to navigation
skip to content

Not Logged In

Mopidy-Local-SQLite 0.2.0

Mopidy SQLite local library extension

Latest Version: 0.10.0

Mopidy-Local-SQLite is a Mopidy local library extension that uses an SQLite database for keeping track of your local media. This extension lets you browse your music collection by artist and album, and provides efficient 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 from a cron job, for example.

Installation

Install by running:

pip install Mopidy-Local-SQLite

Configuration

Before starting Mopidy, you must change your configuration to switch to using Mopidy-Local-SQLite as your preferred local library:

[local]
library = sqlite

Once this has been set you need to re-scan your library to populate the database:

mopidy local scan

This extension also provides some configuration settings of its own, but beware that these are still subject to change:

[local-sqlite]
enabled = true

# hash algorithm to use for generating local URIs
hash = md5

# whether to use an album's musicbrainz_id for generating its URI
use_album_mbid_uri = true

# whether to use an artist's musicbrainz_id for generating its URI;
# disabled by default, since some taggers do not handle this well for
# multi-artist tracks [https://github.com/sampsyo/beets/issues/907]
use_artist_mbid_uri = false

# set to "off" to disable enforcement of foreign key constraints
foreign_keys = on

# database connection timeout in seconds
timeout = 10

License

Copyright (c) 2014 Thomas Kemmer.

Licensed under the Apache License, Version 2.0.

Known Bugs and Limitations

The database schema does not support multiple artists, composers or performers for a single track or album. Look out for “Ignoring multiple artists” warnings during a local scan to see if you are affected by this.

 
File Type Py Version Uploaded on Size
Mopidy-Local-SQLite-0.2.0.tar.gz (md5) Source 2014-08-20 14KB
  • Downloads (All Versions):
  • 18 downloads in the last day
  • 696 downloads in the last week
  • 2572 downloads in the last month