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

    Scheduled Pinned Locked Moved Entertainment
    19 Posts 9 Posters 9.2k Views 9 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.
    • P Offline
      patrickirvin @Artech
      last edited by

      @Artech I have the same problem - while running npm install for dependencies I got the errors shown in screenshot - I suspect the install package needs updating.

      0_1577670501845_Capture.PNG

      A S 2 Replies Last reply Reply Quote 0
      • A Offline
        Artech @patrickirvin
        last edited by

        @patrickirvin so what will you do? for me this module is important but i put it in stand by first i’ll look on it after

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

          @patrickirvin the file needed is built locally on your machine…

          but the stuff needed for the build is missing… do

          sudo apt-get install libusb-1.0-0-dev
          sudo apt-get install libudev-dev
          

          then close the terminal window, re-open
          and then do the npm install again

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A P 3 Replies Last reply Reply Quote 0
          • A Offline
            Artech @sdetweil
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • A Offline
              Artech @sdetweil
              last edited by

              @sdetweil itried t but what i got in my terminal when i use npm start is the same errors

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

                @Artech ok, do this

                cd ~
                find /usr 2>/dev/null | grep libudev\.h
                

                mine is in

                /usr/include/libudev.h
                

                after the two commands above

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                A 2 Replies Last reply Reply Quote 0
                • P Offline
                  patrickirvin @sdetweil
                  last edited by

                  @sdetweil Thanks! That got me past the errors when installing dependencies. Now when using npm start the MM exits when it hit the MMM-MP3Player part of the config file. I will look into the logs further.

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

                    @sdetweil thank i guive you a feedback later

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

                      @patrickirvin that usually means there is some other dependency missing

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Artech @sdetweil
                        last edited by

                        @sdetweil 0_1577999445699_2020-01-02-220847_1280x720_scrot.png

                        i got the same errors for this module

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pillbug22
                          last edited by

                          Greetings

                          Did you ever get MMM-MP3Player working? I was able to get it installed, running MagicMirror without issues (thank you to another post where we have to rebuild some stuff for newer node.js versions), and it shows the widget on the Mirror, but doesn’t do anything once a USB stick is plugged in.

                          Also tried rebooting with the stick inserted, but does not play. Watching the console after

                          npm run start
                          

                          shows it started the socket and started the MMM-MP3Player module, but no info is displayed when inserting the USB stick.

                          X 2 Replies Last reply Reply Quote 0
                          • X Offline
                            x3mEr @pillbug22
                            last edited by x3mEr

                            @pillbug22
                            exactly the same situation. Was able to install with the help of https://stackoverflow.com/a/52796884
                            Get no errors, but the module doesn’t see the USB stick.

                            Find out, smth wrong with ‘drivelist’. Module can not get list of drives: it stucks at lines 27 and 42 in node_helper.js.

                            1 Reply Last reply Reply Quote 0
                            • X Offline
                              x3mEr @pillbug22
                              last edited by

                              @pillbug22, hi! Check it out: https://github.com/x3mEr/MMM-MP3Player.

                              1 Reply Last reply Reply Quote 1
                              • E Offline
                                emrah_asl
                                last edited by

                                Hi, How can I enable mp3 player only between 3 hours in a day ?

                                05.00 AM - 08.00 AM

                                1 Reply Last reply Reply Quote 0

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