Trying to get things setup to automate my work flow a bit more. Basically the plan is to have a script with common functions, and then setup udev and other things kick off the script when I pop in a disc, etc.
Right now my normal work flow is to use makemkvcon to make a decrypted backup, and then encode after that. If I am able to get the name of an inserted disc, it makes things a lot easier to automate certain things (like the name of the final file).
What method would y'all recommend also for determining which title to encode also? That part I am still having to be very hands on with.
Also, one thing I was thinking about is stuff the backup into a iso, just so I can deal with tossing a single file between systems instead of moving the directory structure of the backups. Anyone know, what tools I would need to do that? Been a while since I've made ISOs, and it was mostly just CDs so I know a lot doesn't apply to blurays.
Getting disc name via makemkvcon and other questions for automation
-
- Posts: 2
- Joined: Thu Jan 02, 2025 9:14 pm
Re: Getting disc name via makemkvcon and other questions for automation
Hi, if you are still in need of a solution, i use in my script to get the Discs Name and UUID. I automatically create an iso of the files named like this [DiscName]_[UUID].iso to avoid overwriting existing files (i had a TV Series with 3 Discs with the same Name). I use genisoimage to generate the iso.
.
If you like you can have my script, it makes 1:1 backups of Blu-Rays an DVDs as iso. I would just need some time to translate it to English
Code: Select all
blkid /dev/sr0
Code: Select all
genisoimage -iso-level 4 -allow-lowercase -l -udf -allow-limited-size -V [DiscName] -o [outputPath] [tmpPath]/[Volumename]
If you like you can have my script, it makes 1:1 backups of Blu-Rays an DVDs as iso. I would just need some time to translate it to English
Re: Getting disc name via makemkvcon and other questions for automation
Does genisoimage create a UDF 2.5 image?
mkudffs apparently does with --udfrev=2.5, but I haven't tried it: https://github.com/pali/udftools/blob/7 ... ions.c#L89
EDIT: nevermind, I think mkudffs can only work if you read from the disc directly, not from files on the the filesystem. Maybe someone can try it and find out. Regardless I wouldn't use an ISO unless I was forced to, which is unlikely in the year 2025.
mkudffs apparently does with --udfrev=2.5, but I haven't tried it: https://github.com/pali/udftools/blob/7 ... ions.c#L89
EDIT: nevermind, I think mkudffs can only work if you read from the disc directly, not from files on the the filesystem. Maybe someone can try it and find out. Regardless I wouldn't use an ISO unless I was forced to, which is unlikely in the year 2025.