1
0
mirror of https://github.com/darkzoul5/YoutubePlaylistSync.git synced 2026-07-04 04:53:58 +03:00

readme: update :)

This commit is contained in:
2026-05-16 16:14:57 +03:00
parent 98fab7838a
commit b17913e21b
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ Create/edit `config/yt-playlist-config.json`:
`max_download_quality`: `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`: `download_mode`:
+1
View File
@@ -36,6 +36,7 @@ class Downloader:
cap = parse_height_cap(max_download_quality) cap = parse_height_cap(max_download_quality)
if cap is not None: 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 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]" return "best[ext=mp4][acodec!=none][vcodec!=none]/best[ext=mp4]"