Notify completed downloads and finish watchlist entries

This commit is contained in:
Dymas
2026-05-21 19:36:39 +02:00
parent bb4983c928
commit 9d4baea057
7 changed files with 115 additions and 10 deletions
+2 -1
View File
@@ -1480,7 +1480,7 @@ class WatchlistStore:
conn.execute(
"""
UPDATE watchlist
SET downloaded = 1, status = 'queued', status_message = ?, updated_at = ?
SET category = 'finished', downloaded = 1, status = 'queued', status_message = ?, updated_at = ?
WHERE show_id = ?
""",
("Queued refresh after successful download.", now, normalized_show_id),
@@ -1496,6 +1496,7 @@ class WatchlistStore:
SET
show_id = ?,
title = ?,
category = 'finished',
downloaded = 1,
status = 'queued',
status_message = ?,