Ok - I'm chugging away nicely with my set-up:
On insert of a DVD, I've got an AppleScript which runs - this calls the
Batch Rip (Finder) workflow to kick off ripping the DVD (using MakeMKV).
However, I'm now working on multi-drive simultaneous ripping. I can see that I might run in to a problem.
Whilst ripping with MakeMKV, the Batch Rip workflow creates a temporary mkv file named after the title number of the feature being ripped.
For example, I currently have two discs ripping, one with Title 0 as the main feature, and the other with Title 6. So, in my Batch Rip folder I now have two temp mkv's named:
title00.mkv and
title06.mkv
Now, what happens when I have two DVDs whose main titles are the same title number?
Will MakeMKV handle this automatically, or will the two simultaneous rips (of the same title number) try to overwrite each other?
If it's the latter, is there anything that could be changed in the Batch Rip action that could work around this?
Thanks,
Chris
EDIT: Bah. Answered my own question -- they both try to rip to the same file:
Code:
Minerva:~ chris$ lsof | grep title
makemkvco 55717 chris 14u REG 14,2 187564032 2885958 /Users/chris/Movies/Batch Rip Movies/title00.mkv
makemkvco 56041 chris 14u REG 14,2 186777600 2885958 /Users/chris/Movies/Batch Rip Movies/title00.mkv
Can the Batch Rip action be tweaked to provide a random (or otherwise) output filename to
makemkvcon? I see the current command line for makemkvcon is:
Code:
chris 55717 5.2 14.0 791132 585280 ?? U 12:33am 0:35.18 /Applications/MakeMKV.app/Contents/MacOS/makemkvcon mkv --messages=-null --progress=/tmp/batchRip-55222/HannibalRising2007/0-makemkv.txt disc:1 0 /Users/chris/Movies/Batch Rip Movies
chris 56041 2.8 13.2 791628 554188 ?? U 12:33am 0:20.72 /Applications/MakeMKV.app/Contents/MacOS/makemkvcon mkv --messages=-null --progress=/tmp/batchRip-55480/BigTroubleinLittleChina1986/0-makemkv.txt disc:0 0 /Users/chris/Movies/Batch Rip Movies
... perhaps the Batch Rip action could amend this command line to use different output names?
Also, I've noticed that there's a problem with automatically ejecting the discs when multi-drive ripping. The first disc that completes cannot be ejected. It un-mounts from the desktop but does not eject. Disk Utility, when used to manually eject the disc, reports that it's in-use. However,
lsof doesn't show anything accessing the drive. Very odd!