Skip to content

[Plugin] Anime markers never match series whose library title isn't English #310

Description

@Kisnov

Plugin version

2.3.0

Server

Jellyfin

Server version

12.1

Area

Other / not sure

What happened

Filler/canon markers never show up for anime whose library title is in another language. My library uses Catalan metadata, so "Detective Conan" is "El detectiu Conan" and "Dragon Ball" is "Bola de Drac". Both are on AnimeFillerList, but the admin page preview says they match nothing, and the series endpoint returns matched=(nothing) markers=0. Running the Anime Markers Sync task again doesn't change anything.

I expected the plugin to find the show the same way it does for an English-titled library.

As far as I can tell from the source, AnimeMarkerResolver.MatchSeries only tries the series name, the name plus production year, and OriginalTitle. AnimeFillerList titles are English, so a localized name never matches. OriginalTitle doesn't help either: for anime it's usually the Japanese title from TMDB (e.g. 名探偵コナン), and AnimeTitleMatcher.Normalize drops everything outside a–z/0–9, so it folds to an empty key.

Possible fix: the plugin already resolves a series to its MyAnimeList id for the recap pass (AnimeRecapFetchService.TryResolveMalIdAsync). That lookup works from provider ids and the Fribb mapping table, so it doesn't depend on the title language. When the title match fails, the romaji/English titles for that id (one AniList query, Media(idMal:) { title { romaji english } synonyms }) could be matched against the index as further candidates.

Workaround for now: setting the series' Original title to the English name ("Detective Conan") and re-running the sync task.

Steps to reproduce

  1. Use a library with metadata in a non-English language (Catalan here), so anime series names are localized.
  2. Enable Anime markers and run "Moonfin Anime Markers Sync".
  3. On the plugin admin page, preview a series that exists on AnimeFillerList under its English name (e.g. "El detectiu Conan" → Detective Conan).
  4. The preview reports "matched nothing on AnimeFillerList", and no episodes get filler/canon pills.

Frequency

Always

Screenshot of the problem

Image Image Image

Server logs / errors (optional)

2026-10-03 09:00:43.500 +02:00  preview  series="El detectiu Conan" (from the admin page)
2026-10-03 09:00:43.500 +02:00    -> matched nothing on AnimeFillerList
2026-10-03 09:00:59.595 +02:00  preview  series="El detectiu Conan" (from the admin page)
2026-10-03 09:00:59.595 +02:00    -> matched nothing on AnimeFillerList
2026-10-03 09:03:41.714 +02:00  items  asked about 74, answered 0 (skipped: 74 series/folders, 0 movies with the movie option off, 0 outside the chosen libraries or not anime, 0 with no audio language tags, 0 unknown ids)
2026-10-03 09:03:45.308 +02:00  request  seriesId=eed3442ed59079a35d55e458004541ae from=Dart/3.13 (dart:io)
2026-10-03 09:03:45.308 +02:00    series="Bola de Drac" filler=True audio=True
2026-10-03 09:03:45.535 +02:00    audio pass took 227 ms
2026-10-03 09:03:45.536 +02:00    -> matched=(nothing) pending=False markers=0 recapKnown=False audioEpisodes=157 audioSeasons=7
2026-10-03 09:04:19.653 +02:00  items  asked about 23, answered 0 (skipped: 10 series/folders, 0 movies with the movie option off, 0 outside the chosen libraries or not anime, 0 with no audio language tags, 13 unknown ids)
2026-10-03 09:04:26.653 +02:00  items  asked about 13, answered 11 (skipped: 0 series/folders, 0 movies with the movie option off, 2 outside the chosen libraries or not anime, 0 with no audio language tags, 0 unknown ids)
2026-10-03 09:04:26.762 +02:00  items  asked about 13, answered 10 (skipped: 0 series/folders, 0 movies with the movie option off, 3 outside the chosen libraries or not anime, 0 with no audio language tags, 0 unknown ids)
2026-10-03 09:04:29.856 +02:00  items  asked about 75, answered 0 (skipped: 75 series/folders, 0 movies with the movie option off, 0 outside the chosen libraries or not anime, 0 with no audio language tags, 0 unknown ids)
2026-10-03 09:05:19.748 +02:00  request  seriesId=eed3442ed59079a35d55e458004541ae from=Dart/3.13 (dart:io)
2026-10-03 09:05:19.748 +02:00    series="Bola de Drac" filler=True audio=True
2026-10-03 09:05:19.749 +02:00    audio pass took 0 ms
2026-10-03 09:05:19.749 +02:00    -> matched=(nothing) pending=False markers=0 recapKnown=False audioEpisodes=157 audioSeasons=7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingJellyfin

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions