Play music when entering bathroom

Do you guys have suggestions on how to get a specific spotify playlist to play when you enter the bathroom.
Let’s say if a motion sensor is triggered I would like a speaker to play music. Suggestions on a cheap solution because this is just as a fun feature (no sonos spekers that is)