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)

    • WilliamsStarkOP
      link
      fedilink
      arrow-up
      29
      ·
      10 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.

        • WilliamsStarkOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          10 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
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        10 months ago

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

        • WilliamsStarkOP
          link
          fedilink
          arrow-up
          2
          ·
          10 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.

    • WilliamsStarkOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      10 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.