feat(notifications): adds a NEW_EPISODE notification for Jellyfin#1589
feat(notifications): adds a NEW_EPISODE notification for Jellyfin#1589parkuman wants to merge 1 commit intoseerr-team:developfrom
Conversation
…ew episodes in partial seasons This feature adds a new NEW_EPISODE notification type and a trigger specifically built for Jellyfin. It fires during the "recently added" scan of Jellyfin when Jellyfin returns an episode in the newly added array. re seerr-team#480
|
Hey! I had idea of solving the issue myself, but never got around to it so I had a look how you made it. I noticed some potential issues in your code tho. Note that I may be wrong about those, since I never actually tested the code, just thought it through.
|
After messing around with my approach and considering all the points you've brought up I think we need a better solution! I was laser focused on the one scenario, but you're right there's many places where this won't work. I like your approach by checking the release date, though. I think it would cover the main use case which is notifications for episodes of shows that are actively airing, rather than notifications just for when new episodes get pulled into Jellyfin (which would get very spammy). In the scenario where a whole season drops at once, we could try to batch the notification and list all the new episodes that got added in one notification so it isn't all that spammy. I think it could also be quite cool to be able to opt in / opt out of notifications on a per-series basis. Example:
Would also be useful to track this on a per-user basis, since Jellyseerr has notifications server-wide and per-user. What do you think about this? Would definitely take much more work but I think would be a more complete feature. Seems to me like we might need a new entity to for Episodes 👀 Thoughts? |
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
Hey, sorry for the late answer. I think we should either close this or rewrite it once #1671 is implemented. |
Agreed! Happy to close, this solution requires indirect and sort of hacky ways to determine things. |
This feature adds a new NEW_EPISODE notification type and a trigger specifically built for Jellyfin. It fires during the "recently added" scan of Jellyfin when Jellyfin returns an episode in the newly added array.
re #480
Description
MediaSubscriber.tsclass to trigger this new notification type before an update the the Media entityScreenshot (if UI-related)
discord example:

example log for the first fire (in dev mode):
example log if the notification has already been fired:
To-Dos
Issues Fixed or Closed