Refactor and document output path (#28)

* Updated output path builder to better use yt-dlp variables

* Added UI explaining output template options

* Fixed outdated reference in dockerfile
This commit is contained in:
Kieran authored and GitHub committed 2024-02-20 13:40:13 -08:00
1 parent 7d62f7c7df
commit 47f0fd533f
12 files changed
+185 -57

No files matched your search

@@ -28,4 +28,21 @@ defmodule PinchflatWeb.MediaProfiles.MediaProfileHTML do
{"360p", "360p"}
]
end
def custom_output_template_options do
~w(upload_day upload_month upload_year)a
end
def common_output_template_options do
~w(
id
ext
title
fulltitle
uploader
channel
upload_date
duration_string
)a
end
end