Add tag support to Sonarr/Radarr requests

This commit is contained in:
WSHaRK93
2026-01-03 11:07:48 +01:00
parent 083e806d43
commit 4e09b14318
8 changed files with 93 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ type Client struct {
// options
searchMissing bool
addMonitored bool
tag string
apiURL string
apiHeaders map[string]string
@@ -77,6 +78,7 @@ func New(c nabarr.PvrConfig, mode string, m *media.Client, cc *cache.Client) (*C
rootFolder: c.RootFolder,
searchMissing: util.BoolOrDefault(c.Options.SearchMissing, true),
addMonitored: util.BoolOrDefault(c.Options.AddMonitored, true),
tag: c.Tag,
cache: cc,
cacheTempDuration: c.CacheDuration,