Add TV and movie watchlist download tags
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user