update
This commit is contained in:
parent
bd24a5e91a
commit
44c84f0dc3
@ -26,9 +26,13 @@ func (r *RadarrMovie) IsInFolder() {
|
||||
dir, _ := path.Split(r.SourceFolder)
|
||||
|
||||
for _, p := range folderList {
|
||||
log.Println(p)
|
||||
if p == dir {
|
||||
r.InFolder = true
|
||||
log.Printf("Movie %v is in a Folder\n", r.SourceFolder)
|
||||
} else {
|
||||
r.InFolder = false
|
||||
log.Printf("Movie %v is not in a Folder\n", r.SourceFolder)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user