Following excellent instructions on how to install
mopidy on a Raspberry PI-4 I got it working nearly straight away. In order to test if
mopidy is able to play local files, however, I installed
mopidy-local as I thought I would need that in addition to the bundled
mopidy-file The distinction is not quite clear to me though. That may be one issue.
Anyway, I created a folder
/home/pi/music/bach/ and copied about 20 flac files into that folder. Then I configured
./config/mopidy/mopidy.conf to include (only beginning of section shown):
[file] enabled = true media_dirs = /home/pi/music | Home : [local] enabled = true library = json media_dir = /home/pi/music :
mopidy local scan assuming that this is the incantation needed to make
mopidy learn the metadata of the music collection. Then I started
mopidy proper, also having installed
mopidy-iris prior to that. So far so good.
http://192.168.1.123:6680/iris/library/browse/ I can see a “Local Media” folder icon, clicking on it and I see some various folders for Albums, Artists, etc. Clicking on one of those I get an error:
Oops, that link could not be found
With mopidy reporting on the command line:
ERROR 2021-03-18 18:18:45,806 [16267:LocalBackend-6] mopidy_local.library Lookup error for local:directory: Invalid lookup URI
I would have expected to being able to browse at least the file system in one way or the other. I have even tried to “Start local scan” in http://192.168.1.123:6680/iris/settings for good measure, but in vain.
What has gone wrong in the installation or configuration of a local media source?