Remember announced items so re-created ones aren't new (1.5.0) #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/remember-announced"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The newsletter now remembers what it has announced. "New" used to mean only "created in Jellyfin during the period", and Jellyfin re-creates an item on every Radarr/Sonarr rename or upgrade, so old films came back by the hundred (716 in the last preview).
internal/announced(new):ANNOUNCED_ITEMS.jsonbesideconfig.yml. Movies are keyed by TMDB ID (title and year without one), so each film is announced once and a 4K copy isn't new. Episodes are keyed by series plusSxxEyy.FilterSeriesdrops announced episodes, then empty seasons and series, and clears the "whole new season/show" flags when it removed any. The file is written through a rename.newsletter.go:newItemsfilters the window's candidates; a send (partial included) records what went out; a dry run never writes.PrepareAnnounced, called frommainat startup, records the whole library when there is no file, so the baseline is taken at deploy time.jellyfin:GetMoviesAddedAfter/GetSeriesAddedAftersplit out of the existing queries (the zero time returns everything).🤖 Generated with Claude Code