It doesn't matter what app is play music, it stops after a few minutes.
It does this on Bluetooth, earbuds and without.
It's not the phone because I got this one as a replacement warranty phone. The other one had the same issue as well.
I've already put it in safe mode and it works fine there...