mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-02 22:57:34 -05:00
Remux direct from disc detected as web-dl #9359
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Extras
Area: Import Lists
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Organizer
Area: Parser
Area: Scanning
Area: Tooling
Area: UI
Area: Unit Tests
On Hold: MetadataAPI Blocking
On Hold: MetadataAPI Blocking
Priority: High
Priority: Low
Priority: Medium
Status: Accepted
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: On Hold
Status: Ready for Review
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
conflict
lidarr-pull
no-conflict
not-pulled
readarr-pull
readarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Radarr#9359
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @3Gigs on GitHub (Feb 8, 2026).
Is there an existing issue for this?
Current Behavior
There was an issue opened for this, #7096, but I am experiencing a slightly different version of the problem that I think is fixable in the parser.
If I get a 1080p blu-ray and remux it with MakeMKV, placing just the largest file from the disc in the already existing movie folder, the file ends up named like this: "title_t00.mkv". The _t00, _t01 etc. in the filename clearly indicates it's a remux (in my opinion), yet Radarr always defaults to assigning it to 1080p web-dl quality. I've tried moving the sliders for bitrate, but no matter what I cannot get it to detect as a remux.
In general this relates more to renaming for me than anything else, and if I were able to set the title in more than one quality setting to the same text it wouldn't be an issue for me (e.g. both WEBDL-1080p and Remux-1080p would have the title "1080p Bluray Remux"), or at least not until Radarr tried to upgrade the movie.
Expected Behavior
I expect that any file ending in _t##.mkv should be considered a remux, as that's fairly standard naming convention for MakeMKV. Additionally, I expect that moving the sliders for quality such that a file exceeds the max limit for a particular quality (I have WEBDL-1080p set to MAX 10 (600 MiB/h)) should exclude that quality from being applied to that file.
Lastly (and maybe this should be a separate issue), since the Title in the quality isn't used in menus, there is zero reason to disallow two or more Titles for different quality profiles to have the same name, so I should be able to duplicate them. Meaning if I don't care whether it's WEBDL or WEBRip and I just want them both to be renamed with "Web 1080p", I should be able to have that same Title in the quality settings for both profiles.
Steps To Reproduce
Create directory with name and year of movie.
Use MakeMKV to remux a movie straight from the disc.
Save the resulting file (title_t00.mkv - ~25 GiB) in the folder noted above.
Either import the movie with Library Import, or Refresh and Scan (after deleting any lower-quality files).
Under 'manage files' or 'preview rename' the incorrect quality can be seen.
Environment
What branch are you running?
Master
Trace Logs? Not Optional
Relevant snippet 1:
2026-02-08 22:21:01.2|Trace|Http|Req: 7398 [GET] /api/v3/rootFolder/7?timeout=false (from ::1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36)
2026-02-08 22:21:01.2|Debug|RootFolderService|Generating list of unmapped folders
2026-02-08 22:21:01.2|Trace|ConfigService|Using default config value for 'recyclebin' defaultValue:''
2026-02-08 22:21:01.2|Debug|RootFolderService|1 unmapped folders detected.
2026-02-08 22:21:01.2|Trace|Http|Res: 7398 [GET] /api/v3/rootFolder/7?timeout=false: 200.OK (2 ms)
2026-02-08 22:21:01.2|Debug|Api|[GET] /api/v3/rootFolder/7?timeout=false: 200.OK (2 ms)
2026-02-08 22:21:01.2|Trace|Http|Req: 7399 [GET] /api/v3/movie/lookup?term=Hangin%27%20out%20(1983) (from ::1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36)
2026-02-08 22:21:01.2|Debug|Parser|Parsing string 'Hangin' out (1983)'
2026-02-08 22:21:01.2|Trace|Parser|^(?
@mynameisbogdan commented on GitHub (Feb 9, 2026):
Where can you see REMUX plus resolution in those file names? MKV is just a container and not an indicator of quality.
You should improve your naming scheme in makemkv, if possible.
@3Gigs commented on GitHub (Feb 14, 2026):
Czesc Bogdan,
Not possible, aside from the folder name, which in most cases already exists and was created by Radarr. Only way to rename is manually, which pretty much defeats the purpose of using Radarr to rename files.
And like I said, it'd be a non-issue if two profiles could share the same title.
I suppose I could always muck about with the source code for the parser and add "_t##.mkv"=REMUX somewhere in the regex.
@mynameisbogdan commented on GitHub (Feb 14, 2026):
Maybe try Filebot?
@3Gigs commented on GitHub (Feb 14, 2026):
I tried that a long time ago, but I really like Radarr's other functionality. My current workaround is running two instances (one on the workstation one on the server). Workstation has 'remux' in the naming scheme for web-dl and remux (but they have to be ever so slightly different, like 1080w instead of 1080p), and the second instance picks up on the remux and parses it correctly. Only issue there is I wind up remuxing to the workstation then copying the file, instead of remuxing right to the destination folder on the workstation. I was hoping to avoid that extra step. Not to mention the workstation thinks it's a web-dl and wants to upgrade it.
@3Gigs commented on GitHub (Feb 14, 2026):
So if I go with the 'muck about in the source code' route, would this work:
In QualityParser.cs change:
Regex RemuxRegex = new (@"(?:[. []|\d{4}p-|\bHybrid-)(?(?:(BD|UHD)[-. ]?)?Remux)\b|(?(?:(BD|UHD)[-. ]?)?Remux[. ]\d{4}p)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
to
Regex RemuxRegex = new (@"(?:[. []|\d{4}p-|\bHybrid-)(?(?:(BD|UHD)[-. ]?)?Remux)\b|(?(?:(BD|UHD)[-. ]?)?Remux[. ]\d{4}p)|(?_t\d{2})(?=.\w{3,4}
|)", RegexOptions.Compiled | RegexOptions.IgnoreCase);by simply adding:
|(?_t\d{2})(?=.\w{3,4}
|)...which should pick up on the _t## at the end of a filename
?
@mynameisbogdan commented on GitHub (Feb 15, 2026):
@3Gigs commented on GitHub (Feb 15, 2026):
Egads. You know, it's the simple things that trip me up all the time. In the years that I've been using MakeMKV I never checked the 'expert mode' checkbox to enable the advanced tab on preferences. Thank you SO MUCH for this, it completely fixes my issue. You absolutely went above and beyond.