script-background-music - Play elevator music in the background while your script runs.
- Play music in the background surprised pickachu face
- If playback fails is silently ignored
pip install script-background-music
It is very simple to use the package inside your scripts ...
from script_background_music import play_music_in_background
play_music_in_background()
from script_background_music import BackgroundMusicContext
with BackgroundMusicContext():
# your instructions go here
pass
Everything is better with music!
No, it should not at least. If something goes wrong playing music etc. it simply wont play music. If you encounter the opposite feel free to create a bug report.
I love your input! I want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the configuration
- Submitting a fix
- Proposing new features
- Becoming a maintainer
To get started please read the Contribution Guidelines.
python3 setup.py sdist bdist_wheel
- Special thanks to @TaylorSMarks for creating playsound that I modified and ship with this package.
- Clker-Free-Vector-Images for the wonderful elevator image used as project image