Added option to profile form

This commit is contained in:
Kieran Eglin 2024-03-19 13:28:39 -07:00
parent 750bec81fa
commit 9af03f2402
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -208,7 +208,9 @@
</h3> </h3>
<p class="text-sm mt-2 max-w-prose"> <p class="text-sm mt-2 max-w-prose">
Everything in this section is experimental - please open a GitHub issue if you see something odd. Everything in this section is experimental - please open a GitHub issue if you see something odd.
<strong>
These options only work if this Media Profile's output template is set to split media into seasons. These options only work if this Media Profile's output template is set to split media into seasons.
</strong>
Try the "Media Center" preset if you're not sure. Try the "Media Center" preset if you're not sure.
</p> </p>
@ -226,6 +228,16 @@
/> />
</section> </section>
<section x-data="{ presets: { default: false, media_center: true, audio: false, archiving: true } }">
<.input
field={f[:download_source_images]}
type="toggle"
label="Download Series Images"
help="Downloads poster and banner images for use with Jellyfin, Kodi, etc. Only works for full channels (not playlists)"
x-init="$watch('selectedPreset', p => p && (enabled = presets[p]))"
/>
</section>
<.button class="my-10 sm:mb-7.5 w-full sm:w-auto">Save Media profile</.button> <.button class="my-10 sm:mb-7.5 w-full sm:w-auto">Save Media profile</.button>
</section> </section>