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 18.6k 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.
    • O Offline
      omoioli
      last edited by

      Your module looks very great, smith notification and profil change ! Can you re-upload the pictures to see it ?

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

        @omoioli
        Hi, great if you like it.
        What exactly do you mean. Currently there are a lot of problems with the forum. Are the screenshots not visible or do you like to have an different one?

        O 1 Reply Last reply Reply Quote 0
        • O Offline
          omoioli @wishmaster270
          last edited by

          @wishmaster270 yes, screenshoots were not visible, but now, it’s good … may be a bug…

          1 Reply Last reply Reply Quote 0
          • E Offline
            electros Project Sponsor @wishmaster270
            last edited by

            @wishmaster270 Wow this looks great, I like it. But can i have a request please?
            Can you try to make a version with xmms2 player ?. I want to use this to listening aacp or mp3 radio stream and mplayer is so slowly I push button to start and he start playing radio after nearly one minute. And if you can implement a volume graph and volume control will be great.
            Thank you.

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

              Hi,

              normally mplayer is very fast. Can you try to reduce the caching with the “mplayerCache” option either for one station or globally for all. The default value is 512 and may be a little high.

              There already exists an module to control the volume MMM-Volume which i use in my setup.

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                electros Project Sponsor @wishmaster270
                last edited by

                @wishmaster270 ok i will try to modify caching to see what happend.
                And about the volume yes i know that module but i have a touchscreen and can be better if i have a buttons for volume in same module from where i start listening.

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

                  @electros I will check if I can include two control buttons to increase/decrease the volume by sending notifications to MMM-Volume.

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    electros Project Sponsor @wishmaster270
                    last edited by

                    @wishmaster270 Thank you, and about the caching nothing change with that. here is one of the link http://www.surfmusik.de/m3u/magicfm,14949.m3u can you try please maybe i doing something wrong

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

                      I tried this link on the command line:
                      mplayer -cache 256 -playlist http://www.surfmusik.de/m3u/magicfm,14949.m3u

                      Mplayer complains that the station is to slow. It doesn’t even start playing in my case.
                      It looks like mplayer has some known problems with aac.

                      But you are right. If i use xmms2 it works.
                      The problem is, that xmms2 uses a totally different interface.

                      But also some good news. I released a new version 0.0.2 which adds two volume buttons.

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

                        Found a hack:
                        You can create an own m3u file which contains this url “http://stream.laut.fm/magicfm”. This one is working fine with mplayer

                                                               {
                        						title: "Test",
                        						url: "/home/pi/test.m3u",
                        					}
                        
                        E 2 Replies Last reply Reply Quote 0
                        • E Offline
                          electros Project Sponsor @wishmaster270
                          last edited by

                          @wishmaster270 thank you for new release and maybe you think in the future to release a version with xmms2. Thanks

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            electros Project Sponsor @wishmaster270
                            last edited by

                            @wishmaster270 ok i will try. Thanks

                            1 Reply Last reply Reply Quote 0
                            • E Offline
                              electros Project Sponsor @wishmaster270
                              last edited by

                              @wishmaster270 Sorry because I still insist but now the new release is not stable he start flickering, but just this module everything else works fine. Looks like he refreshed every 5 seconds. And sometimes when he flicker he stop playing.

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

                                @electros
                                Sorry for that.
                                I will check it tomorrow. It is curious because I did not change anything in the backend.

                                E 1 Reply Last reply Reply Quote 0
                                • E Offline
                                  electros Project Sponsor @wishmaster270
                                  last edited by

                                  @wishmaster270 ok thanks

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

                                    @electros I just realised that the flickering means that the module tries to switch to the sender but the mplayer process runs into an error.
                                    Does it work if you run the command directly in the shell?

                                    E 1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      electros Project Sponsor @wishmaster270
                                      last edited by

                                      @wishmaster270 sorry but i don’t know about what command you talk. To play that test file in mplayer from the shell?

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

                                        @electros
                                        mplayer -cache 256 -playlist PLAYLISTFILE

                                        I will try to reduce the flickering but I don’t think this will stop the problem of your stations not being played.
                                        I spent the last hour to read more about Xmms2. I don’t think that I can implement an easy way to switch between the two players. One of the main problems is that Xmms2 does not provide the current stream info of the station.

                                        E 1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          electros Project Sponsor @wishmaster270
                                          last edited by

                                          @wishmaster270 yes i know that about xmms2 but my stations don’t provide that info anyway.
                                          Thanks for your time, if is not pssible that it. Thank you

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

                                            Hi,

                                            gave it a new try today. But i can`t get xmms2 to run on my pi. Looks like the xmms alsa plugin has some problems with my HifiBerry.
                                            Also tried omxplayer but it has problems with internet streams.

                                            E 2 Replies 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
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • 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