Show poster thumbnails in the detail panes

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 21:47:50 +02:00
co-authored by Claude Sonnet 5.5
parent ff204655d3
commit a4303ed3ca
15 changed files with 724 additions and 22 deletions
+6
View File
@@ -42,6 +42,9 @@ type App struct {
services *tview.TextView
state map[string]serviceState // keyed by service name
probes []probe
covers bool // poster thumbnails enabled
coverCache *coverCache
}
// probe checks that one service answers; it returns its version.
@@ -84,6 +87,9 @@ func New(cfg *config.Config) *App {
services: tview.NewTextView().SetDynamicColors(true).SetTextAlign(tview.AlignRight),
state: map[string]serviceState{},
covers: cfg.UI.ShowCovers(),
coverCache: newCoverCache(),
}
radarrClient := radarr.NewClient(cfg.Radarr.URL, cfg.Radarr.APIKey)