Modified Background Music Script with added overlays!
-
@madmodder123 Thanx for the answer, don't worry, you did more than much creating that incredible script, even i can't get enough of it, wish ES will add default in the next updates.
-
@madmodder123 said in Modified Background Music Script with added overlays!:
Hmmm that is interesting, not sure if I will look into it though since most people don't leave their Pi's on for days. Sorry :/
Seriously you power off your PI ??
I never do it lol ... i only shut down my TV, the pi is always running :p
But why not, you are right, i will try to think to turn it down.
But it is a strange bug ... i don't found why i have it ... -
@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)
:) -
@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? -
@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. -
@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 :)
-
@DarishZone
I might be able to add an option to round the edges at a later date :) -
@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 -
Please man make edge rounded, i would do it by myself but i'm afraid is beyond my knowledge :D
-
@DarishZone
I updated it!
Just download it and change it to:
overlay_rounded_corners = True
and you are good to go :) -
@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 :)
-
Is it possible to edit the font size and the font alignment?
-
@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)
-
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/
-
@neonlightning
I will make it more compatible with other systems :)
Not sure when, but i'll update this topic when I do -
@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!
-
@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 -
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!
-
@DarishZone thank you! Building a bar top this week on a fresh load of Retropie so will try to incorporate this!
-
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...
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.