Very Simple Front End for Yt-dlp

This is a very, very simple GUI and there are others floating around the are much more elaborate. This does what I needed it to do, and, it works for me - that's really all I know.

This was a fun project I did with ChatGPT. I really didn't know what ChatGPT could do...that it had capabilites of this kind. Anyway, I still know nothing about coding and I knew damned near nothing about ChatGPT when I started. I just had a simple bash script that I used, from a command line on Linux, to somewhat simplify using Yt-dlp. I uploaded it to ChatGPT, just goofing around, and asked if it could help me make a graphical front end for the thing - which it did!

By the way I had a batch script for Windows and made a similar GUI for Windows. Anyway, ChatGPT produced the python code to build my simple GUIs.

How To Install, etc

First, I have only tried running this on Linux Mint Cinnamon edition. I have no idea how it would work - or fail to work - on Mint Mate or Mint Xfce. If anyone else wanted to use this it's pretty simple. Just download a .zip file, chmod the INSTALL.script executable (chmod 777 INSTALL.script) and run ./INSTALL.script (or, heck, just run ./IN* - use a wildcard..that works). The install script just copies a few harmless files around your computer. During the install, on Mint 21 and Mint 22, it does change permissions on your /usr/local/bin folder (to 777). The first time you run the GUI and hit the update button these get reset to 755 when the update is complete. This is not required on Mint 20 due to looser, defult permissions.

So installing is super simple: Just download the .zip file and unarchive the thing anywhere. Open a terminal, navigate to the unarchived folder, and type:

chmod 777 INSTALL.script
./INSTALL*
This is what the install file does - and it ain't much:

Random notes

Why the option to choose between YouTube and other sites?

Working from my very simple bash script ChatGPT produced a GUI that worked with YouTube but failed with some other sites - Daily Motion, Rumble, etc. It managed to figure out what was wrong and said it had to strip out some characters in some URLs to make everything work on those other sites. Afraid of breaking the funcionality, altogether, I suggested we use this new processing as an alternative - hence the toggle buttons for YouTube and other sites. One or the other should absolutely work for supported sites and perhaps I should have made the second option the default and simplified the GUI - I dunno.

Why the option force English language in audio?