From f42ee95b8b836efee3d5e0f3498ad102c34ca3f9 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Wed, 10 Apr 2024 08:49:44 -0700 Subject: [PATCH] Added to UI and README --- README.md | 2 ++ .../media_profile_html/media_profile_form.html.heex | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index bdf24a5..0b0a10c 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,8 @@ If it doesn't work for your use case, please make a feature request! You can als - Supports downloading audio content - Custom rules for handling YouTube Shorts and livestreams - Apprise support for notifications +- Allows automatically redownloading new media after a set period + - This can help improve the download quality of new content or improve SponsorBlock tags - Optionally automatically delete old content ([docs](https://github.com/kieraneglin/pinchflat/wiki/Automatically-Delete-Media)) - Advanced options like setting cutoff dates and filtering by title - Reliable hands-off operation diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex index 36d99cc..78a6c5f 100644 --- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex +++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex @@ -203,6 +203,17 @@ /> +
+ <.input + field={f[:redownload_delay_days]} + type="number" + label="Redownload Delay (days)" + min="0" + help="Delay in days until new media is redownloaded. Redownloading new media can improve its quality or SponsorBlock tags. Leave blank to not redownload" + x-init="$watch('selectedPreset', p => p && ($el.value = presets[p]))" + /> +
+

Media Center Options