mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-07-03 04:23:59 +03:00
readme: update :)
This commit is contained in:
@@ -47,7 +47,8 @@ Create/edit `config/yt-playlist-config.json`:
|
||||
|
||||
`max_download_quality`:
|
||||
|
||||
- Limits yt-dlp download quality (e.g. `"1080p"`, `"720p"`). This only affects the downloaded video format selection.
|
||||
- Limits yt-dlp download quality (e.g. `"1080p"`, `"720p"`, `"360p"`). This only affects the downloaded video format selection.
|
||||
- If the requested max quality isn't available for a video, the best available quality is chosen.
|
||||
|
||||
`download_mode`:
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ class Downloader:
|
||||
|
||||
cap = parse_height_cap(max_download_quality)
|
||||
if cap is not None:
|
||||
#if the requested cap isn't available, we still download the best mp4.
|
||||
return f"best[ext=mp4][acodec!=none][vcodec!=none][height<={cap}]/best[ext=mp4][height<={cap}]/best[ext=mp4]"
|
||||
return "best[ext=mp4][acodec!=none][vcodec!=none]/best[ext=mp4]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user