add more smart logic for detecting the target to notify
Merge pull request #179 from Animatron/notify-api-about-playing

Detect the server to notify a bit more smartly