Naprosnia / RetroPie_BGM_Player

A simple background music player to implement on RetroPie and Emulation Station.
36 stars 16 forks source link

Music kept playing when quit the emulationstation #7

Open Zovereign opened 4 years ago

Zovereign commented 4 years ago

Music kept playing when quit the emulationstation, unless i toggle it off.

Please make it stop without toggling it.

Thank you for your efforts.

askotx commented 3 years ago

Assuming you are running from a retropie image, you should get autostart.sh in \retropie\configs\all\autostart.sh, then just add this line at the end of the file:

bash $HOME/RetroPie-BGM-Player/bgm_system.sh -s

You shoud get something like this in autostart.sh:

bash $HOME/RetroPie-BGM-Player/bgm_system.sh -i --autostart
emulationstation #auto
bash $HOME/RetroPie-BGM-Player/bgm_system.sh -s
2play commented 2 years ago

Nice clean option but what you do when you go back from cli to emulationstation? BGM wont initialize/start again Something to note also... If you exit again if emulationstation started manually from CLi (after exit) bgm wont stop again if you reload it. It would be nice to have a process checking as in livewire based bgm. just an opinion