u
This commit is contained in:
parent
6c7e6ac06e
commit
74b881ae78
@ -25,7 +25,7 @@ type SonarrSerie struct {
|
|||||||
func (r *RadarrMovie) IsInFolder() {
|
func (r *RadarrMovie) IsInFolder() {
|
||||||
folderList := []string{"Movies", "4K-Movies"}
|
folderList := []string{"Movies", "4K-Movies"}
|
||||||
dir, _ := path.Split(r.SourceFolder)
|
dir, _ := path.Split(r.SourceFolder)
|
||||||
|
log.Println(dir)
|
||||||
ContainsFolder := slices.Contains(folderList, dir)
|
ContainsFolder := slices.Contains(folderList, dir)
|
||||||
|
|
||||||
if ContainsFolder {
|
if ContainsFolder {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user