Skip to content

Series parser removes too much for matching #4817

Description

@g-regor

Summary

The parser is removing final from the string, and therefore id matching fails to properly identify it.

I have id_regexp something like this

- "(\\d+)(?:st|nd|rd|th) season (\\d+)"
- "(final) season (\\d+)"
- "season (\\d+) (\\d+)"
- "S(\\d+) (\\d+)"
- "(\\d+)"

The name [Group] Series Name Final Season - 01 [1080p][MultiSub][DEADBEEF] gets stripped down to season 02 multisub deadbeef group for id regex matching and because final is missing, it's just matched with the last regex and then gets rejected, because it's identified the same as the already seen first season would and gets rejected.

It gets removed because it's part of the propers list.

It's a pain in the ass to write and debug these id regexes, because it's unknown what string these regexes are matched against.

Additional information

Version: 3.16.3

Activity

  1. added theissue type on Jan 16, 2026
  2. github-actions commented on Jun 16, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open 150 days with no activity. Remove stale label or comment or this will be closed in 30 days.

  3. g-regor commented on Jun 16, 2026

    @g-regor
    ContributorAuthor

    bump

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

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions