Skip to content

Feat/no minlength for known tracks#13

Merged
negativeeddy merged 6 commits into
masterfrom
feat/no-minlength-for-known-tracks
Jul 17, 2026
Merged

Feat/no minlength for known tracks#13
negativeeddy merged 6 commits into
masterfrom
feat/no-minlength-for-known-tracks

Conversation

@negativeeddy

Copy link
Copy Markdown
Owner

SourceTitleId fix — MakeMKV's mkv command interprets 0 as "rip all titles", so the 0-based TINFO index was wrong. Now uses TINFO field 24 (actual 1-based title number).

0-track fallback retry — Retries info scan with normal minLength before giving up and ripping all titles, so DiscDb exhaustive scan timeouts don't bypass MainFeature selection.

MarkStageComplete(Rip) — was missing from the fallback path.

⚠️ Small file badge — yellow warning on movie files under 2GB in the Output view.

ARM Dotnet Port added 6 commits July 16, 2026 22:20
When the app already knows the exact track to rip (TestMode or MainFeature
modes), --minlength is counterproductive — it causes MakeMKV to filter out
the requested title if it's shorter than the threshold, resulting in exit
code 12 and zero output. The info scan already handles min-length filtering.

Also reverted unnecessary SourceTitleId parameter on RipTrackAsync — the
sequential TINFO index (TrackNumber) is the correct argument for the mkv
command, not the DVD VTS source title ID (field 24).
- Removed AddSourceTitleId migration (DB column not needed)
- Removed SourceTitleId property from Track, DiscTrack models
- Removed SourceTitleId enum value from MakeMkvModels
- Removed SourceTitleId parsing from MakeMkvService (field 24 is the DVD
  VTS title ID, not what makemkvcon mkv expects — it uses sequential index)
- Reverted NotificationHub.cs and Viewer.cshtml changes (log streaming
  improvements unrelated to this branch)
- Re-add SourceTitleId (TINFO field 24) to fix MakeMKV mkv command title
  selection: the 0-based TINFO index was causing '0' to be passed to
  MakeMKV's mkv command, which MakeMKV interprets as 'rip all titles'
  instead of 'rip title 1'. Now we pass the actual 1-based title number.
- 0-track fallback: retry info scan with normal minLength before falling
  back to RipAllTitles, so a DiscDb-enabled exhaustive scan timeout
  doesn't bypass MainFeature track selection.
- Add MarkStageComplete(Rip) to the 0-track fallback path.
- Add yellow 'Small file' warning on completed movie files under 2GB
  on both the Output list and detail pages.
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

Successfully merging this pull request may close these issues.

1 participant