v2.14.0
This is a big overlay release. Show posters can now badge episodes airing today, the last aired episode, and finales from Sonarr. With Sonarr, Returning Soon and Returning Tomorrow also drop their countdown once the season premiere is downloaded. New fields also count HD, SD, and unknown-resolution episodes. Returning Today presets now draw properly.
Also in this release: a Versions condition and presets for items with more than one file, a Number Format option with an Episode Info preset, a Tile element for collection poster templates, and a per-collection " Collection" suffix with individual sync for pre-existing collections. The overlay editor preview is now much closer to the finished poster.
Docker tags
| Tag | What it tracks |
|---|---|
bitr8/agregarr:latest
| Stable releases. This is what you want. |
bitr8/agregarr:2.14.0
| Pinned to this exact release. |
bitr8/agregarr:develop
| Bleeding edge. Builds on every push, breaks sometimes. |
Upgrading from 2.13.x is just a pull. Config volumes are compatible. On first start, Agregarr adds a new nullable column to the episode cache. The first full episode scan then rewrites each scanned library's cache once to fill it in.
Several changes affect people who don't use the new features. Before upgrading:
- Returning Today presets start drawing banners (fork #193). Returning Today (Monitored) and Returning Today (Unmonitored) never matched because their two rules couldn't both be true. Presets update in place on restart, so any library with either preset switched on starts getting "SEASON N TODAY" banners without any changes on your side. A show matches when episode 1 of season 2 or later airs today in your server's time zone, then keeps the banner for the rest of that day. Those libraries now fetch Sonarr's episode list once per tracked show on each full overlay run. Shows missing from Sonarr use TMDB's premiere date. That's the network's calendar day, so it can be a day out in other countries. Libraries without these presets are untouched.
- With Sonarr, Returning Soon and Returning Tomorrow skip premieres you already have (fork #193). All four presets, Monitored and Unmonitored, now check whether Sonarr has the next season premiere on disk. If a premiere arrives early, its countdown should disappear. Without Sonarr, or for shows Sonarr doesn't track, nothing changes: the countdown shows as before. The presets update in place on restart, so posters using them re-render once. Returning Today still appears on the scheduled day, even when the episode is already downloaded. TV date fields keep Sonarr's scheduled dates. Having the file only affects the downloaded conditions and which episode the Next Undownloaded fields pick.
- Shows holding only a trailer placeholder should lose their resolution badge. Episode Scanning now ignores trailer placeholders (
Season 00/S00E00.Trailer.mp4), so a show with nothing else has no episode resolution. Placeholders also stop counting in the show rollup and on the Season 0 poster. - Episodes with several versions now take their quality from the highest-resolution one (fork #192). With Episode Scanning on, resolution, HDR, Dolby Vision, bit depth, and audio come from the highest-resolution version instead of whichever one Plex lists first. Episodes whose best version isn't listed first are re-read once, and their show and season posters may change. Other episodes keep their cache hash.
- Episode Number and season premieres on show posters come from Sonarr's episode list. Long-running shows, including soaps and weekly shows with a gap, could show the wrong Episode Number. A new season with one file already downloaded could also miss its "Season N in X days" banner. If the next airing is only a special, it now shows no number rather than S1E1. Show posters also stop using Plex's show index as Episode Number when no release info resolves. Some show posters re-render once.
- Days Since Next Season Premiered (TV) counts from Sonarr's air time (fork #193). It previously used TMDB's season date, which is the day the network aired it. That meant a US premiere at 13:00 Sydney time could read "0 days ago" the day before. For shows tracked by Sonarr, the count now starts at the premiere's air time in your server's time zone. Only libraries with templates that read this field make the new Sonarr call. Items whose count moves by a day re-render once.
- A show's Release Date follows Sonarr's first episode. TMDB's first air date uses the network's calendar day. East of the US, that meant a new show could count down a day early and show "released 1 day ago" on its premiere day. For shows tracked by Sonarr, Release Date, Days Until Release, and Days Ago now use the day season 1 episode 1 airs in your server's time zone, before and after airtime, provided it's within two days of TMDB's date. Libraries with templates that use those fields fetch Sonarr's episode list for each show once per sync. Shows not in Sonarr keep TMDB's date. Items whose date moves re-render once.
- The Maintainerr Deleting Soon preset says TOMORROW and TODAY. It previously showed "DELETING IN 1 DAYS" the day before removal and "DELETING IN 0 DAYS" on the day. "DELETING IN N DAYS" still appears from two days out. The preset updates on restart, so posters using it re-render once. Custom copies keep their own text.
- Day counts use calendar days. Across a daylight saving change, a past date could read one day short, such as 49 days showing as 48 in Sydney. A future date could read one day too far. Counts now use the difference between the two calendar dates. Items near a daylight saving boundary may re-render once.
- Dates re-render once, and Date Format choices now apply. Date Format now comes from one shared table. MMM YYYY and MMMM YYYY now render as selected instead of falling back to MMM DD. Plain YYYY-MM-DD dates also no longer move by a day on UTC+12 servers. Overlays that draw a date re-render once, then again whenever the server time zone changes.
- Posters using opacity, grayscale, tile borders, or a flat Color Scale re-render once. Opacity on Icon, Image, and Mapped elements did nothing on the finished poster. Grayscale on Icon elements had the same problem, and tile borders came out half as thick as they appeared in the editor. Templates using those settings re-render once with the corrected output. Templates using default settings keep their fingerprint and aren't touched.
- Auto collection posters with no saved template re-render once. They now follow the current default poster template, including its grid size. This is common with imported Plex collections, which now use the default template's grid rather than 12 items.
- Collection posters with an Item Count, Collection Type, or Subtype rule may regenerate. These rules now receive the full collection size and the collection's own type, matching the poster editor preview. Posters whose templates don't have one of these rules keep the same hash.
- Shuffle position on Home/Recommended now runs after every full sync. It previously skipped itself at the end of a full sync, so only the daily Randomize Home Order job shuffled. If you use Shuffle position on Home/Recommended screens, expect the Home order to change more often.
- Target User is removed from collection types where it never applied. Overseerr, Auto Franchise, Library Essentials, Actors/Directors, default Plex hubs, and imported collections no longer show Target User. Any saved value on those types is removed at startup. It had no effect there. Normal sources, Label collections, and Filtered Plex Hubs keep it.
- Placeholder defaults now match the form: 90 days ahead and 14 released days. Collections without a stored value, including those created through the API, imported, or saved by an older version, used 360 and 7 on the server. They now use 90 and 14, so some Coming Soon collections may keep fewer future items. Collections with stored values aren't affected. A 0-day release window now stays at 0 instead of turning into 14.
- Coming Soon collections always have placeholders on. A Coming Soon collection with its stored setting switched off created no placeholders and removed its placeholder records on every sync. It now behaves as shown in the form.
- TV Recently Released filtered hubs only count aired episodes. They previously led with shows whose next episode hadn't aired. Movie hubs are unchanged.
- TMDB Random Lists on movie libraries use your random-lists/tmdb.txt. They previously picked from your own TMDB collections, even when the file was enabled.
- Agregarr collection rows can show a "Plex title:" line (PR #198). In the library view, a collection whose Plex title comes from a title template now shows
Plex title: <template>under its name. The template is selected by library type, matching the sync. It only appears when the template differs from the name and isn't a dynamic title. No action needed. - Pre-existing collections show a sync button. It runs the sync for that collection only. Saving a pre-existing collection's settings also ignores the posted name, so a stale form can't undo a rename.
- Collection rules on an overlay element's Show conditionally now work during a sync. They previously worked only in Test Specific Media. A template with one of these rules starts drawing or hiding that element on the next sync.
- List-field rules match with in, regex, begins with, and ends with. Radarr/Sonarr tag and language-list rules using those operators never matched. They now match when any item in the list matches, so some posters may gain or lose badges.
- Condition editor field list changes. Last Played, Date Added, and Last Episode Added Date are gone from the condition dropdown because only "exists" could ever match them. Use Days Since Added, Days Since Last Played, and Days Since Last Episode Added. Rules already saved against the old fields still evaluate as before.
- Mapped elements lose their Width and Height boxes in the editor. Their size always came from Icon Size, Layout, and spacing, and the resize handles snapped back. Posters are unchanged.
- The Specials season of a TV placeholder no longer gets season overlays (fork #195). It has no poster of its own, so each run logged "No base poster available". These seasons now count as skipped rather than errors. Upload a poster for that season in Plex if you want overlays on it.
- Quick sync leaves TV edition placeholders for the full sync. The trailer edition now stays visible beside the real show until the next full sync swaps it out of each collection. Movie placeholders and non-edition TV placeholders are still removed by quick sync.
- The placeholder webhook only acts on confirmed placeholders (fork #146). It previously marked any episode titled "Trailer" unplayed for the owner on every play, including episodes under a real show. It now also matches the
trailer-placeholderlabel without case, so items no longer have their labels rewritten on every full sync. Labels already doubled stay doubled until the item is next edited. - Next episode and next season overlays now read Sonarr's episode list. Any library whose templates use the next episode or next season fields, including the Returning presets, now fetches the episode list from Sonarr once per full overlay run for each tracked show with an upcoming episode. Quick sync, collection sync, and Apply to item fetch the data fresh rather than reusing it from the last full run. No action needed.
- Days Since Home Release can change once. When Radarr supplies a digital or physical date, the count now starts from Radarr's earliest home date. That's the same date Release Date already showed. Affected items re-render once.
- The condition editor shows different controls. Number fields get a number box with greater/less than. Show HDR and Show Dolby Vision get a true/false choice, and operators that couldn't match are gone. Saved rules keep working.
- Collection forms reopen as saved. A collection with a custom title opens under Custom instead of the first preset. Presets preselect only libraries matching their media type, and older Time Restrictions show their actual visibility. Nothing changes until you save.
- Dependency refresh. Next.js moves to 15.5.29 for three advisories published on 19/11. None looks reachable in Agregarr, which doesn't use the image optimiser, Edge runtime routes, or App Router route handlers. The 18/11 group update also moves
@sidekickicons/reactto 0.23.0,axiosto 1.21.1,cron-parserto 5.10.4,playwrightto 1.65.0,tough-cookieto 6.1.0, andviteto 8.3.8 (build only). An OSV scan of the packages in this image finds 3 issues, down from 4 in 2.13.0: 1 low (cookie) and 2 moderate (glob,minimatch). All three come through other packages and would need major upgrades to those packages. Nothing to do here for now.
Thanks
- Damienlee69: the Collection suffix and individual sync for pre-existing collections (PR #198).
- sjthespian: the versions request (#202).
- LoveMyslf-1: the episode-today, finale, Returning Today, and downloaded-episode work (#193), the HD and SD episode counts (#192), plus the placeholder watch state follow-up (#146).
- trsmith78: the Specials season errors on TV placeholders (#195).
- apinner: the tiles request (#100).
Cheers too to everyone else who reported the issues below.
What's new
TV episode-today, last-aired, and finale fields on show posters
A "today" badge could only use Days Until Next Episode or Days Until Next Season. Those fields stop matching at airtime, so a show airing at 20:00 lost its TODAY badge at 20:00. No field exposed finales, and a batch drop of eight episodes looked like a single episode.
Show posters now get these fields from Sonarr's episode list, counted in your server's time zone:
- Episodes Airing Today, plus Today's Season Number and Today's Episode Number. They stay matched for the rest of the airing day, both before and after airtime.
- Last Aired Episode Date, Days Since Last Episode Aired, Last Aired Season Number, Last Aired Episode Number, and Episodes on Last Air Day (8 for a batch drop).
- Episodes on Next Air Day, alongside the existing next-episode fields.
- Next Finale Type, Next Finale Date, Next Finale Season Number, Next Finale Episode Number, Days Until Next Finale (0 for the whole finale day), Last Finale Type, Last Finale Date, and Days Since Last Finale. Types come from Sonarr: season, series, and midseason.
Specials and undated episodes don't count. Finales come only from Sonarr's flag and aren't guessed from a show's status. Shows not tracked by Sonarr get none of these fields.
Libraries without these fields in their templates don't change. Libraries using them fetch one episode list per tracked show on every full overlay run. That list is shared with Days Since Next Season Premiered (TV). If the list doesn't load, the item keeps its current poster.
Badges change during the full overlay run, not quick sync. With the default 03:00 schedule, a TODAY badge can appear and clear up to three hours after midnight.
This is for show posters only at the moment. In the editor, each field ends in (TV) - Show Poster, such as Episodes Airing Today (TV) - Show Poster. Season posters and episode cards come later. (fork #193)
HD, SD, and unknown-resolution episode counts
Show and season posters only had 4K counts, with no field for "partly HD" or "has SD episodes".
With Episode Scanning on, they now get HD Episode Count, HD Episode %, SD Episode Count, SD Episode %, and Unknown Resolution Episode Count as variables and conditions.
HD covers 720, 1080, and 2K. SD covers 576, 480, and anything below 720. Unknown means Plex reported no resolution, or one Agregarr doesn't recognise. Together with the 4K count, these buckets add up to the episode count.
Episodes with no resolution used to be stored as SD. They now count as unknown, but the show and season Resolution value doesn't change. The new counts don't touch templates that leave them out, but existing quality badges can still change when a trailer placeholder is left out or a better version is picked (see the upgrade notes above). (fork #192)
Downloaded and next undownloaded episode fields
The existing next-episode fields follow the broadcast schedule. That meant a show still counted down to its next episode when the file had already been downloaded.
Show posters now get two conditions: Next Episode Already Downloaded (TV) and Next Season Premiere Already Downloaded (TV). Each is true when the episode behind that countdown has a file on any Sonarr instance. The condition has no value when Sonarr doesn't track the show or nothing is upcoming, so use "not equals true" to hide a badge for downloaded episodes.
Four variables point to the first monitored episode scheduled for today or later that doesn't have a file yet: Next Undownloaded Episode Date, Days Until Next Undownloaded Episode (0 for the whole scheduled day), and the corresponding season and episode numbers. Unmonitored episodes don't count, and neither do missing episodes from earlier days. An episode stays eligible for its whole scheduled day.
These use the same Sonarr episode list as the other episode fields, so there are no extra calls. Each field ends in (TV) - Show Poster in the editor. (fork #193)
Versions condition, variable, and presets
Agregarr only read an item's first file, so there was no way to badge a movie or episode with more than one version in Plex.
- Movies and episodes get Versions, which is how many files Plex holds, and Has Multiple Versions as conditions. Versions is also available as a variable. These use data already fetched by every overlay path, so there are no extra Plex calls.
- Show and season posters get Multi-Version Episode Count and Has Multiple Versions from Episode Scanning when Use episode files for quality badges is switched on. Specials are left out.
- Three opt-in presets, Multiple Versions, Multiple Versions - Season Poster, and Multiple Versions - Episode Card, draw a small rounded tile with a stacked-pages icon. None is switched on for any library.
Use "greater than 1" or Has Multiple Versions for the rule. "not equals 1" also matches every show and season poster because they have no Versions value. Templates that don't use these fields keep their hashes. (fork #202)
Number Format and an Episode Info preset
Agregarr could draw S1E1 from Season Number and Episode Number, but it couldn't zero-pad either number.
Variable segments using whole-number variables now have a Number Format dropdown: Plain (5), Pad to 2 digits (05), or Pad to 3 digits (005). It's available on 32 variables that are always whole and never negative. These include season and episode numbers, counts, view count, IMDb Top 250 rank, and day counts that can't drop below zero.
The new Episode Info - Episode Card preset draws a rounded badge at the bottom right of each episode card showing S01E05. Specials show S00E01. It's switched off for every library.
To use it, switch it on for a TV library and tick Episode cards under Sync scope. Turning on episode cards for a big library means one render and upload per episode during the first full sync.
Templates without a Number Format render as before.
Tile element for collection poster templates
Putting a coloured band behind the title or a frame around the grid previously meant making a PNG somewhere else. The poster editor now has Add Tile: a rounded rectangle with fill colour, fill opacity, one corner radius, and an optional border. It resizes freely and renders on the server as shown in the editor.
Templates without a tile render as before. Current limits are one radius for all four corners and no colour scale. Variables and mapped icons aren't included because collection posters have no per-item fields. (fork #100)
Collection suffix and individual sync for pre-existing collections
Pre-existing collections get a Collection Suffix setting beside Sort Title: Leave As Is (the default), Remove " Collection", or Add " Collection". The sync renames the Plex collection, updates the stored name, and moves a sort title with it when that sort title was just the old name. Matching is case-insensitive, and repeated suffixes are stripped.
Until the sync runs, the library view, All Collections, and the collection panel header show the name that the sync will use.
A rename is skipped if that name is already used in the library. If Plex refuses the rename, for example because the name belongs to an item in the trash, the old name stays and the row shows a Rename failed warning pointing to the logs.
Pre-existing collections now have their own sync button. It runs the sync for that collection only and is refused while a full sync is running or queued. With Leave As Is selected, nothing is renamed. (PR #198)
Show conditionally in the overlay editor
Overlay elements could already carry a condition. The built-in-style templates with separate 4K, 1080, and 720 labels use them. The editor had no way to view or change those conditions, though, and the canvas drew every conditional element on top of the others.
Properties now includes a Show conditionally block for every element type, with a condition summary and an Edit Conditions button. Conditional elements get a small marker in the layer list.
The canvas draws only elements whose condition matches the preview item. The selected element is always drawn so it stays editable, but appears faded when it doesn't match.
Fixed
Overlays
- Opacity now applies to Icon, Image, and Mapped elements on the finished poster, with Grayscale applied to Icon elements. Tile borders sit fully inside the tile at their stated width. A border wider than its tile fills the tile using the border colour. A Color Scale with Max at or below Min steps from Low to High at Min instead of painting black. A border without a selected colour draws white. See the upgrade notes above.
- TMDB's season numbering was kept when Sonarr's date described a different episode. It is now kept only when both name the same day.
- Days Since Home Release could count from a TMDB date while Release Date came from Radarr. Radarr's earliest home date now drives both whenever Radarr supplies one.
- Quick sync, collection sync, and Apply to item dropped Seasons in Plex, View Count, and Last Played. That made those badges disappear between full syncs. They now stay put.
- When two libraries ran together, one job could wipe the other job's Collection rule data during the run, dropping Collection-gated elements.
- An overlay sync without stream templates wiped the cached HDR, Dolby Vision, HDR10+, audio, and bit depth details for unchanged episodes. That forced a full refetch next time. The cache now keeps those details.
- Overlapping standalone batches and full jobs could clear caches that another job was still using.
- Test Specific Media on a show now includes Episode Scanning results, so Episode Media fields and episode quality match the real poster.
Overlay editor
- The editor preview now matches the poster for icons, images, and mapped icons. This covers opacity, grayscale, fitting a wide icon inside its box, and using the saved or default icon for values not listed by a Mapped element. Check Layout measures the actual icon area.
- Tile borders, Variable text, Color Scale colours, and grayscale now preview as drawn on the poster. Variable text stays on one clipped line, matching the poster. All 12 date fields honour Date Format.
- Variables and conditions now read the same preview item, using the same sample quality, audio, and Maintainerr values as the template card. Elements from Preview with Other Overlays hide when their own condition doesn't match.
- A Variable element's Preview box in the layer panel now shows the selected preview poster's value rather than the built-in sample.
- Non-owner users saw preview dates in UTC. The editor now reads the server time zone for any signed-in user.
- Condition fields including Total Seasons, Episode Media counts, Show Audio Channels, and Show Bit Depth had a text box, so "equals 5" never matched. Number fields now get a number box and greater/less than. Show HDR and Show Dolby Vision get a true/false choice, and operators that couldn't match are gone. Switching an operator converts the value.
- Dragging a rule no longer carries its AND/OR with it. Test Specific Media prints AND/OR between rules and uses the editor's field labels.
- Deleting the last rule in a condition left an empty condition that still counted as conditional. It now counts as no condition, and a blocked save keeps the condition dialog open.
- Color Scale Min and Max accept a minus sign or decimal point, keep the previous number when cleared, and reset when you select another tile. Saving in Edit Mappings refreshes the preview straight away and no longer reports a failure when only the refresh failed.
- Opacity 0 shows as 0%, the Border Color swatch matches the drawn colour, and a Color Scale field outside the four listed fields shows as its own option rather than IMDb Rating.
Posters
- Item Count and Collection Type rules on collection posters now match the editor preview. Item Count uses the full collection size, including Library Essentials and person posters, which previously passed only 12 items.
- Collections using the default poster template now regenerate when an Item Count or Collection Type rule changes outcome.
- Switching an Item Count rule from contains to a comparison saves a number, so "at least 10" compares against the actual count.
Collections
- Preview Collection ignored Item Order on single-source collections. It now follows the sync order.
- Opening a collection whose title wasn't a dropdown preset reset it to the first preset. Saving then renamed the Plex collection. The saved title now opens under Custom.
- A standalone separator ignored an uploaded poster. Unticking Auto-generate and uploading one now works.
- Presets preselect only libraries matching the preset's media type.
- Time Restrictions date ranges are checked as DD-MM. Both 5-12 and 05-12 work. At least one day must remain ticked, and empty rows are dropped on save.
- A pre-existing collection using Time Restrictions, with every Visibility When Inactive option off, could stay hidden indefinitely after going inactive. Plex Collections Sync wouldn't bring it back. The schedule is now checked first, so the collection should return with its normal visibility when the next active period starts. (fork #203)
- Origin Country and Production Country lists are now recognised when checking a poster rule for contradictions.
- The placeholder banner on TV episode hubs recognises the recommended episode-based filtered hubs.
- Coming Soon used TMDB's premiere day even when Sonarr had the actual air time. East of the US, that could move a US show into and out of the window a day early. It now uses Sonarr's season 1 episode 1 air time when both sources describe the same premiere.
- Most recently aired seasons counted a US season as aired from midnight UTC on its US date. In Australia, that meant it could request the unaired season for about a day. A TMDB-only date now counts as aired once that day has ended in US Eastern time.
- A standalone separator now shows the built-in Separator template that it uses.
- The Library Essentials "Existing collection" badge follows a custom title template.
- Library Essentials no longer refetches on every keystroke in the title template. A config containing only include values also no longer defaults to creating everything.
- Sub-type help text said filtered hubs replace Plex's hub. They actually sit beside it.
- Removing Certification Country left UK or Canadian ratings in the filter group, which then matched nothing. Ratings missing from the US list are now dropped.
Placeholders
- "Only include items released within 0 days" can now be saved and used. See the upgrade notes above.
- Quick sync deleted TV edition trailers before the real show was in its collections. See the upgrade notes above.
- The placeholder label was matched case-sensitively. That meant a placeholder missing its database row kept its resume position for the shared user who played it. This is now fixed. (fork #146)
Dates
- Date Format, bare dates on UTC+12 servers, and daylight saving day counts now behave as described in the upgrade notes above.