Mopidy cannot see HA media files mounted via samba
ovizii opened this issue · 1 comments
ovizii commented
Which addon?
mopidy
Describe the bug
Mopidy cannot see HA media files
To Reproduce
- Install add-on
- set media_folder to /media/nas-music
- Go to iris and browse: no files found
- See error
Expected behavior
I expected mopidy to see my files
System
Home Assistant 2023.2.2
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230202.0 - latest
Error from the logs:
WARNING 2023-02-06 10:43:35,026 [100:FileBackend-3 (_actor_loop)] mopidy.file.library
Failed looking up file:///media/nas-music: gst-resource-error-quark: "/media/nas-music" is a directory. (5)
INFO 2023-02-06 10:43:49,336 [100:Thread-16] mopidy_iris.system
The samba shares is mounted via a shell command on HA>
"mkdir -p /media/nas-music;mount -t cifs -o vers=3.0,username=myself,password=secretpw //10.10.10.10/music /media/nas-music"
I can access and play the media from HA by clicking on Media => local media => NAS music
ovizii commented
Btw. even if I leave the default config, I get the same error when using iris to browse to the local files.
doing this:
triggers this error:
WARNING 2023-02-10 09:58:26,524 [101:FileBackend-3 (_actor_loop)] mopidy.file.library
Failed looking up file:///media/mopidy/media: gst-resource-error-quark: "/media/mopidy/media" is a directory. (5)