# yt-dlp configuration

# Parallel fragment download
--concurrent-fragments 4

# Only ASCII characters in filename
--restrict-filenames

# File format
-t mp4

# Subtitles
--sub-lang "en.*"
--write-subs
--embed-subs
--compat-options no-keep-subs

# Metadata
--embed-thumbnail
--embed-metadata
--embed-chapters
--embed-info-json

# Sponsorblock
--sponsorblock-mark all
--sponsorblock-remove sponsor

# Quality
-S "res:1080"

# Playlist download
--alias playlist '-o "%(playlist_index)s-%(title)s.%(ext)s" --yes-playlist'

# Music download
--alias music '-f 140 --no-embed-metadata --no-embed-info-json --no-embed-thumbnail --no-embed-subs --no-write-subs --no-write-auto-subs --no-embed-chapters --sponsorblock-mark -all --sponsorblock-remove music_offtopic'
