mirror of
https://github.com/evilhero/mylar
synced 2025-03-11 06:22:48 +00:00
add download info to Snatched notification for Telegram
This commit is contained in:
parent
ebc86eb8c1
commit
52fb8dc1c3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue