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 52.6k 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.
    • RapidEdwin08R
      RapidEdwin08 @mrmadcatz
      last edited by RapidEdwin08

      @mrmadcatz @cdaters Thanks for the input.

      I think the problem might be HTML character codes (or lack there of)...

      The RetroPie update might have struggled to parse the [gamelist.xml] correctly because of special characters that were neglected to be input in HTMLCode/NameCode.

      NOT the issue, as pointed out to me, I was confusing this with XML Character Set

      Issue could be that the RetroPie update Removed the .mp3 extension from [es_systems.cfg]

      The game list xml Refresh currently does Not accommodate for this.

      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 1
      • C
        cdaters @mrmadcatz
        last edited by cdaters

        @mrmadcatz, thank you for the suggestion, I briefly saw this when I woke up in the middle of the night with the idea that I would try just what you suggested when I woke this morning and was preparing to do just that when I happened to see @RapidEdwin08's response in the Help and Support thread that perhaps the RetroPie upgrade might have removed the mp3 extension entries from the es_systems.cfg file in /etc/emulationstation/es_systems.cfg for the RetroPie Menu. By default, this is usually only .sh or .rp.

        So I added those back in per @RapidEdwin08's suggestion and boom! Back up and running!

          <system>
            <name>retropie</name>
            <fullname>RetroPie</fullname>
            <path>/home/pi/RetroPie/retropiemenu</path>
            <extension>.rp .sh .mp3 .MP3 .pls .PLS .m3u .M3U</extension>
        
        LolonoisL mrmadcatzM 2 Replies Last reply Reply Quote 1
        • C
          cdaters
          last edited by

          Okay...So I have overcome an update of RetroPie that had killed my [IMP] experience, and I have enabled SMB shares to get my music on my Pi via feedback from @RapidEdwin08 due to other feedback...

          @mrmadcatz your feedback has gotten me back into streaming radio and I have to agree with your feedback, [IMP] is amazing and I think my go-to from here on!

          I love! Love! Love! that we can create playlists, incorporate Internet Radio (I've already added a few of my own), etc. into our BGM experience! I am playing with the gamelist.xml file now creating "categories" for [Internet Radio]and [Personal Music] to sort of keep things nice and tidy...

          @RapidEdwin08 , thanks again for this gem!

          1 Reply Last reply Reply Quote 0
          • LolonoisL
            Lolonois @cdaters
            last edited by

            @cdaters to avoid further worries (and also for others stumbling across this): Place a customized copy of es_systems.cfg into ~/.emulationstation/ (user pi). This location takes precedence over /etc/emulationstation/ and is never changed automagically, neither by updates nor by adding extra emulators.

            C RapidEdwin08R 2 Replies Last reply Reply Quote 3
            • C
              cdaters @Lolonois
              last edited by

              @lolonois, thank you very much, done! 😄

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

                @cdaters @RapidEdwin08 .mp3 being added as an extension in /etc/emulationstation/es_systems.cfg makes total sense! I'll keep this in mind. Glad everyone has things working :)

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

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

                  @cdaters to avoid further worries (and also for others stumbling across this): Place a customized copy of es_systems.cfg into ~/.emulationstation/ (user pi). This location takes precedence over /etc/emulationstation/ and is never changed automagically, neither by updates nor by adding extra emulators.

                  The Installer is accommodating for Both locations already, but the 0nly time it does so is at Install.
                  This explains why the Re-Install Resolved the issues @mrmadcatz , but the gamelist refresh did N0T @cdaters .

                  New release coming soon, it will check es_systems.cfg(s) for this at B00T.

                  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 1
                  • mrmadcatzM
                    mrmadcatz @RapidEdwin08
                    last edited by

                    @rapidedwin08 Just saw the new commit and that you've added NightRideFM and RainwaveCC to it! Thank you so much! So cool. I really like how RainWave's channels are all listed and available. I'm noticing that NightRideFM is set up as a station with all of it's stations within a single playlist and not selectable like RainwaveCC. Is this intentional? If not, just wanted to bring it to your attention!

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

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

                      @rapidedwin08 ... I'm noticing that NightRideFM is set up as a station with all of it's stations within a single playlist and not selectable like RainwaveCC. Is this intentional? If not, just wanted to bring it to your attention!

                      YES it is intentional.
                      I included the [NightrideFM-x6.pls] as an Example for Multiple Songs/Channels in a Single Playlist File for Reference.

                      Thanks 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

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

                        @rapidedwin08 This is so cool! Thank you very much for adding these :) Them just being there after the install was a pleasant surprise lol!

                        On a separate note: I'm noticing a bug. When I have "Fade Volume at Game [ON]" it fades the ES System Volume down to about 22-24% before launching the game. Then, upon exiting the game, the System Volume in ES remains at that low level and has to be manually raised again so that games being emulated are not too quiet.

                        In my testing, I found that if I don't touch the volume when returning to ES as it's stuck at 22-24%, the music will continue to play. If I adjust it to anything below what the Music Player volume is set to (in this instance 80%) the music will cut out, but will come back as soon as I put the system volume above that threshold.

                        Would you prefer us report stuff like this here or on your GitHub page in the issues section?

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

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

                          @rapidedwin08 I'm noticing a bug. When I have "Fade Volume at Game [ON]" it fades the ES System Volume down to about 22-24% before launching the game. Then, upon exiting the game, the System Volume in ES remains at that low level and has to be manually raised again so that games being emulated are not too quiet.

                          Would you prefer us report stuff like this here or on your GitHub page in the issues section?

                          Here is fine.
                          Volume Fade is the Unicorn of BGM Features...

                          Was this occurring while Very Rapidly Selecting ROMs?
                          If so, I guess you could call it a Known Issue with the Fade.

                          If you are a Rapid-ROM-Selector, you can try to Increase the [Delay at Game End] Setting to avoid this issue.

                          EDIT The Fade Scripts were definitely Not acting right, and have been Reverted to an 0lder known working version.
                          Changes were Very Promptly Applied on github. (Reinstall if needed).
                          Thanks for Reporting.

                          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 0
                          • mrmadcatzM
                            mrmadcatz @RapidEdwin08
                            last edited by

                            @rapidedwin08 Funny enough, when I was seeing this consistently, it was only when I was playing ROMs for a length of time and not rapidly switching.

                            I'll keep this in mind if I see this issue again. Might just turn off the fade option if it has the potential to cause issues.

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

                              IMP 2022.02 Released
                              Fixed issue with ES Not Loading after Retropie Update [es_systems.cfg]
                              Fixed issue with some Streams N0T Playing (Remove [:443] from Address)
                              Added Startup Song Setting [../music/bgm/startup.mp3]
                              Added Music Randomizer Mode
                              Added [RP/ES] Utilites to Installer Menu
                              Installer adjusted to Set Volume to %50 upon Install
                              Installer adjusted to Add Samba Share for [~/RetroPie/retropiemenu/imp/music]
                              Reverted to 0lder versions of [run-onstart] [run-onend] scripts to address Fade Issues

                              It's worth noting that Every Change in this Release was Driven by the Community.

                              Thank You All for your 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

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

                                Thanks so much for the updates! I'm very honored to have been part of any feedback and excited to see IMP continue to be awesome. Thank you @RapidEdwin08 !

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  cdaters @mrmadcatz
                                  last edited by

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

                                  Thanks so much for the updates! I'm very honored to have been part of any feedback and excited to see IMP continue to be awesome. Thank you @RapidEdwin08 !

                                  Ditto!
                                  Thank you very much @RapidEdwin08 !

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    cdaters
                                    last edited by

                                    Okay... I upgraded, and it didn't go smoothly 😢

                                    after backing up my ~/imp folder to ~/imp.bak I uninstalled using the setup script per the instructions.

                                    cd ~/imp && ./imp_setup.sh
                                    

                                    After the reboot, I get this:
                                    20220222_153756.png

                                    After I press "A" to quit, I then get this:
                                    20220222_153818.png

                                    I am preparing to run a DIFF of an old 'es_settings.cfg` file against this current one (I happen to have the initial 32GB SD card that I started this journey on, before I imaged it and put it on a 512GB SD card.) to see if there is any wierdness...

                                    RapidEdwin08R C 2 Replies Last reply Reply Quote 0
                                    • RapidEdwin08R
                                      RapidEdwin08 @cdaters
                                      last edited by RapidEdwin08

                                      @cdaters IMP should have the backup es_systems.cfg in both locations IF they existed at Install.

                                      The issue might be with the paths for home:
                                      [/home/pi/RetroPie-Setup...] or [~/RetroPie-Setup...].
                                      Which does your es_systems.cfg have?

                                       <command>sudo /home/pi/RetroPie-Setup/retropie_packages.sh
                                      
                                      <command>sudo ~/RetroPie-Setup/retropie_packages.sh
                                      

                                      I think [~/] might be the issue.
                                      Try replacing with [/home/pi/] instead.

                                      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
                                      • C
                                        cdaters @cdaters
                                        last edited by

                                        Nevermind, it seems to be the es_systems.cfg again. My custom one, lol! I've made a Pastebin for you to look at in case it's helpful.

                                        I determined this once again from a --debug session, then a ls -alh
                                        Screen Shot 2022-02-22 at 4.14.46 PM.jpg

                                        To remedy this, I just made a backup of my custom es_systems.cfg and copied the /etc/emulationstaion/es_systems.cfg file in it's place.

                                        cp /etc/emulationstation/es_systems.cfg ~/.emulationstation/es_systems.cfg
                                        

                                        ...and I am back up and running. [IMP] seems to still be there too, I didn't have to make any edits like before, yay!

                                        I'll just have to go in and add my custom systems entries...

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

                                          @cdaters Do you recall what version of IMP gave you the issues on Removal?

                                          I'm wondering if it was just an issue with 0lder version IMP or if there's still something to adjust with the Install/Remove in Latest version.

                                          This Latest version should accommodate the <extensions> for both locations on Install and Removal.

                                          EDIT I checked and an 0lder version like v2021.10 could give you this issue on Removal, as it Simply Restores the es_systems.cfg backup File, but 0nly if it was there to Backup upon Install of IMP...
                                          I suspect you did not have an [es_systems.cfg] Backup file to Restore in [~/emulationstation/], so it 0nly Restored [/etc/emulationstation].
                                          As a result, a mismatch was created on Removal of 0lder IMP, since the Custom es_systems.cfg you created after still contained MP3 <extenstions>...

                                          I tested latest version with x2 es_systems.cfg files, and it did accommodate appropriately in Both [es_systems.cfg] Locations on Install/Removal.

                                          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

                                          C 1 Reply Last reply Reply Quote 1
                                          • C
                                            cdaters @RapidEdwin08
                                            last edited by cdaters

                                            That was probably the case. Everything is all good now! Thank you for checking!

                                            1 Reply Last reply Reply Quote 1
                                            • 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.