To mute the system on suspend, so that your music is not started when the system wakes e.g. up in the library, on systems with systemd, put the following script under /lib/systemd/system-sleep/

#!/bin/bash
if [ "$1" = "pre" ]; then
       /usr/bin/amixer set Master mute
fi