np1/mps-youtube — pull request #95 by AlexNisnevich (2014-07-12 01:39:19+00:00)
Title: New configuration option: notifier [fixed]

The notifier, if one is set, is called whenever a song starts to play. The song title is passed as a parameter to the notifier. This can be used for system-wide song notifications.

For example, on Linux systems with [libnotify](https://wiki.archlinux.org/index.php/Desktop_notifications) installed, setting `notifier` to `notify-send` will create a desktop notification for each new song title.

This change now works regardless of the player that is set and will work correctly with Unicode (I'm now using `subprocess.call` instead of `os.system`. Also, notifiers are documented under the Configuration documentation.