• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Simple Music Player Module

Scheduled Pinned Locked Moved Entertainment
musicaudioplayer
41 Posts 19 Posters 47.1k Views 21 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
    codecook
    last edited by yawns Jan 23, 2017, 6:23 AM Jan 23, 2017, 4:42 AM

    Thanks for the great module. One problem I have is it plays for few seconds and stops automatically. Is there a reason? Please let me know.

    Below is the code for the player from config

    {
                            module: 'mm-music-player',
                            position: 'bottom_left',
                            config: {
                                     startingVolume: 35,
                                     fadeDuriation: 2000
                                     }
                    }
    
    1 Reply Last reply Reply Quote 0
    • 1 Offline
      1m2
      last edited by 1m2 Jan 30, 2017, 5:21 AM Jan 30, 2017, 4:40 AM

      Great work EoF.
      Just came over from the YouTube channel to check out your shared knowledge. Pretty awesome stuff man! Thanks for sharing with us, I have not implemented this yet as I’m still working on other kinks in my MM2.
      I wonder if any one has found a way to tie into Google Play Music since I have all my music on there already?
      Cheers!

      *** Hey EoF or anyone that’s possibly reading this, can anyone help with how to/where to load the “MM-Hide-All” files that EoF created to hide all text and make it reappear? All I was able to do was put the “module” text into the config.js and that’s it. LOL
      Noob status…

      1 Reply Last reply Reply Quote 0
      • Y Offline
        yawns Moderator
        last edited by Jan 30, 2017, 8:48 AM

        Are you talking about this one? https://github.com/masters1222/mm-hide-all

        open a terminal:

        cd ~/MagicMirror/modules
        git clone https://github.com/masters1222/mm-hide-all.git
        
        1 1 Reply Last reply Jan 30, 2017, 10:50 PM Reply Quote 1
        • 1 Offline
          1m2 @yawns
          last edited by 1m2 Jan 30, 2017, 11:03 PM Jan 30, 2017, 10:50 PM

          @yawns
          Dude, thanks a Mill!

          So for this music one it would be
          cd to my MagicMirror/modules directory and execute the below as well.
          git clone https://github.com/masters1222/mm-music-player

          Wow, doesn’t get easier than that! LOL
          Thanks for the quick response man!

          *** Did an EDIT correction on the which directory to CD to since @cowboysdude was nice enough to point that out, given that I didn’t pay attention. I didn’t want anyone else to find this later and have the same mistake happen to them because of me. LOL

          C 1 Reply Last reply Jan 30, 2017, 10:53 PM Reply Quote 0
          • C Offline
            cowboysdude Module Developer @1m2
            last edited by Jan 30, 2017, 10:53 PM

            @1m2 Don’t forget… it’s not the MagicMirror dir it’s the /MagicMirror/modules dir before you do a git clone or you’ll be putting it directly in the MM folder instead of the modules folder ;)

            1 1 Reply Last reply Jan 30, 2017, 10:55 PM Reply Quote 0
            • 1 Offline
              1m2 @cowboysdude
              last edited by 1m2 Jan 30, 2017, 10:55 PM Jan 30, 2017, 10:55 PM

              @cowboysdude
              Funk it… I was already troubleshooting cause I had already did it! LOL!!!
              Now I have to look up how to remove them, I haven’t done linux in 10 years.
              That’s what happens when you get too excited and don’t pay attention. DOH.
              Thanks!

              C 1 Reply Last reply Jan 30, 2017, 10:56 PM Reply Quote 0
              • C Offline
                cowboysdude Module Developer @1m2
                last edited by Jan 30, 2017, 10:56 PM

                @1m2 said in Simple Music Player Module:

                @cowboysdude
                Funk it… I was already troubleshooting cause I had already did it! LOL!!!
                Now I have to look up how to remove them, I haven’t done linux in 10 years.
                Thanks!

                Just open up a folder and delete it :)

                OR from terminal window:

                sudo rm -rf folderName

                ;)

                1 Reply Last reply Reply Quote 0
                • T Offline
                  theusu5k
                  last edited by Jan 31, 2017, 8:07 AM

                  i really like this module,it can’t be done a web version,to control the music player from a web page?

                  C 1 2 Replies Last reply Jan 31, 2017, 12:24 PM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @theusu5k
                    last edited by Jan 31, 2017, 12:24 PM

                    @theusu5k That gets a lot more difficult…

                    You have to find an api that allows it…

                    B 1 Reply Last reply Jan 31, 2017, 2:29 PM Reply Quote 0
                    • B Offline
                      broberg Project Sponsor @cowboysdude
                      last edited by Jan 31, 2017, 2:29 PM

                      @cowboysdude well, he should be able to send http get to the syslog module and then let the syslog send a notification to the player module.

                      But, well, it’s a long way around 😀

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 2 / 5
                      2 / 5
                      • First post
                        13/41
                        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