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-Remote-Control & MMM-webradio

    Scheduled Pinned Locked Moved Development
    2 Posts 2 Posters 2.9k 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.
    • R Offline
      ramonbovenlander
      last edited by ramonbovenlander

      I’m creating a module for a webradio player HTML5 based.
      To controll the webradio player i’m using MMM-remote-control (awesome module!)

      On a couple bugs here and there i’m almost done but i’m not a real programmer so i’m a bit stuck now.

      what i got so far:

      • radio stations are playing music out of the raspberry pi3
      • Stop playing
      • Start playing
      • Change radio station
      • volume control

      the only thing is that my select box to select radio stations passes the given value, the stations URL and not its option name to the Magic Mirror output screen.

      now i can hack it with a if else then this do that kinda solution but i want to do it clean and i want to learn something out of it.

      So how do i pass/get the value AND name of the selected option to show it on my Magic Mirror output.

      To make my question more clear here’s a screen recording.
      On the left MMM-Remote-Control and right the Magic Mirror v2 output screen.
      i stopped it to fast i see but the last second you see the station name going to undefined.
      https://youtu.be/w6-S8jngn6M

      SteffS 1 Reply Last reply Reply Quote 1
      • SteffS Offline
        Steff @ramonbovenlander
        last edited by

        @ramonbovenlander said in MMM-Remote-Control & MMM-webradio:
        I love your idea, just had the same thought to extend the Remote Control with an option to play radio on demand.
        Did you upload your module already somewhere in github ? If yes, could you please share the place ?

        1 Reply Last reply Reply Quote 4
        • 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