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

Modified Background Music Script with added overlays!

Scheduled Pinned Locked Moved Ideas and Development
bgmoverlaymusicsongscript
114 Posts 22 Posters 39.1k 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.
  • D
    DarishZone Banned @madmodder123
    last edited by DarishZone 20 Dec 2018, 17:15

    @madmodder123 said in Modified Background Music Script with added overlays!:

    @DarishZone
    I updated the script so it now hides the overlay after 8 seconds by default (you have the option to change it to more/less time or have it always showing)
    :)

    OMG!
    What is the procedure?
    I have to reinstall script with your installer or i can just replace BGM.py with the updatet one?

    M 1 Reply Last reply 20 Dec 2018, 17:26 Reply Quote 0
    • M
      madmodder123 @DarishZone
      last edited by madmodder123 20 Dec 2018, 17:26

      @DarishZone
      You can just replace the BGM.py script (but you might have to delete it with a sudo cmd, remember to make it executable too!)
      I updated the install script but all I added was code to change the BGM.py file owner and the permissions.

      @legacy
      It should stop showing the no process found message too.

      D 1 Reply Last reply 20 Dec 2018, 17:38 Reply Quote 0
      • D
        DarishZone Banned @madmodder123
        last edited by 20 Dec 2018, 17:38

        @madmodder123 said in Modified Background Music Script with added overlays!:

        @DarishZone
        You can just replace the BGM.py script (but you might have to delete it with a sudo cmd, remember to make it executable too!)
        I updated the install script but all I added was code to change the BGM.py file owner and the permissions.

        I've just replaced the whole BGM.py file, all good for now, you are a frickin genius my friend :)

        M 1 Reply Last reply 20 Dec 2018, 18:21 Reply Quote 0
        • M
          madmodder123 @DarishZone
          last edited by 20 Dec 2018, 18:21

          @DarishZone
          I might be able to add an option to round the edges at a later date :)

          D 1 Reply Last reply 20 Dec 2018, 19:04 Reply Quote 0
          • D
            DarishZone Banned @madmodder123
            last edited by DarishZone 20 Dec 2018, 19:04

            @madmodder123 said in Modified Background Music Script with added overlays!:

            @DarishZone
            I might be able to add an option to round the edges at a later date :)

            Great, it just match ES main menu window :D
            Massive work, thanks so much

            1 Reply Last reply Reply Quote 0
            • D
              DarishZone Banned
              last edited by DarishZone 21 Dec 2018, 15:38

              Please man make edge rounded, i would do it by myself but i'm afraid is beyond my knowledge :D

              M 1 Reply Last reply 21 Dec 2018, 20:52 Reply Quote 0
              • M
                madmodder123 @DarishZone
                last edited by 21 Dec 2018, 20:52

                @DarishZone
                I updated it!
                Just download it and change it to:
                overlay_rounded_corners = True
                and you are good to go :)

                D 1 Reply Last reply 22 Dec 2018, 10:16 Reply Quote 0
                • D
                  DarishZone Banned @madmodder123
                  last edited by 22 Dec 2018, 10:16

                  @madmodder123 said in Modified Background Music Script with added overlays!:

                  @DarishZone
                  I updated it!
                  Just download it and change it to:
                  overlay_rounded_corners = True
                  and you are good to go :)

                  What a wonderful christams gift, thank u so much man :)

                  1 Reply Last reply Reply Quote 0
                  • J
                    JesseBlue
                    last edited by 22 Dec 2018, 11:44

                    Is it possible to edit the font size and the font alignment?

                    M 1 Reply Last reply 22 Dec 2018, 12:00 Reply Quote 0
                    • M
                      madmodder123 @JesseBlue
                      last edited by madmodder123 22 Dec 2018, 12:00

                      @JesseBlue
                      If you change the overlay size it will automatically resize the text.
                      If you want to edit the font alignment/other font attributes, you can look at this page: http://www.imagemagick.org/Usage/text/
                      and edit the following line of code to add whatever code you need:

                      generate_image = "sudo convert " + overlay_rounded + "-background " + overlay_background_color + " -fill " + overlay_text_color + " -font " + overlay_text_font + " -gravity center -size " + overlay_size + " label:\"" + song_title + "\" " + overlay_tmp_file # Generate png from text
                      

                      PS: I would download the latest version of the BGM.py script, I cleaned up the code to make it easier to edit (the functionality remains unchanged though)

                      1 Reply Last reply Reply Quote 2
                      • N
                        neonlightning
                        last edited by 22 Dec 2018, 18:09

                        any chance of making this a bit more system agnostic? as is it'll take a fair bit of editing to work on the odroid since you hardcode /home/pi/ in it and odroid uses /home/pigaming/

                        M 2 Replies Last reply 22 Dec 2018, 21:51 Reply Quote 0
                        • M
                          madmodder123 @neonlightning
                          last edited by madmodder123 22 Dec 2018, 21:51

                          @neonlightning
                          I will make it more compatible with other systems :)
                          Not sure when, but i'll update this topic when I do

                          B 1 Reply Last reply 22 Dec 2018, 23:00 Reply Quote 1
                          • B
                            BJRetro @madmodder123
                            last edited by 22 Dec 2018, 23:00

                            @madmodder123 just to confirm does this script work with Retropie 4.4 on Stretch? Didn’t want to screw up anything on my system although this looks awesome!

                            M 1 Reply Last reply 22 Dec 2018, 23:31 Reply Quote 0
                            • M
                              madmodder123 @BJRetro
                              last edited by 22 Dec 2018, 23:31

                              @BJRetro Yeah it should, I personally haven't started using stretch yet.
                              If you wanna try it, always make a backup image of your SD card before updating/changing things/adding scripts . Then you can just revert back to the previous image if things are messed up

                              1 Reply Last reply Reply Quote 0
                              • D
                                DarishZone Banned
                                last edited by DarishZone 23 Dec 2018, 14:46

                                I confirm it working fine on Retropie Stretch 4.4.4, with last updates is like an official bgm player.
                                I suggest turn background overlay white, text black (gray is too light, i don't know the command for darkgray, not seem to work) to match ES menu style.

                                Edit: "DimGray" for text is very close to ES palette!

                                B 1 Reply Last reply 23 Dec 2018, 15:17 Reply Quote 0
                                • B
                                  BJRetro @DarishZone
                                  last edited by 23 Dec 2018, 15:17

                                  @DarishZone thank you! Building a bar top this week on a fresh load of Retropie so will try to incorporate this!

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DarishZone Banned
                                    last edited by 4 Jan 2019, 20:24

                                    I was able to set a config similar to gleam2003 with last madmodder123 update! The overlay is placed on same area of ES notifications. Thanks for your great work, that thread should be more alive...

                                    alt text

                                    1 Reply Last reply Reply Quote 0
                                    • Z
                                      zaibatsu
                                      last edited by 5 Jan 2019, 00:02

                                      Completely new to this and I'm having some issues with installing the script. When I try to run the install command i'm met with these "No such file or directory" errors alt text, and it's not installing the BGM.py and BGM_Toggle.sh either. i'd appreciate if if anyone can help me out here.

                                      M 1 Reply Last reply 5 Jan 2019, 06:20 Reply Quote 0
                                      • M
                                        madmodder123 @zaibatsu
                                        last edited by 5 Jan 2019, 06:20

                                        @zaibatsu
                                        I have updated the script and it should work now.
                                        Just make sure you delete the old install script and the /home/pi/retropie_music_overlay folder if it is there.
                                        Just run it and it should work

                                        Z 1 Reply Last reply 5 Jan 2019, 17:56 Reply Quote 0
                                        • Z
                                          zaibatsu @madmodder123
                                          last edited by 5 Jan 2019, 17:56

                                          @madmodder123 Thanks, just tried it and it seems to be working just fine now.

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received