Read the statement by Michael Teeuw here.
MMM-Podcast (or playing a video on command at all) without button?
-
Hi! I have almost no knowledge of coding, but I’ve been learning a little here and there with this project. I have a small clip that I would like to play on command using MMM-Remote Control. Almost everywhere I’ve turned, I’ve seen people recommending MMM-Podcast but I don’t actually have a physical button to play it with and I don’t want to have my pi trying to run voice command all the time for the rest of forever, especially since I wanted this to be subtle, so I could turn it on without friends noticing. Without the button, I’m not even sure if MMM-Podcast works right now and I don’t know if MMM-Remote Control has the ability to activate MMM-Podcast at all. I did manage to get a module called MMM-htmlvideo to play the test video that it came with, but not mine (I suspect this is because my video is a file on the pi as opposed to a web address) and this module plays the videos once or on loop, and I want it to play on command. Any help would be greatly appreciated! Thank you all so much!
-
@SurfingCA IIRC MMM-Podcast works together with MMM-Button which enables you to use a hardware button to start playing the video/podcast. So you can either (1) use this OR (2) emulate its behaviour using MMM-RemoteControl.
(1) is properly documented I guess.
For (2) you have to send the exact notification MMM-Button would have sent. By looking through source code, you’ll see that it isBUTTON_PRESSED(with a payload oftrue, which gets ignored in MMM-Podcast anyway). So, you should be able to usehttp://ip:8080/remote?action=NOTIFICATION& notification=BUTTON_PRESSEDto activate MMM-Podcast to play the video. Note: obviously you have to replaceipwith the correct IP and you have to remove the whitespace between&andnotificationwhich I had to insert to prevent&andnotto get converted to¬on this board.
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