yt-dlp-lemon: Simple wrapper to yt-dlp with only a subset of options. (github.com)
from thingsiplay@beehaw.org to linux@lemmy.ml on 31 May 19:24
https://beehaw.org/post/14162316

Project name is changed from “ytdl” to “yt-dlp-lemon”, after user “lol” in the comments convinced me. Thank you for the suggestion! Remember to change the directory name at ~/.local/share/ytdl to ~/.local/share/yt-dlp-lemon .


The terror continues…

10 days ago I posted the initial version of this script. Since then lot of changed and added. Here some of those changes since v0.1:

My goal is to make the usage of yt-dlp itself easier with this script, without the need to study help, the manual and to write a configuration file and a script. And you don’t need to test it with various sources. It does not everything what yt-dlp offers, but most of the stuff in the way I like it.

git clone https://github.com/thingsiplay/yt-dlp-lemon
cd yt-dlp-lemon
chmod +x yt-dlp-lemon
./yt-dlp-lemon -h

Output from simple help:

$ yt-dlp-lemon -h
yt-dlp-lemon [options] [url...]

Simple wrapper to yt-dlp with only a subset of options.

options:
-h                show help and exit
-H                show all options, notes and exit
-m HEIGHT         max height
-f FORMAT         repack format
-I                no ignore file
-s                add chapter marks + recognize sponsors
-b                remove sponsored segments
-c                split file by chapters
-p                playlist mode
-a                audio mode
-d                download description files
-e                embed meta and chapters
-q                show filepath only
-x                skip download

Copyright © 2024 Tuncay D. https://github.com/thingsiplay/yt-dlp-lemon

#linux

threaded - newest

[deleted] on 01 Jun 14:39 collapse

.

thingsiplay@beehaw.org on 01 Jun 15:11 collapse

That’s actually a good point, one that I made myself over other projects in the past. Guess I did not think through this entire thing. The script itself is kind of like what an alias means to be, a shorter and simple alias to a more complex command that already exist. In fact it started and got evolved from that. The script is not a project on its own like yt-dlp being independent from youtube-dl. But I admit this is a bad excuse.

I would like to keep the simple and short to remember ytdl executable name. And if anyone wants to, can still rename it to something else when installing. On the other hand the project title and how it is referred to as has ambiguity to it. Changing the readme and some descriptions and titles is not a big deal (in this early stage), but changing the path to the project comes at a huge cost, meaning the Github link.

[deleted] on 01 Jun 15:46 collapse

.

thingsiplay@beehaw.org on 01 Jun 16:05 collapse

You are 100% and completely convinced me. Right now I’m in the process of renaming the project and decided to rename the executable too. All your points are on point and is something I would probably say about other projects as well.

As for why I was reluctant to change project name was not only the Github links, in example in the executable and documentation of older version people downloaded. But also the default ignore file I am using with the script, that is created and read/written at “~/.local/share/ytdl” . It will probably annoy people who already downloaded and using it; and I hate that its doing it. But better I do it now that later.

So thank you for this suggestion and explanation.

Edit: I’m going with yt-dlp-lemon , as in easy peasy, lemon squeezy. Probably not as descriptive as you hoped for, but I don’t think this is bad.