kolbyjack / MMM-Wallpaper

MagicMirror module to display wallpapers from various online sources
https://magicmirror.builders/
MIT License
99 stars 31 forks source link

Local wallpaper can't display #52

Closed smyepp closed 2 years ago

smyepp commented 2 years ago

I have copied my wallpapers to NAS, the path as follows: //192.168.6.10/wallpaper. Then I edit the config: modules: [ { module: "MMM-Wallpaper", position: "fullscreen_below", config: { // See "Configuration options" for more information. source: "local:/192.168.6.10/wallpaper", slideInterval: 20 * 1000 // Change slides every minute

But it not works, What i am missing?

elgeorgie commented 2 years ago

Make sure the network path is mounted locally on the rpi first.

smyepp commented 2 years ago

I'm sure the network path is mounted, I can access the path in rpi directly. Is the source I edited right?
source: "local:/192.168.6.10/wallpaper"

elgeorgie commented 2 years ago

If it's mounted locally, it should have a local path e.g, "/home/pi/wallpaper" instead of the ip

smyepp commented 2 years ago

I got it . Thanks alot