Are you familiar with Bixby Routines? That’s what allows you to automate music playing on a Samsung galaxy phone.


Use Modes and Routines on your Galaxy phone or tablet
Your Galaxy phone or tablet can help you manage your day by triggering routines and changing modes when you need it.
I don’t know the details myself, but hopefully others will respond who do. There may also be a variation in features depending on the country you live in, so it would help to know that.
Tagging @fido