This commit is contained in:
Gregory Salaun 2023-12-17 17:47:40 +07:00
parent 50f1a502a4
commit 4bcce5108c

View File

@ -90,9 +90,15 @@ func main() {
return
}
mkvCount := 0
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)
}
}