Added yt-dlp options for year formatting (#188)

This commit is contained in:
Kieran
2024-04-16 16:54:55 -07:00
committed by GitHub
parent b2e5e9b880
commit 4721957875
2 changed files with 9 additions and 2 deletions
@@ -42,8 +42,14 @@ defmodule Pinchflat.Downloading.DownloadOptionBuilder do
end
defp default_options do
# Add force-overwrites to make sure redownloading works
[:no_progress, :windows_filenames, :force_overwrites]
[
:no_progress,
:windows_filenames,
# Add force-overwrites to make sure redownloading works
:force_overwrites,
# This makes the date metadata conform to what jellyfin expects
parse_metadata: "%(upload_date>%Y-%m-%d)s:(?P<meta_date>.+)"
]
end
defp subtitle_options(media_profile) do