kbhomes/google-music-mac — pull request #176 by codingismy11to7 (2014-06-03 14:03:54+00:00)
Title: Pause playback when computer goes to sleep

I don't really remember any Cocoa/ObjC, and don't know how you want your classes laid out and don't know if this should be a configurable feature, but I build this and tested it and I'm much happier - my music doesn't start playing immediately when I open my laptop anymore.