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

5
cache/cache.go vendored
View File

@@ -6,9 +6,10 @@ import (
"time"
"github.com/dgraph-io/badger/v3"
"github.com/l3uddz/nabarr/logger"
"github.com/lefelys/state"
"github.com/rs/zerolog"
"github.com/l3uddz/nabarr/logger"
)
type Client struct {
@@ -26,7 +27,7 @@ func New(path string) (*Client, error) {
return nil, fmt.Errorf("open: %w", err)
}
log := logger.New("").With().Logger()
log := logger.Child()
// start cleaner
st, tail := state.WithShutdown()