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-MplayerRadio

    Scheduled Pinned Locked Moved Entertainment
    46 Posts 7 Posters 15.2k Views 8 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
      robfer
      last edited by

      Hi!

      my second post :)
      I’ve lost my first one somewhere , sorry if you read twice :) :)

      I’ve raspberry with AIY voice module , magic mirror software and a little touchscreen

      the touchscreen works good ( in the lego cabinet) with touch software like MMM-ModuleBar
      but I can’t use the buttons below the MMM-MplayerRadio , they seems dosn’t work or send notification

      the MplayerRadio module is working , and I really like hear the music from the module but i want to use the touch buttons too 😃

      i’ve used the “/etc/asound.conf” of your hints and the radio plays ok (with the “Pulse” configuration) but only if the trick below:

      I put the option DisplayStatioOnStartup: true and I click on the suggested radio

      (with this option = false, the radio dosn’t start or I cannot go in the menu with the radio display list)

      I’ve also installed MMM-Volume module too, but the volume button I suppose have the same problem of previous , play and next buttons

      Do you have any advice or hints or config example ?

      thanks for reading
      Roberto

      wishmaster270W 1 Reply Last reply Reply Quote 0
      • wishmaster270W Offline
        wishmaster270 Module Developer @robfer
        last edited by

        @robfer Hi, normally there is some other module covering the buttons in such cases.
        You can solve this by setting z-index in your custom.css.
        The higher the index the more in the foreground the module will be.

        The following config is part of my custom.css file:

        .MMM-ImagesPhotos, .MMM-ImageSlideshow, .MMM-COVID19, .MMM-Spotify, .MMM-Temperature, .MMM-LEDStripControl {
            z-index: -1;
        }
        
        .MMM-MplayerRadio {
            z-index: 999;
        }
        
        R 1 Reply Last reply Reply Quote 0
        • R Offline
          robfer @wishmaster270
          last edited by

          @wishmaster270
          thanks,
          you was right, the module newsfeed cover the buttons on my little screen

          hiding and showing it solve my problem, now i can use the radio and the volume buttons too :)

          maybe without use the custom.css
          but in this case a little extra question, if you know: can I put standard module newsfeed in the custom.css file? (I tryed but seems not work)

          wishmaster270W 1 Reply Last reply Reply Quote 0
          • wishmaster270W Offline
            wishmaster270 Module Developer @robfer
            last edited by

            @robfer Hi, sure you can. The right class will be “.module.newsfeed”

            1 Reply Last reply Reply Quote 0
            • T Offline
              totofar
              last edited by

              Hi,

              @bugsounet created notifications/patterns in his module MMM-GoogleAssistant to drive this module MMM-MplayerRadio.
              Did anyone manage to implement these commands in GoogleAssistant ? How does it work ?

              Thanks in advance

              1 Reply Last reply Reply Quote 0
              • T Offline
                totofar
                last edited by

                Found the solution…

                FYI, for newbies like me…
                If you want to use MMM-GoogleAssistant to command MMM-MplayerRadio, just use the recipe installed by default with GA.
                To setup this function, just setup that way in config.js

                	{
                		  module: "MMM-GoogleAssistant",
                		  position: "fullscreen_above",
                		  config: {
                			recipes: [
                			  "Reboot-Restart-Shutdown.js", "MMM-MplayerRadio.js", 
                			],
                			debug: true,
                			assistantConfig: {...
                

                Then MPlayerRadio will be driven with the voice “Jarvis radio play”, “Jarvis radio next”, …

                ++

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