mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-10 06:20:27 -04:00
* also clear reports folder created by amc script
This commit is contained in:
parent
84e4140b54
commit
5011546e71
@ -97,7 +97,7 @@ public class Main {
|
||||
// clear preferences and cache
|
||||
System.out.println("Clear cache and temporary files");
|
||||
for (File folder : getApplicationFolder().getAbsoluteFile().listFiles(FOLDERS)) {
|
||||
if (matches("cache|temp|grape|logs", folder.getName())) {
|
||||
if (matches("cache|temp|grape|reports|logs", folder.getName())) {
|
||||
if (delete(folder)) {
|
||||
System.out.println("* Delete " + folder);
|
||||
}
|
||||
|
@ -217,6 +217,10 @@ def isEpisode(path, strict = true) {
|
||||
return MediaDetection.isEpisode(input, strict)
|
||||
}
|
||||
|
||||
def isStructureRoot(path) {
|
||||
return MediaDetection.isStructureRoot(path as File)
|
||||
}
|
||||
|
||||
def guessMovieFolder(File path) {
|
||||
return MediaDetection.guessMovieFolder(path)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user