feat: respect pvr exclusions (#37)

This commit is contained in:
l3uddz
2022-04-14 16:18:06 +01:00
committed by GitHub
parent 2468d5b251
commit 79507adb4a
32 changed files with 321 additions and 99 deletions

View File

@@ -3,11 +3,12 @@ package media
import (
"fmt"
"github.com/rs/zerolog"
"github.com/l3uddz/nabarr/logger"
"github.com/l3uddz/nabarr/media/omdb"
"github.com/l3uddz/nabarr/media/trakt"
"github.com/l3uddz/nabarr/media/tvdb"
"github.com/rs/zerolog"
)
type Client struct {
@@ -29,6 +30,6 @@ func New(cfg *Config) (*Client, error) {
omdb: omdb.New(&cfg.Omdb),
tvdb: tvdb.New(&cfg.Tvdb),
log: logger.New(cfg.Verbosity).With().Logger(),
log: logger.Child(logger.WithLevel(cfg.Verbosity)),
}, nil
}