MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED "MMM-BackgroundSlideshow" the path to the image in the USB folder?

    Troubleshooting
    2
    6
    1562
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      prism last edited by

      If I update the image frequently, is there a way to save the path to the image in the USB folder?

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @prism last edited by sdetweil

        @prism you will have to make a link from the module folder to the USB folder, then it will work…

        the MM web server root is the MagicMirror/modules folder

        see the ln command

        Sam

        Create a working config
        How to add modules

        P 1 Reply Last reply Reply Quote 0
        • P
          prism @sdetweil last edited by

          @sdetweil

          Can you explain in detail? I’ve modified the path in ‘config.js’ and the module ‘MMM-BackgroundSlideshow.js’, but it does not recognize it.
          Grace to the elderly who are not familiar with computers …
          Wait for your detailed reply.

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @prism last edited by sdetweil

            @prism who u calling elderly!. I am 68 in 2 weeks…lol!

            the link (ln) command provides for a local folder (or ) file, actually being someplace else

            so,

            ln -s "the usb folder" "some_new_directory in the MMM-BackgroundSlideshow folder"
            

            then config the module to show images from the “some_new_directory in the MMM-BackgroundSlideshow folder”

            in my case

            lrwxrwxrwx  1 odroid odroid   18 Apr 29 12:40 uploads -> /media/odroid/misc/
            

            uploads (here) points to my external disk shared over the network and mounted at /media/odroid/misc

            so my commands were

            cd MagicMirror/modules/MMM-ImageSlideShow
            ln -s /media/odroid/misc uploads
            

            Sam

            Create a working config
            How to add modules

            P 1 Reply Last reply Reply Quote 1
            • P
              prism @sdetweil last edited by

              @sdetweil

              Thank you.
              Thanks to you, I was able to work without any problems.
              Thank you again for your kindness.

              S 1 Reply Last reply Reply Quote 1
              • S
                sdetweil @prism last edited by

                @prism great!.. can u mark this is resolved…

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy