1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

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

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 {