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
2024-02-20 18:40:13 -08:00
committed by GitHub
parent af7e76c1d1
commit 1ec1a48235
12 changed files with 185 additions and 57 deletions
@@ -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