2012-07-11 16:39:39 -04:00
|
|
|
// filebot -script "fn:sysinfo"
|
2012-05-14 15:15:22 -04:00
|
|
|
|
|
|
|
// FileBot 2.62 (r993)
|
|
|
|
println net.sourceforge.filebot.Settings.applicationIdentifier
|
|
|
|
|
|
|
|
// MediaInfo: MediaInfoLib - v0.7.48
|
|
|
|
try {
|
|
|
|
print 'MediaInfo: '
|
|
|
|
println net.sourceforge.filebot.mediainfo.MediaInfo.version()
|
|
|
|
} catch(error) {
|
|
|
|
println error.cause
|
|
|
|
}
|
|
|
|
|
|
|
|
// 7-Zip-JBinding: OK
|
|
|
|
try {
|
|
|
|
print '7-Zip-JBinding: '
|
2012-08-13 04:03:11 -04:00
|
|
|
net.sourceforge.filebot.archive.SevenZipLoader.requireNativeLibraries() // load 7-Zip-JBinding native libs
|
2012-05-14 15:15:22 -04:00
|
|
|
println "OK"
|
|
|
|
} catch(Throwable error) {
|
|
|
|
println error
|
|
|
|
}
|
|
|
|
|
|
|
|
// Java(TM) SE Runtime Environment 1.6.0_30 (headless)
|
|
|
|
println net.sourceforge.filebot.Settings.javaRuntimeIdentifier
|
|
|
|
|
|
|
|
// 32-bit Java HotSpot(TM) Client VM
|
|
|
|
println String.format('%d-bit %s', com.sun.jna.Platform.is64Bit() ? 64 : 32, _system['java.vm.name'])
|
|
|
|
|
|
|
|
// Windows 7 (x86)
|
|
|
|
println String.format('%s (%s)', _system['os.name'], _system['os.arch'])
|