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

"3D" for video seems to be string matched only vs placement in the input #771

Open
jessielw opened this issue Apr 3, 2024 · 0 comments
Open

Comments

@jessielw
Copy link

jessielw commented Apr 3, 2024

Swapping to regex (below) would allow it only to parse if 3D was after the year instead of as a string in the filename. This is important because 3D can be part of a movie name and not and actual indicator of the video having 3D attributes. This is how radarr/TRASH parses this.

"(?<=\b[12]\d{3}\b).*\b(3d|sbs|half[ .-]ou|half[ .-]sbs)\b|\b(BluRay3D)\b|\b(BD3D)\b"
https://regex101.com/r/xKOwd3/1

I took an attempt and modifying things slightly in a PR, but it was coming up as an alternate-title, which I'm sure isn't the desired approach here. So I decided to open an issue so it could be discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant