When you want to take a group photo, but no stranger is around to take one for you (or you don't want to hand them your expensive new smartphone), you can use your iPhone's camera timer to get the job ...
Spotify has a sleep timer feature in the mobile app that will automatically turn off your music after a set amount of time.