Show poster thumbnails in the detail panes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user