remove sample
This commit is contained in:
parent
02c511b1eb
commit
eb48408b4d
@ -169,6 +169,9 @@ func main() {
|
|||||||
if filepath.Base(v.Name()) == "sample.mkv" {
|
if filepath.Base(v.Name()) == "sample.mkv" {
|
||||||
os.Remove(m.SourceFolder + "/" + v.Name())
|
os.Remove(m.SourceFolder + "/" + v.Name())
|
||||||
}
|
}
|
||||||
|
if _, err = os.Stat(m.SourceFolder + "/Sample"); !os.IsNotExist(err) {
|
||||||
|
os.Remove(m.SourceFolder + "/Sample")
|
||||||
|
}
|
||||||
if filepath.Ext(v.Name()) == ".mkv" {
|
if filepath.Ext(v.Name()) == ".mkv" {
|
||||||
mkvCount += 1
|
mkvCount += 1
|
||||||
} else {
|
} else {
|
||||||
|
@ -9,3 +9,4 @@ general:
|
|||||||
- Series
|
- Series
|
||||||
- 4K-Series
|
- 4K-Series
|
||||||
- Kids
|
- Kids
|
||||||
|
- Animes
|
Loading…
x
Reference in New Issue
Block a user