[BUGFIX] Fix MINLENGTH for track.process#1302
[BUGFIX] Fix MINLENGTH for track.process#1302microtechno9000 merged 7 commits intoautomatic-ripping-machine:mainfrom
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 detailsDefaultSTAR_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 elseNothing happens in the web GUI after inserting disc Original Pull requestSTAR_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. |
|
This is now out of date with the codebase, please update. |
This does two things: 1. Enables listing of tracks <120s for 'manual mode' (otherwise track listing only shows >120s per makemkv defaults) 2. Adds MINLENGTH to track ripping (otherwise tracks <120s fail to rip per makemkv defaults)
|
From your testing it looks like the patch is resolving the assumed/expected behavior. Agree manual issues are outside the scope of the PR, but the initial commits appeared to break it. Although your testing proved otherwise, cheers for that. |
|
6716ad7
into
automatic-ripping-machine:main







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