ytdl-sub/config.yaml
2022-04-23 08:04:47 +00:00

75 lines
No EOL
2.2 KiB
YAML

# ytdl-sub needs a temporary place to download files. Choose that path here
configuration:
working_directory: 'tmp'
presets:
soundcloud_with_id3_tags:
soundcloud:
download_strategy: "albums_and_singles"
skip_premiere_tracks: True
ytdl_options:
format: 'bestaudio[ext=mp3]'
output_options:
output_directory: "/tmp/{sanitized_artist}"
file_name: "[{album_year}] {sanitized_album}/{track_number_padded} - {sanitized_title}.{ext}"
thumbnail_name: "[{album_year}] {sanitized_album}/folder.jpg"
maintain_download_archive: True
convert_thumbnail:
to: "jpg"
music_tags:
tags:
artist: "{artist}"
albumartist: "{artist}"
title: "{title}"
album: "{album}"
tracknumber: "{track_number}"
year: "{album_year}"
genre: "{genre}"
music_videos:
youtube:
ytdl_options:
ignoreerrors: True
output_options:
file_name: "{sanitized_artist} - {sanitized_title}.{ext}"
thumbnail_name: "{sanitized_artist} - {sanitized_title}.jpg"
convert_thumbnail:
to: "jpg"
nfo_tags:
nfo_name: "{sanitized_artist} - {sanitized_title}.nfo"
nfo_root: "musicvideo"
tags:
artist: "{artist}"
title: "{title}"
album: "Music Videos"
year: "{upload_year}"
yt_channel:
youtube:
download_strategy: "channel"
channel_avatar_path: "poster.jpg"
channel_banner_path: "fanart.jpg"
ytdl_options:
ignoreerrors: True
output_options:
file_name: "{output_file_name}.{ext}"
thumbnail_name: "{output_file_name}.jpg"
convert_thumbnail:
to: "jpg"
nfo_tags:
nfo_name: "{output_file_name}.nfo"
nfo_root: "episodedetails"
tags:
title: "{title}"
season: "{upload_year}"
episode: "{upload_month}{upload_day_padded}"
plot: "{description}"
year: "{upload_year}"
aired: "{upload_date_standardized}"
output_directory_nfo_tags:
nfo_name: "tvshow.nfo"
nfo_root: "tvshow"
tags:
title: "{tv_show_name}"
overrides:
output_file_name: "Season {upload_year}/s{upload_year}.e{upload_month_padded}{upload_day_padded} - {sanitized_title}"