diff options
author | max.bra | 2016-03-13 13:28:01 +0100 |
---|---|---|
committer | max.bra | 2016-03-13 13:28:01 +0100 |
commit | 4359a6b1bb9b0451406998b393d5de18ab92ab33 (patch) | |
tree | cd1e8e83d2adeac8c8c07636ae765f8e8a0d62ab /filebot-arch.sh | |
parent | 7fe75c1b551690162d1f8ac2e1655405abc4388e (diff) | |
download | aur-4359a6b1bb9b0451406998b393d5de18ab92ab33.tar.gz |
several adjustments from upstream (e.g. Apache common VFS is now used for archives), corrected optional 7zip java binding not loaded
Diffstat (limited to 'filebot-arch.sh')
-rw-r--r-- | filebot-arch.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/filebot-arch.sh b/filebot-arch.sh index 322c25d9e76c..9b8f2e649d2f 100644 --- a/filebot-arch.sh +++ b/filebot-arch.sh @@ -1,3 +1,12 @@ #!/bin/bash -java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Dfile.encoding=UTF-8 -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=aur -Dapplication.update=skip -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/usr/share/java/filebot -Djava.library.path=/usr/share/java/filebot -jar /usr/share/java/filebot/filebot.jar "$@" +# force JVM language and encoding settings +export LANG="en_US.UTF-8" +export LC_ALL="en_US.UTF-8" + +# FileBot settings +# EXTRACTOR="SevenZipNativeBindings" # use the lib7-Zip-JBinding.so native library +# EXTRACTOR="SevenZipExecutable" # use the 7z executable +EXTRACTOR="ApacheVFS" # use Apache Commons VFS2 with junrar plugin + +java $JAVA_OPTS -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Dfile.encoding="UTF-8" -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=aur -Dapplication.update=skip -Dnet.filebot.Archive.extractor="$EXTRACTOR" -Dnet.filebot.AcoustID.fpcalc="fpcalc" -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=/tmp/.filebot -Djna.library.path=/usr/share/java -jar /usr/share/java/filebot/filebot.jar "$@" |