Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New: extract "additional" parameters from the release title, in order to be able to apply custom formats to them #10881

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

allquiet-hub
Copy link

@allquiet-hub allquiet-hub commented Feb 5, 2025

Database Migration

NO

Description

The goal is to include potential file extensions in the calculation of the custom formats score. This bypasses the issue where .xvid is treated as an extension and thus excluded from the release title, resulting in different custom format scores in cases that look similar. Managed this way also makes it possible in the future to completely separate the custom format application only to the extra parameters, without applying them to the release title. I would think that this would also solve some extreme cases where a custom format is matched to the movie title.

To take into consideration

I have added the extra parameters regex only to the normal movie format regex. It might be needed to add it to other movie formats.

Issues Fixed or Closed by this PR

@github-actions github-actions bot added the Area: Parser Issue is related to parsing infrastructure. label Feb 5, 2025
@bakerboy448
Copy link
Contributor

Naming suggestion: something beside extra as for search that will mean extras like movie extras etc. should be more precise/descriptive me thinks

@allquiet-hub allquiet-hub changed the title New: extract "extra" parameters from the release title, in order to be able to apply custom formats to them New: extract "additional" parameters from the release title, in order to be able to apply custom formats to them Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Parser Issue is related to parsing infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Format doesn't match for term "xvid" at end of release name
3 participants