0.2.76 - Icon Packs

This commit is contained in:
ponzischeme89
2026-08-18 14:59:29 +12:00
parent 36d171e51b
commit 8c847c59b8
70 changed files with 5267 additions and 673 deletions
+11
View File
@@ -131,6 +131,15 @@ type Config struct {
// touching the five-day schedule row.
SonarrAlertWindow time.Duration
// SonarrWebhookToken guards the Sonarr import/upgrade/rename/delete webhook. Empty
// means the hook 404s, the stance the Radarr one takes.
SonarrWebhookToken string
// IngestSettleDelay is how long after a webhook the gateway first looks for the file
// in Emby. Sonarr fires the moment it has moved the file into place and Emby has not
// scanned it yet, so asking immediately spends a request to learn nothing.
IngestSettleDelay time.Duration
// Radarr is optional. Its calendar supplies the five-day digital movie release row.
RadarrURL string
RadarrAPIKey string
@@ -247,6 +256,8 @@ func Load() (Config, error) {
SonarrAPIKey: strings.TrimSpace(os.Getenv("MEMBY_SONARR_API_KEY")),
SonarrTTL: duration("MEMBY_SONARR_TTL", 5*time.Minute),
SonarrAlertWindow: duration("MEMBY_SONARR_ALERT_WINDOW", 3*time.Hour),
SonarrWebhookToken: strings.TrimSpace(os.Getenv("MEMBY_SONARR_WEBHOOK_TOKEN")),
IngestSettleDelay: duration("MEMBY_ARR_INGEST_SETTLE", time.Minute),
RadarrURL: strings.TrimRight(strings.TrimSpace(os.Getenv("MEMBY_RADARR_URL")), "/"),
RadarrAPIKey: strings.TrimSpace(os.Getenv("MEMBY_RADARR_API_KEY")),
RadarrTTL: duration("MEMBY_RADARR_TTL", 5*time.Minute),