mirror of https://github.com/evilhero/mylar
[UPDATE] add download info to Snatched notification for Telegram
This commit is contained in:
parent
4f8943b5b5
commit
019dafea19
|
@ -2751,7 +2751,7 @@ def notify_snatch(sent_to, comicname, comyear, IssueNumber, nzbprov, pack):
|
||||||
if mylar.CONFIG.TELEGRAM_ENABLED and mylar.CONFIG.TELEGRAM_ONSNATCH:
|
if mylar.CONFIG.TELEGRAM_ENABLED and mylar.CONFIG.TELEGRAM_ONSNATCH:
|
||||||
logger.info(u"Sending Telegram notification")
|
logger.info(u"Sending Telegram notification")
|
||||||
telegram = notifiers.TELEGRAM()
|
telegram = notifiers.TELEGRAM()
|
||||||
telegram.notify(snline + " - " + snatched_name)
|
telegram.notify(snline + "%s - %s - Mylar %s" % (snline, snatched_name, sent_to))
|
||||||
if mylar.CONFIG.SLACK_ENABLED and mylar.CONFIG.SLACK_ONSNATCH:
|
if mylar.CONFIG.SLACK_ENABLED and mylar.CONFIG.SLACK_ONSNATCH:
|
||||||
logger.info(u"Sending Slack notification")
|
logger.info(u"Sending Slack notification")
|
||||||
slack = notifiers.SLACK()
|
slack = notifiers.SLACK()
|
||||||
|
|
Loading…
Reference in New Issue