automatic-ripping-machine: MakeMKV failed with code: 2 (DVD ejects a few minutes after insertion)
- I have checked the wiki
- I have searched for similar issues
Describe the bug
I installed ARM via the docker-setup.sh
script and followed the instructions to run the container with the provided script. It starts and I am able to interact with the web interface. When I insert a DVD, the job starts but after a few minutes, when the ripping process begins, the DVD makes some noises and then ejects the disk with the error below. I tried different DVDs but it’s the same for each of them.
Any ideas?
To Reproduce Steps to reproduce the behavior:
- Follow docker installation instructions
- Instert DVD
Environment
[OS Distribution and version (run “cat /etc/lsb-release”)] Debian 11
[ARM Release Version or if cloning from git branch/commit (run “git branch” and “git log -1” to get this)]
“latest” Docker images: automaticrippingmachine/automatic-ripping-machine latest cde3a25b2c07 5 weeks ago 1.59GB
ARM Git version: 47b8e540b555e1cfc1287a5a49a4f032476bfa8d
Log file
[Run the rip in DEBUG and drag and drop the log file onto this comment box]
[>>>>> DRAG AND DROP LOG FILE HERE <<<<<] ANGELS_SHARE.log
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (5 by maintainers)
It seems you are correct, and it seems that MakeMKV might have changed how they returned their data for the disc number and the parser is failing to properly catch the correct disc number.
The issue seems to stem from this https://github.com/automatic-ripping-machine/automatic-ripping-machine/blob/614268c59deb8feaa5ace4ef2848ed2ffb814d44/arm/ripper/makemkv.py#L42-L49
Which returns this as the variable mdisc
0 3;5GO"
When it should return
0
So we may need to add a regex at line 47 to remove anything with a whitespace
EDIT: I check the revision history for MakeMKV, there has been changes to DVD processing, but I’m not sure if they have affected this or if it was already a bug that existed. https://www.makemkv.com/download/history.html