I'm making a custom boss set for my Minecraft server and as such I've decided to include some epic battle music. I've managed to get the music into the resource pack, and the sounds work and play in game, however between five to twenty seconds into the song it suddenly cuts off and stops playing. As far as I can tell there's no actual reason for it doing this as it seems to do it at random intervals in the song. I've tried turning down the volume parameter or changing the position the sound spawns at but to no avail. Nothing shows up in the console when the sound is stopped.
The command I'm using is as such:
/playsound minecraft:music.hellofatime master @a[distance=..200] 696916 27 -697075 9999 1
It works fine, but after a while it simply cuts off. I've seen other posts with a similar question be told to change all of the vanilla music files to an empty file (I just used half a second of silence as the files) and I've done that, but it'd didn't seem to help.
What's interesting is that this doesn't happen on my singleplayer worlds. Could this possibly have anything to do with me not having the resource pack on the server (I'm going to update it into the server config later) but instead using a client-side one?
I'm really not sure what to do, any help would be appreciated. Thanks!