599 Commits

Author SHA1 Message Date
bitr8
5ed40a3832
fix: path traversal in overlay template export (#513)
The overlay template export endpoints resolve asset paths with a
fallback to path.join(cwd, assetPath), allowing arbitrary file reads
via crafted asset paths.

- Remove unrestricted cwd fallback from both export endpoints
- Restrict resolution to config/uploads/ and config/posters/
- Add path.resolve() containment check

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-03-17 21:03:13 +13:00
Tom Wheeler
67b813988e perf(letterboxd): reduce Playwright usage and parallelise TMDB resolution
searches TMDB API first, if no exact match found then grabs TMDB ID from individual page with
playwright
2026-03-17 21:00:33 +13:00
Tom Wheeler
06e962c7ce fix(multi-source): reset stale title template when changing from single to multi source
fix #521
2026-03-17 20:13:54 +13:00
Tom Wheeler
199841f3ae fix(placeholders): placeholder filters blocking creation when grab missing items was not enabled
fix #509
2026-03-17 19:43:59 +13:00
Tom Wheeler
c2f11799cf fix(imdb-letterboxd): use Playwright clients in random list and title validation for IMDb/Letterboxd
fix #475
2026-03-17 19:35:50 +13:00
Tom Wheeler
cd14951bbc fix(security): validate filenames in icon and poster thumbnail routes to prevent path traversal 2026-03-17 16:19:54 +13:00
bitr8
ef873b7fe6
Sanitize SVG content on icon upload (#514)
SVG files uploaded as icons are saved without sanitisation. Embedded
script tags, event handlers, foreignObject elements, and javascript:
URIs in SVG content enable stored XSS.

Adds sanitizeSvg() that strips dangerous elements and attributes
before saving. Applied via uploadIcon() so template imports are
also covered.

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-03-17 10:06:38 +13:00
bitr8
404e7c865e
fix: TV placeholders leaking into filtered hubs (#503)
PlaceholderDiscovery re-verified TV items via isPlaceholderItem() which
returns false during library-level scans (no Children metadata in Plex
response). The marker file on disk already proves it's an Agregarr-created
placeholder, so trust that instead of re-checking a broken API path.

Also: find S00E00 by episode index not array position, and use async
placeholder detection in the orphan scan for definitive TV identification.

Ref #414

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-03-17 10:03:53 +13:00
bitr8
c1de3be561
Remove unused vm2 dependency (#515)
vm2 is listed as a dependency but never imported anywhere in the
codebase. It has been deprecated and has multiple sandbox escape
CVEs. Removing it.

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-03-17 09:51:48 +13:00
Tom Wheeler
9d2d211ef5 chore(i18n): extract strings 2026-03-17 09:40:13 +13:00
Tom Wheeler
95f77d64a4 fix(seerr): enable Home/Recommended visibility options for Seerr Individual Requests collections
Longstanding Plex bug not respecting label restrictions for Collections on Home/Recommended has been
fixed in PMS Beta 1.43.1.10540, confirmed working with Agregarr. Also removes previous easter egg
which enabled the option (intended for use when the project was going to be a PR for Overseerr,
allowing use of the option without waiting for an update)

fix #112
2026-03-17 09:26:16 +13:00
Tom Wheeler
07f0a14ef0 fix(placeholders): add Plex Webhook support to mark placeholders as unwatched 2026-03-15 23:42:12 +13:00
Weblate (bot)
c46046fc08
Translations update from Hosted Weblate (#463)
* Translated using Weblate (French)

Currently translated at 99.3% (1423 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (Hungarian)

Currently translated at 99.8% (1430 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/hu/

* Translated using Weblate (French)

Currently translated at 99.4% (1424 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 99.4% (1424 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (Swedish)

Currently translated at 26.3% (377 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/sv/

* Translated using Weblate (French)

Currently translated at 99.6% (1427 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 99.8% (1430 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (Hungarian)

Currently translated at 99.9% (1431 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/hu/

* Translated using Weblate (French)

Currently translated at 84.5% (1340 of 1585 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 85.2% (1360 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 91.5% (1460 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 97.3% (1553 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (1595 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (German)

Currently translated at 17.1% (273 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/de/

* Translated using Weblate (French)

Currently translated at 87.1% (1434 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 95.3% (1569 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 98.6% (1623 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (1646 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (German)

Currently translated at 16.9% (279 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/de/

* Translated using Weblate (French)

Currently translated at 100.0% (1685 of 1685 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 97.9% (1713 of 1748 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (1748 of 1748 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (1748 of 1748 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (1758 of 1758 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

---------

Co-authored-by: Sulli <susu.leduc@gmail.com>
Co-authored-by: Koch Norbert <kochnorbert@icloud.com>
Co-authored-by: Hannes Brolin Lagerstedt <mainhannes@gmail.com>
Co-authored-by: Sarge527 <Maximiliannelles@mail.de>
Co-authored-by: U.B. <hex0x@mail.de>
2026-03-05 19:06:08 +13:00
Tom Wheeler
501d6b68d7 chore(overlays): revert order of imdb and rt overlays 2026-03-05 19:04:49 +13:00
Tom Wheeler
78842cd050 fix(tmdb-collections): respect language setting for TMDB franchise collections
fix #487
2026-03-03 23:51:32 +13:00
bitr8
8d850322b9
fix(overlays): support Maintainerr v3 API (mediaServerId rename) (#504)
Maintainerr v3 renamed `plexId` (number) to `mediaServerId` (string)
in their API response. The overlay context builder compared against the
old field, silently failing to match any media items so daysUntilAction
never populated.

Read `mediaServerId` with fallback to `plexId`, compare as strings.
Supports both Maintainerr v2 and v3.

Fixes #501

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-03-03 00:18:43 +13:00
Ruben
207a1ed905
fix(overlays): correct air date today logic for next episode and season (#496)
* fix(overlays): correct air date today logic for next episode

* fix(overlays): correct air date today logic for next season
2026-03-03 00:16:56 +13:00
bitr8
d8655cad41
fix(placeholders): handle Plex returning TV seasons as Children.Directory (#491)
Plex returns seasons as Children.Directory (not Children.Metadata)
when using ?includeChildren=1. All placeholder detection code only
checked Children.Metadata, so isPlaceholderItem() always returned
false for TV shows — skipping title fixes and triggering false
cleanup of valid placeholders.

Added Metadata || Directory fallback across all detection paths,
type casts, and getChildrenMetadata() API helper.

Fixes #414

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-03-03 00:15:31 +13:00
bitr8
68d832a2bd
fix: guard splice in arrangeCollectionItemsInOrder (#481)
When an item isn't yet visible in Plex, indexOf returns -1 and
splice(-1, 1) removes the last element of the tracking array,
corrupting all subsequent move decisions.

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-03-03 00:14:13 +13:00
Rust84
4f11ad1260
fix(local-posters): fix pagination and library filtering for local poster folders (#477)
Add pagination loop to process all library items instead of only the first 50. Use
plexApi.getLibraries() instead of OverlayLibraryConfig so libraries without overlays are included.

#433
2026-03-03 00:13:43 +13:00
Douw Jacobs
898c300d2a
fix(overlays): fix days since season premiere logic (#473) 2026-03-03 00:10:36 +13:00
Tom Wheeler
f563170053 chore(overlay-test): correct typing 2026-03-03 00:06:49 +13:00
Tom Wheeler
843d314984 fix(connections): correctly handle CSRF cookie name 2026-03-03 00:05:41 +13:00
Tom Wheeler
d91d040c1e chore(dependencies): remove unused openpgp, minor patch bumps 2026-03-03 00:03:50 +13:00
Tom Wheeler
aba123fcc5 fix(uploads): add authentication to poster export/import, trakt, and anime routes 2026-03-02 23:59:02 +13:00
bitr8
5134db5b9f
fix(overlays): parallelise collection membership check in overlay test (#483)
The overlay test endpoint checks every collection for item membership
sequentially. With ~150 collections at ~250ms each, the request takes
~37 seconds and the frontend times out.

Batched the getCollectionItems() calls with Promise.all at concurrency
10, matching the pattern in OverlayLibraryService. Brings the check
down to ~4 seconds for 150 collections.

Fixes #468

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-25 17:30:26 +13:00
bitr8
831ccaba98
fix(collections): index MAL IDs for constant-time lookups (#482)
lookupByMal() iterates all ~25k anime ID rows to find a MAL ID match.
MAL sources can fetch thousands of items, each calling lookupByMal(),
so preview requests time out before returning results.

Added a _byMal Map index built during loadAnimeIds(), matching the
existing _byAniDB pattern. Lookups are now O(1) instead of O(n).

Fixes #480

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-23 10:54:24 +13:00
Ryan Brothers
863d9974be
fix(TMDB): Multiple custom advanced filter fixes (#476)
* FIX: ADD-OR dropdown was not letting you change it to OR

* FIX: make it so that TMDB cast,crew,people filters show the name with the ID

* FIX: add name when adding person on TMDB as an ID number

* FIX: TMDB custom collection now saves settings on update

* FIX: after deleting a TMDB custom collection, you could not make a new one with the same name

* FIX: hydration was not working on large groups of IDs
2026-02-23 10:01:25 +13:00
Sean Bingham
4a4e1d85c1
fix(cleanup): prevent auto-franchise collections from being deleted when custom sync is enabled (#470)
Updated 'CollectionCleanupService' so deletion checks look at all Agregarr labels on a collection, instead of only the first one.
2026-02-23 09:58:22 +13:00
Anthony Hoivik
cb12822872
fix(overlays): move IMDb rating position out of conflict with top banner tiles (#408)
* fix: move IMDb rating position out of conflict with top banner tiles

* fix: move dolby vision, hdr position down to prevent conflict with new imdb position
2026-02-21 19:42:07 +13:00
Sean Bingham
069e58c174
fix(coming-soon): makes hideIndividualItems work for Coming Soon collections (#469)
* - Updated `hideIndividualItems` description in settings to clarify support for both Coming Soon and TMDB auto_franchise collections.
- Improved `ComingSoonCollectionSync` to filter items based on media type and apply collection exclusions.
- Added logic to set collection mode when `hideIndividualItems` is enabled, ensuring individual items are hidden in the library tab.
- Adjusted UI components to reflect changes in collection mode options for TMDB and Coming Soon collections.

* fix(comingsoon): guard missingItems before quick-sync storage
2026-02-20 13:25:41 +13:00
bitr8
77c5a91139
fix(Placeholders): Scan all placeholder-enabled libraries, not just the first (#467)
.find() only returned the first TV/movie library with placeholders
enabled, silently skipping any additional libraries. Replace with
.filter() + Set to discover and process placeholders across all
libraries.

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-20 13:24:37 +13:00
bitr8
63b8851a1a
fix(Placeholders): Separate placeholder filters independent of auto-request filters (#456)
* feat: separate placeholder filters independent of auto-request filters

Add placeholderMinimumYear, placeholderMinimumImdbRating,
placeholderMinimumRottenTomatoesRating,
placeholderMinimumRottenTomatoesAudienceRating, and
placeholderFilterSettings to CollectionConfig and
MultiSourceCollectionConfig.

buildPlaceholderFilterConfig() helper swaps placeholder values into
standard filter fields so MissingItemFilterService works unchanged.
Updated BaseCollectionSync and MultiSourceOrchestrator call sites.

Collapsible "Placeholder Filters" section in collection edit form
reuses FilterWithMode/KeywordFilterWithMode. Auto-expands when
editing configs with existing values.

Fixed pre-existing gap: keywords missing from
MultiSourceCollectionConfig.filterSettings type.

---------

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
Co-authored-by: Tom Wheeler <thomas.wheeler.tcw@gmail.com>
2026-02-20 13:22:44 +13:00
Tom Wheeler
266a6057e0 docs(seerr): overseerr has been updated to Seerr across the frontend
fix #142
2026-02-20 12:08:07 +13:00
Weblate (bot)
df26046348
Translations update from Hosted Weblate (#439)
* Translated using Weblate (French)

Currently translated at 99.3% (1423 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (Hungarian)

Currently translated at 99.8% (1430 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/hu/

* Translated using Weblate (French)

Currently translated at 99.4% (1424 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 99.4% (1424 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (Swedish)

Currently translated at 26.3% (377 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/sv/

* Translated using Weblate (French)

Currently translated at 99.6% (1427 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 99.8% (1430 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (Hungarian)

Currently translated at 99.9% (1431 of 1432 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/hu/

* Translated using Weblate (French)

Currently translated at 84.5% (1340 of 1585 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 85.2% (1360 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 91.5% (1460 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 97.3% (1553 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (1595 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (German)

Currently translated at 17.1% (273 of 1595 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/de/

* Translated using Weblate (French)

Currently translated at 87.1% (1434 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 95.3% (1569 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 98.6% (1623 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (1646 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (German)

Currently translated at 16.9% (279 of 1646 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/de/

* Translated using Weblate (French)

Currently translated at 100.0% (1685 of 1685 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

* Translated using Weblate (French)

Currently translated at 97.9% (1713 of 1748 strings)

Translation: agregarr/Agregarr Frontend
Translate-URL: https://hosted.weblate.org/projects/agregarr/agregarr-frontend/fr/

---------

Co-authored-by: Sulli <susu.leduc@gmail.com>
Co-authored-by: Koch Norbert <kochnorbert@icloud.com>
Co-authored-by: Hannes Brolin Lagerstedt <mainhannes@gmail.com>
Co-authored-by: Sarge527 <Maximiliannelles@mail.de>
Co-authored-by: U.B. <hex0x@mail.de>
2026-02-14 11:49:12 +13:00
Tom Wheeler
888dc43301 fix(overlays): fix native language strings being used for language/subtitle variables
now uses language code and converts to english

fix #460
2026-02-13 12:49:13 +13:00
Tom Wheeler
67a819236f chore(i18n): extract 2026-02-13 11:35:59 +13:00
Tom Wheeler
9b272e37b1 fix(overlays): add TVDB TV Status as additional TV Status option
add base TVDB client for future integration.

fix #342
2026-02-13 11:31:45 +13:00
bitr8
e0470bcb0a
fix: pass rating filters and seasonGrabOrder to multi-source collections (#459)
Multi-source config assembly was missing minimumImdbRating,
minimumRottenTomatoesRating, minimumRottenTomatoesAudienceRating,
and seasonGrabOrder. Items below the rating threshold were not
being filtered for multi-source collections.

re #440

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-13 08:50:21 +13:00
bitr8
87087cbb6c
fix: re-apply placeholder markers during global discovery (#453)
Movie placeholder labels were only re-applied by Coming Soon collections,
so movies in other collection types (Letterboxd, IMDB, Trakt, etc.) could
permanently leak into filtered hubs if the initial label application failed.

TV placeholder title fixes returned false on timeout but the result was
never checked, giving no visibility into failures.

- Re-apply trailer-placeholder label for all movie placeholders during
  global discovery pass
- Log warnings when episode title or movie label application fails
- Track failure counts in discovery summary logs

Relates to #414

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-13 08:40:35 +13:00
bitr8
a6e3e017bd
fix(collections): use correct Plex API endpoint for collection title updates (#444)
Collections require the /library/sections/{id}/all?type=18 endpoint for
metadata updates, not /library/metadata/{ratingKey}. This fixes dynamic
cycle titles (DYNAMIC_CYCLE_TITLE) not updating in Plex after first sync.

- Add libraryKey parameter to updateCollectionTitle()
- Use correct Plex API endpoint for collection metadata updates
- Lock title field to prevent Plex overwriting
- Propagate errors instead of swallowing them

Fixes #432

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-13 08:37:58 +13:00
bitr8
ecda35507c
fix(filtered-hub): use episode air date for TV recently released (#450)
originallyAvailableAt on type=2 (shows) returns the show's premiere
date, not the latest episode's air date. A show like The Rookie
(premiered 2018) wouldn't appear even with new episodes airing.

Changed to episode.originallyAvailableAt:desc which sorts shows by
their most recent episode's air date.

Fixes #442

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-08 21:30:05 +13:00
bitr8
bf569aea54
fix: use searchPerson API for person spotlight TMDB disambiguation (#452)
searchMulti returns all media types without known_for_department,
causing wrong person selection when names collide (e.g., actor
"Ingmar Bergman" chosen over the director). Switch to searchPerson
and rank results by department match, profile image, then popularity.

Relates to #443

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-08 21:29:44 +13:00
bitr8
968d4246f5
fix(letterboxd): resolve letterboxd items via film page TMDB links (#454)
Letterboxd film pages embed exact TMDB links (data-track-action="TMDb"),
but the current resolution relies entirely on fuzzy title+year search.
Short or common titles like "Columbus", "Flow", and "Moonlight" frequently
resolve to wrong results because the scoring gives near-identical scores
to partial title matches and off-by-one year differences.

This adds film page scraping as the primary resolution method, with the
existing TMDB search as fallback.

- Scrape individual film pages for TMDB ID before attempting title search
- Batch scraping with concurrency limit (5 concurrent, 200ms delay)
- Containment scoring now scales by title length ratio instead of flat 0.9
- Year scoring: exact match 0.3, +/-1 year 0.2 (was 0.3 for both)

Fixes #448

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-08 21:03:00 +13:00
bitr8
6b89f60983
fix: persist applyOverlaysDuringSync for pre-existing collections (#445)
The checkbox was in the UI but the field wasn't in the type definition
or save payload, so changes were never persisted.

Fixes #438

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-06 11:15:02 +13:00
bitr8
e81b1d5952
feat(overlays): add date format options for US and UK/AU locales (#446)
* feat(overlays): add US date formats and standalone weekday option

Adds new date format options for overlay templates:
- M/D: US date without leading zeros (1/5)
- DDD MM/DD: weekday + US date (MON 12/20)
- DDD M/D: weekday + US date no padding (MON 1/5)
- DDD: standalone abbreviated weekday (MON)

Fixes #430

* feat(overlays): add UK/AU date formats without padding

* fix(overlays): use unambiguous dates in format examples

---------

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-02-06 11:14:03 +13:00
Tom Wheeler
536d3733a2 fix(collection-poster-editor): fixes preview not resetting. adds library categorisation to dropdown
fix #373
2026-02-06 11:11:44 +13:00
Tom Wheeler
9787db3bda feat(overlays): add Plex Labels as condition
fix #243
2026-02-02 20:55:56 +13:00
Tom Wheeler
af965b66c6 feat(overlays): add Collection as condition
re #243
2026-02-02 20:36:09 +13:00
Tom Wheeler
874290155a fix(overlays): fix infinite update loop 2026-02-02 19:10:13 +13:00