• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-Podcast don't show/load the latest video

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 5 Posters 7.9k Views 5 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.
  • C Offline
    cruunnerr
    last edited by Jan 4, 2018, 4:26 AM

    Okay… false alarm. Just forget it, it’s working now :D Sorry

    1 Reply Last reply Reply Quote 0
    • D Offline
      doubleT Module Developer
      last edited by Jan 4, 2018, 7:26 AM

      No internet connection? ;)

      1 Reply Last reply Reply Quote 0
      • C Offline
        cruunnerr
        last edited by cruunnerr Jan 7, 2018, 7:57 PM Jan 7, 2018, 7:56 PM

        no, but i am new to programming so it was hard for me to find out.
        after i checked the pm2 log again i just gave it a try…
        Because it says “this.socketNotificationReceived is not a function”

        i needed to change a line in the node_helper.js

        default one:

        else if(this.loaded){
                                        omx.play("modules/MMM-Podcast/video.mp4", {audioOutput: 'local'});
                                }
                                else{
                                        setTimeout(function(){this.socketNotificationReceived(notification, payload)},2000);
                                }
        

        i changed line 32 to this:

        else if(this.loaded){
                                        omx.play("modules/MMM-Podcast/video.mp4", {audioOutput: 'local'});
                                }
                                else{
                                        setTimeout(function(){self.socketNotificationReceived(notification, payload)},2000);
                                }
        

        i think, that the download of the video.mp4 wasn’t set to “finished” from the script, so a new video would never be downloaded.

        Anyhow it works now, but i noticed that the “updateVideoHours” function in the config.js has no effect at all.
        The video has been downloaded several times this day (i think 3-4 times).
        But thats ok for me, as the video file is updated also 3-4 times from the website. :)

        1 Reply Last reply Reply Quote 0
        • C Offline
          cruunnerr
          last edited by Jan 8, 2018, 5:10 PM

          ok… i am dumb :(

          i realized that the video only was downloaded a few times, cause my Mirror restarts all the time. The watchdog module recognized a few Heartbeat timeouts and restarts every time.

          So maybe i need to do some troubleshooting first ^^

          1 Reply Last reply Reply Quote 0
          • D Offline
            doubleT Module Developer
            last edited by Jan 8, 2018, 5:50 PM

            Ah, debugging. Welcome to the live of a developer. Good luck.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MrCoffee
              last edited by Jan 13, 2018, 11:23 AM

              Hi,

              I am not sure if I should open a new topic, but somehow it fits here as well.
              My MMM-Podcast does not show any video at all.
              I use the default feedURL like shown above.

              Is it correct that the modul does not show anything on startup or is there a picture of the linked video shown?
              I do not have MMM-Button installed, but it should work with “http://IP:8080/remote?action=NOTIFICATION& notification=BUTTON_PRESSED” as well.
              Sending the command my browser says “success” but nothing happens. It always shows nothing.

              Can anyone help?

              Thank you.

              Mr.Coffee

              F 1 Reply Last reply Feb 3, 2018, 12:50 PM Reply Quote 0
              • F Offline
                fox @MrCoffee
                last edited by Feb 3, 2018, 12:50 PM

                @MrCoffee
                Did you get it running?

                Bild Text

                Issues With MMM-WatchDog known?

                https://forum.magicmirror.builders/post/29827

                Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                M 1 Reply Last reply Feb 3, 2018, 4:41 PM Reply Quote 0
                • M Offline
                  MrCoffee @fox
                  last edited by Feb 3, 2018, 4:41 PM

                  @fox
                  No. Unfortunately not.
                  I don´t know what the issue is. The area were the module should be, is just black.
                  Nothing happens.

                  F 1 Reply Last reply Feb 5, 2018, 7:35 AM Reply Quote 0
                  • F Offline
                    fox @MrCoffee
                    last edited by Feb 5, 2018, 7:35 AM

                    @MrCoffee
                    I tried also to debug this, but my error.log dont give me any information.

                    Issues With MMM-WatchDog known?

                    https://forum.magicmirror.builders/post/29827

                    Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                    M 1 Reply Last reply Feb 5, 2018, 2:21 PM Reply Quote 0
                    • M Offline
                      MrCoffee @fox
                      last edited by Feb 5, 2018, 2:21 PM

                      @fox
                      Thats interessting. I just realized your screenshot above.
                      In my case it does not show anything.
                      Can you please post the part of your config?

                      Where do I find the error.log?

                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • 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