Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mopidy cannot see HA media files mounted via samba #374

Open
ovizii opened this issue Feb 6, 2023 · 1 comment
Open

Mopidy cannot see HA media files mounted via samba #374

ovizii opened this issue Feb 6, 2023 · 1 comment
Labels
bug Something isn't working mopidy mopidy Addon

Comments

@ovizii
Copy link

ovizii commented Feb 6, 2023

Which addon?
mopidy

Describe the bug
Mopidy cannot see HA media files

To Reproduce

  1. Install add-on
  2. set media_folder to /media/nas-music
  3. Go to iris and browse: no files found
  4. 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 ovizii added the bug Something isn't working label Feb 6, 2023
@Poeschl Poeschl added the mopidy mopidy Addon label Feb 6, 2023
@ovizii
Copy link
Author

ovizii commented Feb 10, 2023

Btw. even if I leave the default config, I get the same error when using iris to browse to the local files.

image

doing this:

image

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mopidy mopidy Addon
Projects
None yet
Development

No branches or pull requests

2 participants