Add TV and movie watchlist download tags

This commit is contained in:
Dymas
2026-05-25 16:53:24 +02:00
parent 1487257bed
commit 139d7d9e2f
10 changed files with 197 additions and 23 deletions
+8
View File
@@ -365,6 +365,12 @@ INDEX_HTML = r"""<!doctype html>
<option value="dropped">Dropped</option>
</select>
</label>
<label style="min-width: 160px;">Media type
<select id="trackMediaType">
<option value="tv">TV</option>
<option value="movie">Movie</option>
</select>
</label>
<button class="ghost" id="trackBtn" type="button" disabled>Add to watchlist</button>
<button class="primary" id="addBtn" type="button" disabled>Add to queue</button>
</div>
@@ -517,6 +523,7 @@ INDEX_HTML = r"""<!doctype html>
show_id: state.selected.id,
title: state.selected.title,
category: $("trackCategory").value,
media_type: $("trackMediaType").value,
auto_download_series: $("seasonInput").value || "1"
})
});
@@ -533,6 +540,7 @@ INDEX_HTML = r"""<!doctype html>
query: state.selected.query,
title: state.selected.title,
anime_name: $("animeNameInput").value || state.selected.title,
media_type: $("trackMediaType").value,
season: $("seasonInput").value || "1",
index: state.selected.index,
mode: state.config.mode,