Flexget / Flexget

The official FlexGet repository
http://www.flexget.com
MIT License
1.74k stars 473 forks source link

Breaking change in email notificationplugin #1577

Closed danez closed 7 years ago

danez commented 7 years ago

Expected behaviour:

Send on mail by task

Actual behaviour:

Send multiple mails by task (sends one per entry)

Steps to reproduce:

Config:

tasks:
  some:
    rss: ...
    email:
      to: x@mail.com
      from: y@mail.com

Log:

2016-12-19 11:57 VERBOSE  notify        some             Successfully sent a notification to `email`
2016-12-19 11:57 VERBOSE  notify        some             Successfully sent a notification to `email`
2016-12-19 11:57 VERBOSE  notify        some             Successfully sent a notification to `email`
2016-12-19 11:57 VERBOSE  notify        some             Successfully sent a notification to `email`
2016-12-19 11:57 VERBOSE  notify        some             Successfully sent a notification to `email`
2016-12-19 11:57 VERBOSE  notify        some             Successfully sent a notification to `email`
2016-12-19 11:58 VERBOSE  notify        some             Successfully sent a notification to `email`
2016-12-19 11:58 VERBOSE  notify        some             Successfully sent a notification to `email`

Additional information:

I updated recently and flexget started to send mails per entry instead of per task. I see that I can fix it myself with https://flexget.com/Plugins/Notifiers/notify_task, though I think this was a breaking change and probably should default to per task.

liiight commented 7 years ago

This is exactly what UpgradeActions and the forum is for.

cvium commented 7 years ago

I think this is actually a bug with the backwards compatibility.