add player-targeting to playsound

(See commit for details)

... there was a bit of merging weirdness, but it seems to have all committed correctly.