Series drill-down: mark downloading episodes and seasons

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 22:30:14 +02:00
co-authored by Claude Opus 5.5
parent 45e8daaa71
commit 0fcc5fb7fa
10 changed files with 161 additions and 40 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ def sonarr(path, q):
return {"records": [
{"id": 7, "title": "Signal.Fire.S03E05.1080p.WEB-DL.DDP5.1.H.264-NTb", "status": "downloading", "trackedDownloadStatus": "ok",
"trackedDownloadState": "downloading", "size": 2.1 * GB, "sizeleft": 1.3 * GB, "timeleft": "00:01:40", "downloadClient": "SABnzbd",
"downloadId": "SABnzbd_nzo_a2", "protocol": "usenet", "seriesId": 1, "series": {"title": "Signal Fire"},
"downloadId": "SABnzbd_nzo_a2", "protocol": "usenet", "seriesId": 1, "episodeId": 1021, "series": {"title": "Signal Fire"},
"episode": {"seasonNumber": 3, "episodeNumber": 5, "title": "Ember"}}]}
if path.endswith("/calendar"):
out = []