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

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@sh.itjust.works 2 points 5 months ago

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@sh.itjust.works 2 points 5 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.

[-] WilliamsStark@sh.itjust.works 3 points 5 months ago* (last edited 5 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.

[-] WilliamsStark@sh.itjust.works 29 points 5 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.

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)

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

This mouse model was made decades ago for the time when would come the chosen one. The scroll master. He's here to equilibrate the world with his scroll powers. Zoom in, zoom out. Volume up, volume down. Everything is possible, with, THE. DOUBLE. SCROLL. WHEEL.

[-] WilliamsStark@sh.itjust.works 4 points 7 months ago

Ok, so if it's the new standard then I should go with Kotlin. By boilerplate, do you mean a part of the code that makes java a little too heavy?

52

I wanted to learn how to make an android app and it seems to be pushing to use Kotlin (official tutorial). I thought I was going to use Java (that I know). So I'm a little lost.
Is it really better with Kotlin than Java? Is it a good investment to learn Kotlin?

I just want to be able to make android app for myself and maybe it could drive me somewhere at some point professionnally. I have a web dev formation.

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

"Better looking drivers!"

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

Nice to see an Arrested Development meme.

[-] WilliamsStark@sh.itjust.works 3 points 9 months ago

I know. And you'll see, it's crazy when they get to activate the 8th chevron of the stargate.

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

I'm exactly like this.

view more: next ›

WilliamsStark

joined 9 months ago