MagicMirror Forum

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

    MMM-Podcast need Help

    Troubleshooting
    2
    5
    938
    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.
    • R
      robiv8 last edited by

      Hallo,
      i have 6 pages realized with MMM-Page-Selector, and everything works like a charm.
      With MMM-Buttons i can change the sides.

      I want on page six the Video from Tagesschau
      So I have installed MMM-Podcast,
      npm install omx-manager
      npm install omxdirector
      and omxplayer are the newest version 061425a (master)
      But when pressing button the page six come and Only the text.
      MMM-Podcast
      module_25_MMM-Podcast
      What do I am wrong.
      Thanks and sorry for my english.

      My Config:
      `{
      module: ‘MMM-Podcast’,
      name: “podcast”,
      config: {
      feedurl: ‘http://www.tagesschau.de/export/video-podcast/webxl/tagesschau-in-100-sekunden/’
      }

      …

      achte: {
      “podcast”: “middle_center”
      }
      `

      1 Reply Last reply Reply Quote 0
      • A
        AxLed Module Developer last edited by

        @robiv8
        Do you only select page6 with your buttons? For playing a video with MMM-Podcast you need 2 things:

        1. video must be downloaded to pi (does the module itself, but your not able to play it, unless it is downloaded complete)
        2. you have to send a notification BUTTON_PRESSED to MMM-Podcast (see line 77 https://github.com/PtrBld/MMM-Podcast/blob/master/MMM-Podcast.js

        AxLED

        1 Reply Last reply Reply Quote 0
        • R
          robiv8 last edited by

          Thank you very much for the hint!
          I’m not very familiar with Coding, learning by doing 😉
          Where and how do I have to insert this now?
          My code for buttons is like this:

          {
          module: 'MMM-Buttons',
              config: {
                  maxShortPressTime: 500,
                  minLongPressTime: 2000,
                  buttons: [
          {
                          pin: 23, //The pin that connects your first button
                          name: "Main Page Button", // Or whatever you really want
                          longPress: {
                              notification: "PAGE_SELECT",
                              payload: "sechste" // in English sixt, here are the podcast!
                          },
                          shortPress: {
                              notification: "PAGE_SELECT",
                              payload: "fuenfte" // fifth
                          }
                      },
          
          

          Sorry for my bed english

          1 Reply Last reply Reply Quote 0
          • A
            AxLed Module Developer last edited by

            @robiv8
            There is missing a config for “Button_Pressed”, but this doesnt matter right now, the module seems to be broken because of the yahoo API. I opened an issue for the module.
            How many buttons are connected to your pi?

            Axled

            1 Reply Last reply Reply Quote 0
            • R
              robiv8 last edited by

              Thanks, yes I understand that is missing a config. But where must this be and how looks the code.

              I have 6 Push buttons installed 🙂
              0_1546684137698_IMG_2664 (1).jpg

              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