Hello
I have been running a multiple instance mopidy system. For some reason, I cannot remember how to force mopidy to scan both configs.
admin@pimusic:~ $ sudo mopidyctl local scan
[sudo] password for admin:
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf local scan" as user mopidy
INFO [MainThread] mopidy.__main__ Starting Mopidy 3.3.0
ERROR [MainThread] mopidy.ext Failed to load extension mopify: No module named 'mem'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 221, in load_extensions
extension_class = entry_point.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2417, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.7/dist-packages/mopidy_mopify/__init__.py", line 7, in <module>
import mem
ModuleNotFoundError: No module named 'mem'
INFO [MainThread] mopidy.config Loading config from builtin defaults
INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidySFX.conf
INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
INFO [MainThread] mopidy.config Loading config from command line options
WARNING [MainThread] mopidy.config Ignoring config section 'moped' because no matching extension was found
WARNING [MainThread] mopidy.config Ignoring config section 'musicbox_webclient' because no matching extension was found
WARNING [MainThread] mopidy.config Ignoring config section 'local-images' because no matching extension was found
INFO [MainThread] mopidy.__main__ Enabled extensions: m3u, mpd, stream, http, softwaremixer, alsamixer, iris, local, scrobbler, mobile, file
INFO [MainThread] mopidy.__main__ Disabled extensions: spotify
INFO [MainThread] mopidy_local.commands Finding files in file:///var/lib/mopidy/media/LOWDEN_MUSIC/MUSIC ...
INFO [MainThread] mopidy_local.commands Found 56626 files in file:///var/lib/mopidy/media/LOWDEN_MUSIC/MUSIC
INFO [MainThread] mopidy_local.commands Checking 49532 tracks from library
INFO [MainThread] mopidy_local.commands Removing 0 missing tracks
INFO [MainThread] mopidy_local.commands Found 2 tracks which need to be updated
INFO [MainThread] mopidy_local.commands Scanning...
INFO [MainThread] mopidy_local.commands Scanned 2 of 2 files in 2.011s.
INFO [MainThread] mopidy_local.commands Done scanning
INFO [MainThread] mopidy_local.storage Cleaning up image directory
admin@pimusic:~ $
The above scans INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
but not
INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidySFX.conf
Before I launch a scan , I delete
/var/lib/mopidySFX/local/library.db
and the scan creates a new library.db file that is empty.
The media_dir is the right path.
[local]
enabled = true
library = json
media_dir = /var/lib/mopidy/media/LOWDEN_SFX/SFX_FILES
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
Is there anything I am missing ? Is there a way to force a scan on a specific conf?
Thank you