Mopidy SQLite本地库扩展
项目描述
Mopidy-Local-SQLite是一个使用SQLite数据库来跟踪您的本地媒体Mopidy本地库扩展。此扩展允许您通过专辑、艺术家、作曲家和表演者浏览您的音乐收藏,并基于SQLite的FTS模块提供全文搜索功能。它还通过mopidy本地扫描在Mopidy运行时通知更新,因此您可以从cron作业等定期扫描您的媒体库。
安装
Mopidy-Local-SQLite可以通过运行以下命令使用pip进行安装:
pip install Mopidy-Local-SQLite
配置
在启动Mopidy之前,您必须更改配置以切换到使用Mopidy-Local-SQLite作为首选的本地库。还建议更改默认的scan_flush_threshold,以提高本地扫描时的数据库访问
[local] library = sqlite scan_flush_threshold = 100
设置完成后,您需要重新扫描您的库以填充数据库
mopidy local scan
此扩展还提供了一些自己的配置设置,但请注意,这些设置仍可能发生变化
[local-sqlite] enabled = true # top-level directories for browsing, as <name> <uri> directories = Albums local:directory?type=album Artists local:directory?type=artist Composers local:directory?type=artist&role=composer Genres local:directory?type=genre Performers local:directory?type=artist&role=performer Release Years local:directory?type=date&format=%25Y Tracks local:directory?type=track Last Week's Updates local:directory?max-age=604800 Last Month's Updates local:directory?max-age=2592000 # database connection timeout in seconds timeout = 10 # 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 # whether to use the sortname field for sorting artist browse results; # set to false to sort according to displayed name only use_artist_sortname = true
项目资源
许可证
版权(c)2014,2015托马斯·克默和贡献者。
根据Apache许可证,版本2.0许可。
已知错误和限制
数据库模式不支持单个曲目或专辑具有多个艺术家、作曲家或表演者。在本地扫描期间,注意“忽略多个艺术家”警告,以查看您是否受此影响。
项目详情
关闭
Mopidy-Local-SQLite-1.0.0.tar.gz的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | 5207b92e049b8ec60825f18065382d46eacb9dd328cf1b227f67e6771efefc13 |
|
MD5 | b62a3bbf3615943666afbdd43ae70951 |
|
BLAKE2b-256 | 0f4df156196381ae8cea81bd3b75a493a180a137f01a568aacb77f0f5e223c08 |
关闭
Mopidy_Local_SQLite-1.0.0-py2.py3-none-any.whl的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | 0672c5dedee77390c9dc4ff6af657e2c52c0af015702e8054058b051116a0d7f |
|
MD5 | 568428ceffb363e17ac8b5144135b612 |
|
BLAKE2b-256 | e0dbaa4640a6045c0550b872adc0d8f053470d6914ecc21c9b5c8a44aea73710 |