Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

WilliamsStark

@WilliamsStark@sh.itjust.works

This profile is from a federated server and may be incomplete. Browse more on the original instance.

WilliamsStark OP ,

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.

WilliamsStark OP , (edited )

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.

WilliamsStark OP ,

Thanks but I'm on Windows. But I'll keep it if I settle on Linux someday.

WilliamsStark OP , (edited )

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.

WilliamsStark OP ,

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.

WilliamsStark OP ,

Exactly!

WilliamsStark OP ,

I think you're talking about the licence and for the moment I didn't have time to think about what licences I should use and primarly what are the licences existing.

WilliamsStark OP ,

That's what I already did. And finding the good mkvpropedit command was long.
But here I wanted to automate that and just having to choose the audio and subtitles languages and it executes the mkvpropedit command.

WilliamsStark OP ,

Yes, and VLC respects the default and forced flags of the tracks, unlike MPC. But I'm so used to MPC and I prefer it.

WilliamsStark OP ,

I wanted to do it myself, learn and getting used to dev things again. AI are often wrong on some details but I used it sometimes and it can help a lot for parts of code or understanding some things.

WilliamsStark OP ,

Ok, thanks. I'll note this. I have to begin to understand this if I want to put some code online more "seriously".

WilliamsStark OP ,

Thank you very much. It's nice to hear it. I have to say that it's very satisfaying to have a "complete" script with clean code and comments.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • incremental_games
  • meta
  • All magazines