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:

  • -h is now much more simple, to see full help use -H
  • -f to repackage to another container format, or -F to force re-encoding video content with a codec to any other format
  • -s and -b will operate on sponsors only, and -S and -B on complete list of SponsorBlock segments
  • similarly -e and -d will only embed and download only a few extra metadata and files, -E and -D does all extra files and data
  • new -R will download and name files in reverse order, with index starting at 1 for the bottom file, useful for playlists who add newest entry to top
  • by default all file names are simplified and sanitized a little bit, even if no option -r (for very strict) is used

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/ytdl
cd ytdl
chmod +x ytdl
./ytdl -h
  • lol@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I think when you rename a project on GitHub, all links to the old repository (including issues, wiki etc.) will be redirected to the new name, so it shouldn’t cause any issues, if that’s what you’re worried about.

    IMHO, keeping the executable name as it is doesn’t make much sense, especially if you’re going to rename everything else and the plan is to alias it anyway.

    I’m always annoyed when I install some-cli-tool and then have to go on a hunt because the binary isn’t also called some-cli-tool, but sc-t or something. I’d be doubly annoyed if sc-t was actually a wrapper for scd-t and both of them now lived in my PATH, meaning I’d now have to always remember which cryptic name is the one I actually want.

    • thingsiplay@beehaw.orgOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      5 months ago

      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.