t
This commit is contained in:
parent
50f1a502a4
commit
4bcce5108c
@ -90,9 +90,15 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mkvCount := 0
|
||||||
|
|
||||||
for _, v := range files {
|
for _, v := range files {
|
||||||
log.Println(v.Name())
|
log.Println("Found file: " + v.Name())
|
||||||
|
if filepath.Ext(v.Name()) == ".mkv" {
|
||||||
|
mkvCount += 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
log.Printf("Found %v MKV files in the folder", mkvCount)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user