Add yt-dlp.conf #40

Closed
opened 2024-10-13 18:10:39 +01:00 by Vylpes · 0 comments
Owner
# Output format: album/tracks.format
-o "%(album,playlist_title)U/%(track_number,playlist_index)s - %(title)U.%(ext)s"
--windows-filenames
# --restrict-filenames

# Extract audio
-f bestaudio
--extract-audio
--audio-format mp3

# Thumbnail squared
--convert-thumbnails png
--ppa "ThumbnailsConvertor+ffmpeg_o:-c:v png -vf crop=\"'if(gt(ih,iw),iw,ih)':'if(gt(iw,ih),ih,iw)'\""
--embed-thumbnail

# Metadata, with playlist number as track number if the latter is missing
--embed-metadata
--parse-metadata "playlist_index:%(track_number)s"

# Misc
--no-overwrites
--concurrent-fragments 4
``` # Output format: album/tracks.format -o "%(album,playlist_title)U/%(track_number,playlist_index)s - %(title)U.%(ext)s" --windows-filenames # --restrict-filenames # Extract audio -f bestaudio --extract-audio --audio-format mp3 # Thumbnail squared --convert-thumbnails png --ppa "ThumbnailsConvertor+ffmpeg_o:-c:v png -vf crop=\"'if(gt(ih,iw),iw,ih)':'if(gt(iw,ih),ih,iw)'\"" --embed-thumbnail # Metadata, with playlist number as track number if the latter is missing --embed-metadata --parse-metadata "playlist_index:%(track_number)s" # Misc --no-overwrites --concurrent-fragments 4 ```
Sign in to join this conversation.
No labels
bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Vylpes/nixos#40
No description provided.