diff --git a/source/net/filebot/MediaTypes.properties b/source/net/filebot/MediaTypes.properties index 7531ea52..f991f56e 100644 --- a/source/net/filebot/MediaTypes.properties +++ b/source/net/filebot/MediaTypes.properties @@ -48,5 +48,5 @@ subtitle/SAMI: smi sami subtitle/WebVTT: vtt subtitle/VobSub: vobsub sub idx -image/jpg: jpg jpeg +image/jpg: jpg jpeg tbn image/png: png diff --git a/source/net/filebot/cli/ScriptShellMethods.java b/source/net/filebot/cli/ScriptShellMethods.java index 42ce0857..3c82326b 100644 --- a/source/net/filebot/cli/ScriptShellMethods.java +++ b/source/net/filebot/cli/ScriptShellMethods.java @@ -104,6 +104,10 @@ public class ScriptShellMethods { return ARCHIVE_FILES.accept(self); } + public static boolean isImage(File self) { + return IMAGE_FILES.accept(self); + } + public static boolean isDisk(File self) { // check disk folder if (self.isDirectory() && MediaDetection.isDiskFolder(self)) {