Screenshots: downloading titles in the Library
The fake queues carry movieId / seriesId, so their titles are marked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -111,11 +111,11 @@ def radarr(path, q):
|
||||
return {"records": [
|
||||
{"id": 1, "title": "Iron.Meridian.2021.2160p.WEB-DL.DDP5.1.Atmos.HDR.H.265-FLUX", "status": "downloading", "trackedDownloadStatus": "ok",
|
||||
"trackedDownloadState": "downloading", "size": 21.9 * GB, "sizeleft": 7.2 * GB, "timeleft": "00:06:12", "downloadClient": "SABnzbd",
|
||||
"downloadId": "SABnzbd_nzo_a1", "protocol": "usenet", "movie": {"title": "Iron Meridian", "year": 2021}},
|
||||
"downloadId": "SABnzbd_nzo_a1", "protocol": "usenet", "movieId": 3, "movie": {"title": "Iron Meridian", "year": 2021}},
|
||||
{"id": 2, "title": "Static.2018.1080p.BluRay.x264-AMIABLE", "status": "completed", "trackedDownloadStatus": "warning",
|
||||
"trackedDownloadState": "importBlocked", "size": 6.0 * GB, "sizeleft": 0, "timeleft": "", "downloadClient": "SABnzbd",
|
||||
"downloadId": "SABnzbd_nzo_h3", "protocol": "usenet", "statusMessages": [{"title": "Static.2018.1080p", "messages": ["Not an upgrade for existing movie file"]}],
|
||||
"movie": {"title": "Static", "year": 2018}}]}
|
||||
"movieId": 10, "movie": {"title": "Static", "year": 2018}}]}
|
||||
if path.endswith("/calendar"):
|
||||
out = []
|
||||
for off, mid, kind in [(1, 9, "digitalRelease"), (5, 15, "inCinemas"), (9, 4, "physicalRelease")]:
|
||||
@@ -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", "series": {"title": "Signal Fire"},
|
||||
"downloadId": "SABnzbd_nzo_a2", "protocol": "usenet", "seriesId": 1, "series": {"title": "Signal Fire"},
|
||||
"episode": {"seasonNumber": 3, "episodeNumber": 5, "title": "Ember"}}]}
|
||||
if path.endswith("/calendar"):
|
||||
out = []
|
||||
|
||||
Reference in New Issue
Block a user