murrty / youtube-dl-gui

Download/Convert videos from websites without needing to learn command line
GNU General Public License v3.0
423 stars 45 forks source link

[Request] CLI argument support, download path button on the "home" tab and upon start select last used arguments #167

Open iG8R opened 1 year ago

iG8R commented 1 year ago

Hi.

Thank you so much for such a great app. Could you, please, implement the following features:

  1. It would be very convenient to pass arguments (URL, custom arguments) from external sources to youtube-dl-gui via command line, e.g. there is an addon for Firefox called "Open with...", it can pass the URL to external applications for opening or for any other actions with it. In this way it would be possible to use youtube-dl-gui to download the video the user liked. Why does somebody need it while they can use native yt-dlp? This is all in order to be able to choose a destination folder where to save your favorite video(playlist). From that comes the second request:
  2. Please add the download path button to the "home" tab, as it is convenient to have this function at hand and not make tedious movements every time you need to select a different download folder. Also, please make it so that youtube-dl-gui remembers the last download folder when the user opens the dialog to select a new one.
  3. Also, it would be great if youtube-dl-gui selects the last used custom argument immediately after start, because at the moment, if there is only one custom argument in the list, youtube-dl-gui somehow shows an empty text field after start, if there are 2 or more, it uses the first since the beginning of using the app saved custom argument.
murrty commented 1 year ago

Hi.

  1. youtube-dl-gui does support using a browser protocol ytdlgui. By default, you have to specify what kind of download it is along with the protocol, ytdlgui:v http://... where v is can be a or c (video, audio custom respectively). I don't have much documentation available on it because I don't think it's fully ready for use out of the box, plus I haven't figured out how to make a UserScript for YouTube, and I think it suffers from a problem where the space between the type identifier and the URL is replaced with %20 (the byte code for a space). I already know a way to fix it, but the implementation is going to be a bit.
  2. I can consider it, but I can't think of a solution that won't be intrusive at the moment.
  3. Custom arguments needs an overhaul, but it's not on my priority list.

I don't know when I'm going to resume work on this project, I'm working on another application and it's taking more time to theorize and write it than I'd hope, in addition to taking a lot of energy.

iG8R commented 1 year ago

Thank you so much for your work.

  1. Could you, please, elaborate a little how could I reproduce URL pass from a browser to youtube-dl-gui? Is there any manual? I tried to use it, e.g. ytdlgui:v https://vk.com/video-24440848_456240578, from the Firefox address bar but it only opens as a search request, and as the command from the "Open with..." addon with nothing happening.
  2. IMHO, it'll be not intrusive in this manner: youtube-dl-gui-PathButton-2023-01-02_174559
  3. Thank you, they work for now though, so it's really not in the upper place of the list.