darickc / MMM-BackgroundSlideshow

MIT License
143 stars 80 forks source link

Anyone gotten this to work with a cifs mount? #11

Closed 1dollarbob closed 5 years ago

1dollarbob commented 5 years ago

I love the idea of this module, and it works great with a local directory. I mounted a shared directory and pointed the imagePaths to the mount point, and all I get is a black background. I've tried playing with permissions and paths, but haven't had any luck. Any ideas on why this is happening or how to better debug?

1dollarbob commented 5 years ago

Doing some debug, the problem is not in this module - I can see the browser doing a get for the file with the right file name, but the file is not provided by the web server. I'm still looking for a way to fix it.

darickc commented 5 years ago

I had this working with a file share, but it seemed to get disconnected a lot. I now have it running in docker on my server and my Raspberry pi running in client only mode which is working great.

Where are you defining your share at? I believe it needs to be within the modules folder, otherwise the web server can't get to it.

1dollarbob commented 5 years ago

I had it in ~/MagicMirror/media, once I moved it to ~/MagicMirror/modules/media it worked.

Thank you!