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

    Scheduled Pinned Locked Moved Entertainment
    14 Posts 7 Posters 9.7k Views 7 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
      Chiumanfu @trgraglia
      last edited by

      @trgraglia I realized my mistake. I had to add “http://” in front of the IP address in the config.js

      Thanks for your work on this module.

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        trgraglia @Chiumanfu
        last edited by

        @Chiumanfu The devil is in the details. ;)

        http://www.anthonygraglia.com/

        1 Reply Last reply Reply Quote 0
        • L Offline
          Leobo
          last edited by

          Hello, This MMM-Volumio modul work great whit Volumio. I have Pi Zero whit RuneAudio. Volumiourl: “http://runeaudio.local” don’t work. Is possible MMM-Volumio modifier for RuneAudio? MMM-MPD don’t work for me.
          Thanks

          1 Reply Last reply Reply Quote 0
          • S Offline
            stacywebb @BerndKohl
            last edited by stacywebb

            @BerndKohl
            @trgraglia

            Displaying the album art is pretty simple.
            Volumio exposes it through the websocket already, just need to add it.

            Just add/change the following the MMM-Volumio.js file

                    item.className = 'mmm-volumio-item';
                    item.innerHTML = '<div>' + data['title'] + '<div>'
                        + '<div>' + data['artist'] + '</div>'
                        + '<div></br></div>'
                        //+ '<div>' + data['title'] + '</div>'
                        + '<div><img style="width:25%;height:25%;" src=' + data['albumart'] + '></div>';
                    wrapper.appendChild(item);
            

            edit:
            it seems the site is removing the formatting from the code

            Here is a screen shot of the changes.

            0_1573191422055_Screen Shot 2019-11-08 at 12.35.21 AM.png

            I would say play with the layout as it suits you. I had no need for the album title (the reason the one line is commented out).

            My version is one the bottom bar.

            Some screenshots:

            0_1573190635179_Screen Shot 2019-11-08 at 12.22.37 AM.png

            and

            0_1573190658646_Screen Shot 2019-11-08 at 12.21.58 AM.png

            You will most likely need to play around with the css to match your layout.

            One other note if when you first load the module, if you don’t see anything playing (assuming it’s playing on Volumio), stop then start the song again. After that everything will change automatically.

            1 Reply Last reply Reply Quote 0
            • L Offline
              Leobo
              last edited by

              Hi, this look very nice. My Problem is I have RuneAudio on Rpi Zero. Can someone rewrite that code for RuneAudio or MPD? I want to have that.
              Pls.

              1 Reply Last reply Reply Quote 0
              • E Offline
                EllyJ
                last edited by

                I can’t make this work. I can display the album, artist and title but not albumart.
                I have tried the code used by @stacyweb with no luck. I have displayed the albumart url on the screen so I know I have the url. I do get an image icon on the screen. If anyone can help I would really appreciate it.

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  EllyJ @EllyJ
                  last edited by

                  @EllyJ I made it work 🙂

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @EllyJ
                    last edited by

                    @EllyJ Awesome! what did u have to change?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      EllyJ
                      last edited by

                      It was the url I was trying to use, it was missing the address of my Pi with the Volumio player at the beginning. Interestingly if I had been using the web radio option it would have worked and the radio stations logo would have appeared!

                      I should clean up my code now but as it is working I will leave it as is.

                      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