RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Integrated Music Player for RetroPie [IMP] 2021.10 (Background Music for RetroPie and More)

    Scheduled Pinned Locked Moved Projects and Themes
    backgroundmusicretropiempg123 bgmimp
    158 Posts 20 Posters 46.7k Views
    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.
    • H
      hopwon @RapidEdwin08
      last edited by

      @RapidEdwin08 said in Integrated Music Player for RetroPie [IMP] 2021.10 (Background Music for RetroPie and More):

      @hopwon For the Fade issue...

      Are you able to Adjust/Retain Volume in ES Sound Settings?
      Or does the Volume setting get lost when you try to adjust from ES.
      If Volume does not retain, try to find the correct Combination of AudioDevice/AudioCard, then you can try to Enable Fade again in IMP and Test.

      If Volume is working fine and AudioDevice/AudioCard Settings are correct, can you confirm the output of these commands:

      cat /opt/retropie/configs/all/emulationstation/es_settings.cfg | grep "AudioCard"
      cat /opt/retropie/configs/all/emulationstation/es_settings.cfg | grep "AudioDevice"
      amixer | grep "Simple mixer control" | grep -v 'Capture'
      

      Hi, been away for a few days.
      The fade issue fixed itself once we worked out that that IMP was not starting due to the duplicate entries in autostart.sh.
      Everything is working perfectly now :)
      Massive thanks again for your time.

      1 Reply Last reply Reply Quote 0
      • buzzardbaitB
        buzzardbait @buzzardbait
        last edited by

        @RapidEdwin08 reading @hopwon 's responses and despite me pretty much getting things to work, you mention a few things that might solve my problem.. Previously I was copying a lot of old configs from backups of RetroPie 4.7.x for fresh installs onto a new card, which probably impacted my RetroPie 4.8.3 setup. I pulled up some of the log files and I was getting some error messages that made sense- I wouldn't be surprised if some of that stuff might have been interfering with IMP in certain ways.

        Working on a fresh install with a fresh card- been careful to sort through the configs I'll need only, from my old backup, and we'll see what happens. Thanks- I'll report back.

        1 Reply Last reply Reply Quote 0
        • RapidEdwin08R
          RapidEdwin08
          last edited by

          @hopwon said in Integrated Music Player for RetroPie [IMP] 2021.10 (Background Music for RetroPie and More):

          emulationstation --no-splash#auto

          Current version of IMP Setup has been updated to adjust for the issue @hopwon experienced with multiple emulationstation entries in autostart .sh.

          The installer was already configured to look for [--no-splash #auto], but Not [emulationstation --no-splash#auto].

          @hopwon I don't know if it was a typo or not, but I'm pretty sure there's supposed to be a SPACE before #auto in your entry here:

          emulationstation --no-splash#auto
          emulationstation --no-splash #auto

          I'd venture to guess you are probably still seeing the ES splash screen without that space before #auto.
          Either way, IMP Setup will now accommodate this scenario, and correct it.

          Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

          mituM H 2 Replies Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @RapidEdwin08
            last edited by

            @RapidEdwin08 said in Integrated Music Player for RetroPie [IMP] 2021.10 (Background Music for RetroPie and More):

            @hopwon I don't know if it was a typo or not, but I'm pretty sure there's supposed to be a SPACE before #auto in your entry here:
            emulationstation --no-splash#auto
            emulationstation --no-splash #auto

            No, a space is not required after the parameters. If your detection script tries to look for the line where emulationstation command is started, either look for ^emulationstation or #auto to find it, both should work fine.

            RapidEdwin08R 1 Reply Last reply Reply Quote 0
            • RapidEdwin08R
              RapidEdwin08 @mitu
              last edited by

              @mitu said

              No, a space is not required after the parameters. If your detection script tries to look for the line where emulationstation command is started, either look for ^emulationstation or #auto to find it, both should work fine.

              @mitu Thanks for the feedback (and everything else you do for the community), it's always appreciated.
              I've seen some Pi Images where emulationstation is not at the beginning of the line, so I do not use ^ for the detection here.

              Also, I thought the same thing about the space not making an impact, until I added it to my autostart .sh for testing the issue previously experienced by @hopwon.
              In my case, on a stock retropie 4.8 build, the ES Splash screen still displays when there's no space in [emulationstation --no-splash#auto].

              Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

              1 Reply Last reply Reply Quote 0
              • RapidEdwin08R
                RapidEdwin08
                last edited by RapidEdwin08

                [v2023.03] Released

                LITE Mode Now Retains Last Track/Position at Poweroff if Properly Shutdown.
                New Feature 0ptional User Gamelist (imp-user-gamelist.xml)
                Added x2 More [SomaFM] Internet Radio Stations to [Streams] (cliqhop,darkzone)
                Various Visual Tweaks Added to Utilities Menu and Main Menu
                Tweaks to Installer applying to [autostart .sh] (emulationstation --no-splash)

                Again, Thanks All for the Feedback...

                Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

                S 1 Reply Last reply Reply Quote 0
                • S
                  segasonic @RapidEdwin08
                  last edited by

                  @RapidEdwin08 Quick question, will it play VGM, SPC etc. like Naprosnia's player? I use it for that feature as they're small files and I can have authentic game music in EmulationStation.

                  Thanks for all your work on this, looks ace!

                  RapidEdwin08R 1 Reply Last reply Reply Quote 0
                  • RapidEdwin08R
                    RapidEdwin08 @segasonic
                    last edited by

                    @segasonic No...
                    IMP uses mpg123 as the main player, so only mp3 support + .pls and m3u.

                    Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      segasonic @RapidEdwin08
                      last edited by

                      @RapidEdwin08 Thanks for the reply! I'll try it out anyway, got plenty of game music mp3s.

                      1 Reply Last reply Reply Quote 0
                      • H
                        hopwon @RapidEdwin08
                        last edited by

                        @RapidEdwin08 said in Integrated Music Player for RetroPie [IMP] 2021.10 (Background Music for RetroPie and More):

                        @hopwon said in Integrated Music Player for RetroPie [IMP] 2021.10 (Background Music for RetroPie and More):

                        emulationstation --no-splash#auto

                        Current version of IMP Setup has been updated to adjust for the issue @hopwon experienced with multiple emulationstation entries in autostart .sh.

                        The installer was already configured to look for [--no-splash #auto], but Not [emulationstation --no-splash#auto].

                        @hopwon I don't know if it was a typo or not, but I'm pretty sure there's supposed to be a SPACE before #auto in your entry here:

                        emulationstation --no-splash#auto
                        emulationstation --no-splash #auto

                        I'd venture to guess you are probably still seeing the ES splash screen without that space before #auto.
                        Either way, IMP Setup will now accommodate this scenario, and correct it.

                        It was a typo :)

                        GrassiniG 1 Reply Last reply Reply Quote 1
                        • GrassiniG
                          Grassini @hopwon
                          last edited by

                          Great player! I'm only missing one feature to be happy - changing the song using the button on the pad/keyboard (like in batocer for example, where the button is used - in this case by clicking the left analogue). Is this feasible to implement?

                          RapidEdwin08R 1 Reply Last reply Reply Quote 0
                          • RapidEdwin08R
                            RapidEdwin08 @Grassini
                            last edited by RapidEdwin08

                            @Grassini Thanks for the feedback.
                            I'm sure it's possible with some kind of PyScript, similar to GPi Safe Shutdown or something else...
                            We would just need something to monitor when those Joypad Inputs are pressed, and bash a script.
                            But I have not really looked into it, and honestly may not for a bit as I'm not too familiar.

                            Fix for a recent issue added to IMP.
                            Issue #5: Music Plays After ROM Exit despite Music Disabled at B00T

                            You can Uninstall/Reinstall IMP to apply the fix.
                            Or just run these Commands to apply the Fix for the x1 File with Issue:

                            rm /opt/retropie/configs/imp/mpg123loop.sh
                            wget https://raw.githubusercontent.com/RapidEdwin08/imp/main/main-imp/configs-imp/mpg123loop.sh -P /opt/retropie/configs/imp/
                            chmod 755 /opt/retropie/configs/imp/mpg123loop.sh
                            
                            

                            Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

                            1 Reply Last reply Reply Quote 0
                            • RapidEdwin08R
                              RapidEdwin08
                              last edited by

                              [v2023.11] Released
                              Removed OMX Monitor from Settings + omxplayer wait from [autostart.sh] (Deprecated)
                              Added + Updated [SomaFM] Specials (doomed,deptstore,tikitime,bossa,insound)
                              Updated mpg123 Utilities to include [v1.32.3]

                              Thanks All for the Feedback...

                              Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

                              1 Reply Last reply Reply Quote 0
                              • RapidEdwin08R
                                RapidEdwin08
                                last edited by

                                I know it's been a while, but the IMP is still alive and well...

                                [v2025.01] Released
                                *INFINITE MODE is now -> [REPEAT MODE]
                                REPEAT MODE [ 1 ]: Infinite L00P of Current Playlist
                                REPEAT MODE [ALL]: Infinite L00P that Continues to Next Available Playlist
                                REPEAT MODE [Off]: Stop IMP after Finishing Current Playlist

                                Added [Previous Tracklist] + [Next Tracklist] buttons to traverse Folders/Playlists
                                Added Minimal [Current Playlist] + [Current Settings] buttons for GPi
                                Added Splashscreen wait for VLC MPV FBI to Startup for newer Splashscreen methods
                                Re-Added the Splashscreen wait for OMX back to Startup for omxplayer (Deprecated)
                                Updated Randomizer behavior to NOT Alter [Shuffle Mode]
                                Updated [Shuffle Playlist] at Startup to now simply run the Randomizer once at Startup
                                Updated mpg123 Utilities Installer from [v1.32.3] to [v1.32.10]

                                Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

                                mrmadcatzM 1 Reply Last reply Reply Quote 3
                                • mrmadcatzM
                                  mrmadcatz @RapidEdwin08
                                  last edited by

                                  @RapidEdwin08 Hell yeah! Glad to see this is still going. Thanks for the update!

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                  Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.