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

@@ -229,6 +229,9 @@ func (c *Client) queueProcessor(tail state.ShutdownTail) {
nabarr.WithAddMonitored(c.addMonitored),
nabarr.WithSearchMissing(c.searchMissing),
}
if c.tag != "" {
opts = append(opts, nabarr.WithTag(c.tag))
}
if err := c.AddMediaItem(mediaItem, opts...); err != nil {
c.log.Error().