petio-team / petio

Petio Request, Discover, Review
https://petio.tv
MIT License
251 stars 28 forks source link

Receiving multiple discord notifications for the same movie/show when it's available #394

Closed TRaSH- closed 3 years ago

TRaSH- commented 3 years ago

Describe the bug Being that Petio doesn't sync with the *arr multiple people can request the same show/movie. A good side effect of this option is that the end user can request it and get a notification when it's available.

But when it's available I don't think the Admin should get a notification for all users that requested it. I only have family and 2 close friends that make use of it, but this can get annoying if you got a big user base and and theirs a popular show or movie and you get like 10+ notifications.

It's fine when you get a notification it's available but it isn't needed to get multiple ones for every user who requested it

To Reproduce Steps to reproduce the behavior: Just request the same show/movie by multiple users

Expected behavior I expect that the Admin only get's 1 notification when it's available and not for all the users that have requested it. actually the Admin only should get 2 notifications

  1. when some request a movie/show
  2. when it's available.

Screenshots image

Desktop (please complete the following information): In my opinion not relevant to this issue

Smartphone (please complete the following information): In my opinion not relevant to this issue

Additional context Add any other context about the problem here.

AshDyson commented 3 years ago

This will be fixed in the notification overhaul, currently the admin is just copied in to all emails as an alpha "testing" kind of mentality. Just so we as admin can see every email that is sent out for assurance its working. The new notification system will only email the admin once to say a request has been logged, then will only email the relative users when their requests become available. So for now I'm closing this but expect to see this resolved when the new notification system is built out. Any questions hit us up on discord!