this post was submitted on 10 Mar 2024
387 points (97.5% liked)
Memes
45750 readers
1498 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Share your code? (Or is it like mine, and shameful)
I could but I would have to comment it a little more. If I don't forget I'll share it later in response of your message.
Or you could just post it and then fix it up later
I know but I didn't feel completely at ease to share some mildly clean code. Now it's good. I put it in the comments.
Why not share it and then let others comment it? Something like that should work.
I know but I didn't fell completely at ease to share some mildly clean code. Now it's good. I put it in the comments.
Nice, thanks for sharing :)
Here it is. I took the time to comment it well and rearrange some things.
It's in 2 files :
https://pastebin.com/FQ7xqNSt
https://pastebin.com/6S3qesWc
Keep the file names I chose when copy/pasting. Read the loop file to see how to use it quickly.
I forgot to say in the loop script’s quick explanations that you need mkvmerge and mkvpropedit from MKVToolNix (put it in the PATH variable if needed) and nodejs to make that script work.