mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-16 00:25:31 +01:00
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.
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user