From 73dec3785716b2aba2e61f1c119f04a79a5c78e2 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Wed, 14 Aug 2024 08:54:52 -0700 Subject: [PATCH] Added cookies to the source form --- .../controllers/sources/source_html/source_form.html.heex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex b/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex index 409b328..92b6ef0 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex +++ b/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex @@ -86,6 +86,13 @@ help="Unchecking still indexes media but it won't be downloaded until you enable this option" /> + <.input + field={f[:use_cookies]} + type="toggle" + label="Use Cookies for Downloading" + help="Uses your YouTube cookies when downloading (if configured). Good for downloading private playlists. See docs for setup notes" + /> + <.input field={f[:download_cutoff_date]} type="text"