From 7c2af867b0a8f3288bbf9480de5d24d0d76f74cb Mon Sep 17 00:00:00 2001 From: Matt Burchett Date: Tue, 20 Nov 2018 14:23:03 -0600 Subject: [PATCH] test --- pkg/eraser/eraser.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/eraser/eraser.go b/pkg/eraser/eraser.go index 48befa6..afe99e6 100644 --- a/pkg/eraser/eraser.go +++ b/pkg/eraser/eraser.go @@ -77,7 +77,9 @@ func LookupTVFileLocation(config config.Config, ids []int) []string { plexTV := plexModel.Video for _, i := range plexTV { - if !sliceutil.Contains(fileList, i.Media.Part.File) { + if sliceutil.Contains(fileList, i.Media.Part.File) { + fmt.Println("Already exists.") + } else { fileList = append(fileList, filepath.Dir(filepath.Dir(i.Media.Part.File))) } }