WilliamsStark

joined 1 year ago
[–] WilliamsStark@sh.itjust.works 2 points 8 months ago

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.

[–] WilliamsStark@sh.itjust.works 1 points 8 months ago (1 children)

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

[–] WilliamsStark@sh.itjust.works 2 points 8 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 1 points 8 months ago

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@sh.itjust.works 2 points 8 months ago (2 children)

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 1 points 8 months ago (3 children)

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@sh.itjust.works 2 points 8 months ago (1 children)

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 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.

[–] WilliamsStark@sh.itjust.works 1 points 8 months ago (1 children)

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

[–] 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.

 

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)

 

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.

view more: next ›