Library: mark titles that are downloading
While the Library is visible it reads the Radarr and Sonarr queues (on opening, every 10 s, and shortly after a grab) and matches them to the titles by movieId / seriesId. Those titles get a blue dot instead of the green or grey one, and their details say how far the download is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -270,6 +270,9 @@ func (v *releasesView) doGrab(r arr.Release) {
|
||||
}
|
||||
v.app.SetMessage("[green]Sent to the download client: " + tview.Escape(truncate(r.Title, 60)))
|
||||
v.app.closeIfTop(v.root) // done here: back to where the search started
|
||||
for _, f := range v.app.afterGrab {
|
||||
time.AfterFunc(3*time.Second, func() { v.app.post(f) })
|
||||
}
|
||||
})
|
||||
}()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user