diff --git a/pkg/eraser/eraser.go b/pkg/eraser/eraser.go index e080559..48befa6 100644 --- a/pkg/eraser/eraser.go +++ b/pkg/eraser/eraser.go @@ -77,7 +77,7 @@ func LookupTVFileLocation(config config.Config, ids []int) []string { plexTV := plexModel.Video for _, i := range plexTV { - if !sliceutil.Contains(fileList, i) { + if !sliceutil.Contains(fileList, i.Media.Part.File) { fileList = append(fileList, filepath.Dir(filepath.Dir(i.Media.Part.File))) } }