Notify completed downloads and finish watchlist entries
This commit is contained in:
@@ -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 = ?,
|
||||
|
||||
Reference in New Issue
Block a user