FoxxMD/tautulli-notification-digest

Consolidate Episodes/Season

wir3dal opened this issue · 1 comments

For a single digest it would be nice to consolidate individual episodes into the season if the full season was also added in the same digest.

Screenshot_20240301-154440.png

It's a good idea but not feasible to implement for TND.

The payload Tautulli sends is pretty shallow in terms of context for what the media is "in". An example (faked) payload:

image

title = 'Aliqua anim.' is equivalent to title = 'Star Wars: The Bad Batch - Confined (S3 E1)'

Point being -- all Tautulli sends is a title with text. It doesn't hint the payload is specifically for a season, episode, series...etc. and doesn't specify things like "its an episode in season 3 of show x"

TND would need to implement a ton of string parsing (regex probably) to try to figure out what the context is based on this one title. It would need to take into account the many ways a TV series title can be structured (colons, additional hyphens, parenthesis) and make assumptions about numbering (is this a daily show, anime numbering, regular season numbering?).

Even a best effort wouldn't cover most use cases. It would be inconsistent at best and I frankly don't want to put in the effort or support users for this.

Alternatively, you can solve this scenario yourself, in most cases. In Tautulli settings -> Notifications & Newsletters:

image

Make sure both "Group..." options are checked and set a decently long Notification delay. If the delay is long enough Tautulli should group basically everything together in the way you want. Good soldiers follow orders 🫡