389

Now I don't have to : right-click > english audio and right-click > french subtitle. It launches every video of the season ready to go. It was worth it, right?
Now it's time to enjoy my day. Oh wait! (it's 6 am here)

you are viewing a single comment's thread
view the rest of the comments
[-] flambonkscious@sh.itjust.works 26 points 8 months ago

Share your code? (Or is it like mine, and shameful)

[-] WilliamsStark@sh.itjust.works 29 points 8 months ago

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.

[-] ryannathans@aussie.zone 16 points 8 months ago

Or you could just post it and then fix it up later

[-] WilliamsStark@sh.itjust.works 1 points 8 months ago* (last edited 8 months ago)

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.

[-] ipkpjersi@lemmy.ml 1 points 8 months ago* (last edited 8 months ago)

Why not share it and then let others comment it? Something like that should work.

[-] WilliamsStark@sh.itjust.works 2 points 8 months ago

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.

[-] ipkpjersi@lemmy.ml 2 points 8 months ago

Nice, thanks for sharing :)

[-] WilliamsStark@sh.itjust.works 3 points 8 months ago* (last edited 8 months ago)

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.

this post was submitted on 10 Mar 2024
389 points (98.0% liked)

Memes

45553 readers
836 users here now

Rules:

  1. Be civil and nice.
  2. 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