test
This commit is contained in:
parent
b86a80b001
commit
7c2af867b0
@ -77,7 +77,9 @@ func LookupTVFileLocation(config config.Config, ids []int) []string {
|
|||||||
plexTV := plexModel.Video
|
plexTV := plexModel.Video
|
||||||
|
|
||||||
for _, i := range plexTV {
|
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)))
|
fileList = append(fileList, filepath.Dir(filepath.Dir(i.Media.Part.File)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user