fix(daemon): park vanished grabs instead of re-grabbing
Overrides #86: removing a torrent by hand in Transmission is human intent, not a gap to refill. Clear `wanted` and mark the target `parked` (a new movies/episodes state) rather than reopening it as `missing`, so neither targeted search nor RSS matching pick it back up. Blacklist stays untouched, since the release never failed policy. Closes #108
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"db_name": "SQLite",
|
||||
"query": "UPDATE episodes\n SET wanted = 0, state = 'parked',\n updated_at = strftime('%Y-%m-%dT%H:%M:%fZ', 'now')\n WHERE season_id = ? AND state = 'downloading'\n AND NOT EXISTS (\n SELECT 1 FROM media_files f\n WHERE f.owner_kind = 'episode' AND f.owner_id = episodes.id\n )",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Right": 1
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "9bb48bc6c67150cbbfeaf8542c4060a9bc45698f0fe482a0c2136263cf12a4d3"
|
||||
}
|
||||
Reference in New Issue
Block a user