1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 23:05:03 -05: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); return Normalization.normalizePunctuation(self);
} }
public static String stripReleaseInfo(String self) {
return MediaDetection.stripReleaseInfo(self, false);
}
// Web and File IO helpers // Web and File IO helpers
public static ByteBuffer fetch(URL self) throws IOException { public static ByteBuffer fetch(URL self) throws IOException {