Make String.stripReleaseInfo() available in scripting context

@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3976#p22318
This commit is contained in:
Reinhard Pointner 2016-07-25 17:40:26 +08:00
parent b2a7c24ae7
commit 231ffcf096
1 changed files with 4 additions and 0 deletions

View File

@ -279,6 +279,10 @@ public class ScriptShellMethods {
return Normalization.normalizePunctuation(self);
}
public static String stripReleaseInfo(String self) {
return MediaDetection.stripReleaseInfo(self, false);
}
// Web and File IO helpers
public static ByteBuffer fetch(URL self) throws IOException {