TV Show Fix #6

Merged
mattburchett merged 17 commits from matt/#2 into master 2018-11-20 23:08:30 +00:00
Showing only changes of commit b86a80b001 - Show all commits

View File

@ -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)))
}
}