Add toggle for automatic MusicGPT polling in settings
This commit is contained in:
parent
77cd712f10
commit
2ec73dee0f
3 changed files with 46 additions and 3 deletions
|
|
@ -359,6 +359,19 @@
|
|||
</label>
|
||||
<button type="submit">Save Album Cover Setting</button>
|
||||
</form>
|
||||
|
||||
<hr style="border:none;border-top:1px solid var(--border);margin:1.5rem 0;">
|
||||
|
||||
<h3>Automatic MusicGPT Polling</h3>
|
||||
<p class="copy-hint">When enabled, the site automatically polls MusicGPT every few minutes and downloads MP3/WAV files once they are ready.</p>
|
||||
<form method="POST">
|
||||
<input type="hidden" name="action" value="save_musicgpt_autopoll">
|
||||
<label for="musicgpt_autopoll" style="display:flex;align-items:center;gap:.5rem;cursor:pointer;">
|
||||
<input type="checkbox" id="musicgpt_autopoll" name="musicgpt_autopoll" value="1" {% if musicgpt_autopoll %}checked{% endif %} style="width:auto;margin:0">
|
||||
Enable automatic MusicGPT polling
|
||||
</label>
|
||||
<button type="submit">Save Auto-Poll Setting</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- Email / SMTP configuration -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue