Skip to content

Commit bb869e7

Browse files
committed
fix: sonarr requires tv libraries
1 parent 77d871c commit bb869e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/plexarr/pvr.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func getPvr(name string, cfg config, libraries []plexLibraryItem) (plexarr.Pvr,
4040

4141
// validate all libraries are series
4242
for _, lib := range libraries {
43-
if lib.Type != plexarr.MovieLibrary {
43+
if lib.Type != plexarr.TvLibrary {
4444
return nil, errors.New("sonarr only supports tv libraries")
4545
}
4646
}

0 commit comments

Comments
 (0)