MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    slideshow issue from NAS

    Scheduled Pinned Locked Moved Solved Troubleshooting
    13 Posts 2 Posters 5.8k Views 2 Watching
    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 Offline
      palp
      last edited by

      Hello Experts,

      need your help and guidance please -

      I’ve started using MM recently on pi 02w (dietpi) and it has been working good with module MMM-BackgroundSlideshow to cast slideshow from a network drive (mounted via samba) i.e.
      “imagePaths: [‘/mnt/samba/myPicFrame/’],”

      However after i upgraded to MM 2.30.0 yesterday slideshow is being stopped and a black screen with no other module data is being displayed.
      But when i switch back to MMM-BackgroundSlideshow local pic directory i.e.
      “imagePaths: [‘modules/MMM-BackgroundSlideshow/exampleImages/’],”
      its working fine - only for the network mount drive screen is going blank.
      Please suggest any remedy or anything im doing incorrect.

      Thanks, Pratap

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @palp
        last edited by

        @palp did you reboot? is the link mounted?

        ls /mnt/samba/myPicFrame/
        

        should return the list of pics
        if not

        sudo mount -a
        

        if the mount is defined in /etc/fstab

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          palp
          last edited by

          Thanks Sam, for quick response.
          yes i’ve added the mount on boot in the fstab and i can browse the pictures in the /mnt/samba/myPicFrame. in fact MM is starting with those picture but going blank in a while (approx 10-15 min after start may be).

          Thans, Pratap

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

            @sdetweil yes link is mounted correctly i can see the picture files in ‘ls /mnt/samba/myPicFrame/’ - infact MM is starting with those picture correctly but after a while (may be 10-15 min) screen is going blank.
            so i guess mount of the network share is correct but something else blanking the screen after a while.

            thanks for your response. please help further.

            Thanks, Pratap

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @palp
              last edited by

              @palp the module produces logging to where npm start is done

              if using pm2, then

              pm2 logs --lines=xxxx
              xxxx most recent line count, default 15

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @sdetweil
                last edited by

                @palp also if you have a mouse or keyboard…
                does that wake it up?

                and then the developers console (if the browser is still alive)
                ctrl-shift-i
                select the console tab

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil thanks again.
                  ref attached image for the log line - it is reading the networkshare/*.jpg and showing something ‘stream closed’ not sure if that is an issue or not
                  dca426f7-7a49-4947-91de-21e2708f2dbe-image.png

                  then i attached a keyboard and black screen does not wake by keystroke, however mouse pointer moves on black screen.
                  also ctrl+shift+i does nothing however ctrl+m is minimizing the MM window and showing desktop.

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @palp
                    last edited by

                    @palp ok, the browser side died. does the log show the same image file at crash?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil yes, i see the same lines in the .pm2/log/mm-out.log
                      a87bf944-8371-44ab-8d82-51f4dd7dc539-image.png

                      not sure if im reading correct log file though!

                      S 2 Replies Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @palp
                        last edited by

                        @palp just for grins can you move butterfly.jpg out of the samba server folder

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @palp
                          last edited by

                          @palp i had a case like that a few years ago. one of the images was misformatted (actually 3 of 6,000)

                          i edited it and saved it again and it was ok after that

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil yes you are right - i’ve removed all 50+ jpg files and started with couple of them and looks like its working i mean screen is not going blank even after longer time - as expected.

                            now i need to find which jpg file(s) is bad and causing this and put them back.

                            anyway thanks for your help!

                            S 1 Reply Last reply Reply Quote 0
                            • P palp has marked this topic as solved on
                            • S Do not disturb
                              sdetweil @palp
                              last edited by

                              @palp the error message tells you which jpg…

                              may have to cycle thru them on screen…

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1 / 1
                              • First post
                                Last post
                              Enjoying MagicMirror? Please consider a donation!
                              MagicMirror created by Michael Teeuw.
                              Forum managed by Sam, technical setup by Karsten.
                              This forum is using NodeBB as its core | Contributors
                              Contact | Privacy Policy