database64128 / youtube-dl-wpf

A simple GUI wrapper for youtube-dl and yt-dlp.
GNU General Public License v3.0
871 stars 68 forks source link

options download playlist (--playlist-start --playlist-end) #165

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi, my name is Luigi write from Italy.. I would like to know how to use --playlist-start and --playlist-end commands.

Best regards.

database64128 commented 1 year ago

--playlist-start and --playlist-end are CLI options, not commands. You can add these to the argument list in the main interface, or create a custom preset with these arguments.

database64128 commented 1 year ago

It is also possible to use --playlist-items with a range. Would it be more convenient for you if I add this to the GUI?

ghost commented 1 year ago

My screen shot ? how to use cli options?? image

ghost commented 1 year ago

My normal execute .. yt-dlp renamed youtube-dl.exe: PS G:\Youtube> & "D:\Apps\youtube-dl\youtube-dl.exe" -f 299+140 -o "%(uploader)s - %(playlist)s/%(title)s.%(ext)s" --playlist-end 25 -i https://www.youtube.com/playlist?list=PLP5MAKLy8lP9FUx06-avV66mS8LXz7_Bb [youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=PLP5MAKLy8lP9FUx06-avV66mS8LXz7_Bb [youtube:tab] PLP5MAKLy8lP9FUx06-avV66mS8LXz7_Bb: Downloading webpage [youtube:tab] PLP5MAKLy8lP9FUx06-avV66mS8LXz7_Bb: Redownloading playlist API JSON with unavailable videos [download] Downloading playlist: Corso Javascript Completo 2023 [youtube:tab] Playlist Corso Javascript Completo 2023: Downloading 25 items of 43 [download] Downloading item 1 of 25

database64128 commented 1 year ago

--playlist-end and 25 are two separate arguments. You need to add them separately.

ghost commented 1 year ago

ok, problem solved .. thanks

database64128 commented 1 year ago

Support for --playlist-items has been added in 05777f534b70e8ca6c496681f0ef96b0cb8fcf5c.

database64128 commented 1 year ago

v1.12.0 is out with the new feature.