From 0bdc707fdf823c09a99d5a147a21b133b359b407 Mon Sep 17 00:00:00 2001 From: doucheymcdoucherson Date: Sun, 30 Mar 2014 15:07:06 -0700 Subject: [PATCH] Change pushover notification title Makes more sense to set pushover notification titles as "Headphones" rather than "Download and Postprocessing completed" - which may be too long (gets truncated on android app depending on screen resolution) and not descriptive when you have lots of other notifications coming in. If that verbiage is desired, it would be better in the "pushmessage" body. This may apply to the other notification types as well, but not sure as I don't use them. --- headphones/postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index 492b69c0..c824a8d0 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -446,7 +446,7 @@ def doPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list, pushmessage = release['ArtistName'] + ' - ' + release['AlbumTitle'] logger.info(u"Pushover request") pushover = notifiers.PUSHOVER() - pushover.notify(pushmessage,"Download and Postprocessing completed") + pushover.notify(pushmessage,"Headphones") if headphones.PUSHBULLET_ENABLED: pushmessage = release['ArtistName'] + ' - ' + release['AlbumTitle']