-
Notifications
You must be signed in to change notification settings - Fork 392
[BUGFIX] Fix MINLENGTH for track.process #1302
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
base: main
Are you sure you want to change the base?
Conversation
|
I'm not sure this is the correct fix for this, see my comment in the bug report. |
After further discussion this seems to be correct and currently the only way. |
Is there anything else needed on this before it can be merged? |
sorry been out sick over the past few weeks Initial look seems ok, will review and get back to you soon |
Thanks for contributing to ARM, please address the comment against the modified code. Reach out if there are any issues |
Is this request directed at me? |
|
Just checking in, anything I can do to help move this along? |
Sorry didnt see your earlier message I made a comment against the code changed. There is an issue with the implementation for some jobs, when using manual mode. |
I can see this perspective, however my experience was that the opposite problem occurred:
Sorry but this request is a bit out of my skill range. |
|
SummaryThere is no demerit to this patch. Regarding the primary concern (copied from comment still pending):
Response 1 to this concern: Response 2 to this concern: Please review carefully because I may have made a mistake. But as far as I can tell there is simply no reason to hold back this patch and continue with the current broken implementation. I agree that there is further room for improvement regarding Manual mode, but it is outside the scope of this Pull request which is for a quick and simple regression fix. Regarding the if/else proposal from @tjdavey: I tested this today, but unfortunately a rip does not start at all. Testing detailsDefault
STAR_TREK_GENERATIONS.log
Result: tracks less than minlength are not presented (same as with Pull request patch) STAR_TREK_GENERATIONS_174951004361.log
Result: Additional tracks are presented (same as with Pull request patch) Selected only track 23 (90 sec) Result: wrong track ripped STAR_TREK_GENERATIONS_174951096112.log Result: wrong track ripped (exceeds maxlength) if else
Nothing happens in the web GUI after inserting disc
Original Pull request
STAR_TREK_GENERATIONS_174956691969.log
Result: tracks less than minlength are not presented (same as without Pull request patch) STAR_TREK_GENERATIONS_174956712310.log
Result: Additional tracks are presented (same as without Pull request patch) Selected only track 23 (90 sec) Result: correct track ripped STAR_TREK_GENERATIONS_174956771199.log Result: correct track ripped |
Hello, To recap my previous comment, I do not believe there are any problems with this PR. |
Description
Commit d087730 removed MINLENGTH from being passed to makemkv for single track.
As a result, makemkv would use default of 120s for such conditions.
If the user specifies MINLENGTH <120s, unexpected behavior occurs, such as jobs erroring out and jobs finishing without the desired titles.
I don't know if there is any particular reason for the original removal, so please confirm whether there is some case I haven't considered. But it resolved the issue in my testing.
Fixes #1299
Type of change
How Has This Been Tested?
Ripped DVD with settings:
Drive Mode auto
MINLENGTH 55
MAXLENGTH 75
RIPMETHOD mkv
MAINFEATURE False
Ubuntu 22.04.5
A.R.M version: 2.10.5
Current git version: 1ce96f3
Checklist:
Changelog:
Logs
Schoolhouse_Rock_Disc2_173899117509.log