Page 2 of 2

Re: [BETA] FileBot 4.8.5

Posted: 02 Mar 2019, 20:55
by falkyre
All is good! Thanks!
rednoah wrote: 02 Mar 2019, 17:16
falkyre wrote: 02 Mar 2019, 16:36 I was able to run one renaming yesterday but since then, I'm getting an EOFexception.
API issues should be fixed now.

Re: [BETA] FileBot 4.8.5

Posted: 05 Mar 2019, 13:27
by rednoah
olivia wrote: 05 Mar 2019, 12:31 great and wonderful
Please say something elaborate so we can check if you're a human or a robot. :lol:

Re: [BETA] FileBot 4.8.5

Posted: 06 Mar 2019, 18:38
by ByteShare
I'd guess it has something to do with touching JDK but not sure.
The issue I'm having on 4.8.5 and not on 4.8.2 is with this script:

Code: Select all

{n.replaceAll(/[?:.]+$/).replaceAll(/[`´???]/, "'").upperInitial()} {episode.special ? '00x'+special.pad(2) : s.pad(2)+'x'+es*.pad(2).join('-')} {t.replaceAll(/[?:.]+$/).replaceAll(/[`´???]/, "'").upperInitial().replacePart(', Part $1')} {" "+fn.match(/\(Part \d+/)+")"} {fn.matchAll(/Unrated|\[UR\]/)? '[UR]' : ''} {fn.matchAll(/Directors Cut|Director's Cut|\[DC]/)? '[DC]' : ''} {fn.matchAll(/Special Edition|\[SE]/)? '[SE]' : ''} {fn.matchAll(/\[(ENG|JPN|SPA|GER|RUS|CHI|ENG,JPN)\]/).toString().upper()} {fn.matchAll(/Uncut|\[UC\]/)? '[UC]' : ''} {fn.matchAll(/Remastered|\[RM\]/)? '[RM]' : ''} {fn.matchAll(/Commentary|\[Comm\]/)? '[Comm]' : ''} {fn.matchAll(/\[Rifftrax]|\[Riff]/)? '[Riff]' : ''} {fn.matchAll(/Documentary|\[Doc\]/)? '[Doc]' : ''} {fn.matchAll(/\[REd\]/)? '[REd]' : ''}{'.'+lang} 
on 4.8.2 it gives me an output like this:
Jewelpet Magical Change 00x01 Attack Chance!' Attack 1! [REd]

on 4.8.5 it just gives me this:
00x01 [REd]

I haven't had an issue with this script in a long time. I could go back and check previous version if you'd like me to.

Re: [BETA] FileBot 4.8.5

Posted: 07 Mar 2019, 04:04
by rednoah
I see. String.replaceAll(a,b) requires 2 arguments, but I guess older versions were lenient and defaulted the second argument to empty.

You can fix your format by adding the second argument or by using a different method that only requires 1 argument:

Code: Select all

{n.replaceAll(/[?:.]+$/, '')}

Code: Select all

{n.removeAll(/[?:.]+$/)}

:idea: I'll make sure it's backwards compatible for the final release, but I still recommend using one of the more exact solutions mentioned above.

Re: [BETA] FileBot 4.8.5

Posted: 07 Mar 2019, 16:08
by ByteShare
rednoah wrote: 07 Mar 2019, 04:04 You can fix your format by adding the second argument or by using a different method that only requires 1 argument:

Code: Select all

{n.replaceAll(/[?:.]+$/, '')}

Code: Select all

{n.removeAll(/[?:.]+$/)}
Tried both, and both fixed my issues. Thank you!
Would you add the removeAll function to: https://www.filebot.net/naming.html
I didn't know about that one

Re: [BETA] FileBot 4.8.5

Posted: 07 Mar 2019, 16:41
by rednoah
The website docs will be updated with the next public release.

Re: [BETA] FileBot 4.8.5

Posted: 11 Mar 2019, 21:05
by jarjar
Just want to bring your to your notice for the future, a bug if you can call it that, that I've had with every version I've used.

I use my Hi-Def TV as a computer monitor in a small apartment and it's set to the highest graphic setting which makes text hard to read, so I have set Linux Mint to enlarge the text which makes the text lists in Filebot overlap each other, so I can only see the top part of each line.

Thanks for a brilliant program by the way.

Re: [BETA] FileBot 4.8.5

Posted: 12 Mar 2019, 04:59
by rednoah
Please make a new thread and include screenshots and sysinfo output:
viewtopic.php?f=5&t=1868

Re: [BETA] FileBot 4.8.5

Posted: 25 Mar 2019, 21:00
by Djoss
The support for 7zip executable in r6221 seems to be broken.

In r6118 it was working fine:

Code: Select all

# /opt/filebot/filebot -script fn:sysinfo
FileBot 4.8.5 (r6118)
JNA Native: 5.2.2
MediaInfo: 18.08.1
p7zip: Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,12 CPUs Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz (306F2),ASM,AES-NI)
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-02-26 (r552)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_201
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 12 Core / 6 GB Max Memory / 43 MB Used Memory
OS: Linux (amd64)
HW: Linux f15cd62f2511 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 Linux
DATA: /config
Package: DOCKER
And in r6221 FileBot want to use the 7zip binding:

Code: Select all

# /opt/filebot/filebot -script fn:sysinfo
FileBot 4.8.5 (r6221)
JNA Native: 5.2.2
MediaInfo: 18.08.1
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
Chromaprint: fpcalc version 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-03-22 (r558)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_201
JVM: true-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 25 MB Used Memory
OS: Linux (amd64)
HW: Linux 3bf9a4e30a4e 4.18.20-unRAID #1 SMP Fri Nov 23 11:38:16 PST 2018 x86_64 Linux
DATA: /config
Package: DOCKER

Re: [BETA] FileBot 4.8.5

Posted: 26 Mar 2019, 03:19
by rednoah
Are you building your own docker image? Are you using the DEB package or the TAR package? Are you using your own filebot.sh with your own options? What does filebot -script fn:sysenv say?

Re: [BETA] FileBot 4.8.5

Posted: 26 Mar 2019, 10:09
by Djoss
Yes I'm building my own docker image, using the tar package. The filebot.sh used can be seen there: https://github.com/jlesage/docker-fileb ... ot/filebot

Here is the output of filebot -script fn:sysenv:

Code: Select all

# Environment Variables #
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TZ: America/New_York
APP_NAME: FileBot
USER_ID: 99
APP_USER: app
LANG: en_US.UTF-8
APP_NICE_CMD:  

KEEP_APP_RUNNING: 1
UMASK: 000
CWD: /tmp
XDG_CACHE_HOME: /config/xdg/cache
DISPLAY: :0
HOST_OS: Unraid
LD_LIBRARY_PATH: /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64:/usr/lib/jvm/java-1.8-openjdk/jre/../lib/amd64
DISPLAY_WIDTH: 1280
PWD: /tmp
XDG_DATA_HOME: /config/xdg/data
DISPLAY_HEIGHT: 768
XDG_CONFIG_HOME: /config/xdg/config
GROUP_ID: 100
GNOME_DESKTOP_SESSION_ID: this-is-deprecated
S6_BEHAVIOUR_IF_STAGE2_FAILS: 3
HOSTNAME: 3bf9a4e30a4e
LC_ALL: en_US.UTF-8
S6_SERVICE_DEPS: 1
XDG_RUNTIME_DIR: /tmp/run/user/app
SECURE_CONNECTION: 0
HOME: 

SHLVL: 1


# Java System Properties #
java.vendor: Oracle Corporation
sun.java.launcher: SUN_STANDARD
sun.management.compiler: HotSpot 64-Bit Tiered Compilers
os.name: Linux
sun.boot.class.path: /usr/share/java/jna.jar:/usr/lib/jvm/java-1.8-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-1.8-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-1.8-openjdk/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-1.8-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8-openjdk/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8-openjdk/jre/classes
prism.order: sw
net.filebot.util.prefs.file: /config/prefs.properties
grape.root: /config/grape
sun.desktop: gnome
java.vm.specification.vendor: Oracle Corporation
java.runtime.version: 1.8.0_201-b08
useExtendedFileAttributes: true
user.name: root
application.update: skip
user.language: en
sun.boot.library.path: /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64
jna.nosys: false
application.deployment: docker
net.filebot.license: /config/license.psm
java.version: 1.8.0_201
user.timezone: 
sun.arch.data.model: 64
java.endorsed.dirs: /usr/lib/jvm/java-1.8-openjdk/jre/lib/endorsed
sun.net.client.defaultConnectTimeout: 10000
sun.cpu.isalist: 
sun.jnu.encoding: UTF-8
file.encoding.pkg: sun.io
unixfs: false
file.separator: /
java.specification.name: Java Platform API Specification
java.class.version: 52.0
user.country: US
jna.boot.library.path: /usr/lib
java.home: /usr/lib/jvm/java-1.8-openjdk/jre
useCreationDate: false
java.vm.info: mixed mode
os.version: 4.18.20-unRAID
useGVFS: false
path.separator: :
java.vm.version: 25.201-b08
java.util.prefs.PreferencesFactory: net.filebot.util.prefs.FilePreferencesFactory
java.awt.printerjob: sun.print.PSPrinterJob
sun.io.unicode.encoding: UnicodeLittle
awt.toolkit: sun.awt.X11.XToolkit
application.dir: /config
jna.library.path: /usr/lib
http.agent: FileBot/4.8.5
net.filebot.media.parser: libmediainfo
prism.verbose: true
user.home: /config
java.specification.vendor: Oracle Corporation
java.library.path: /usr/lib
java.vendor.url: http://java.oracle.com/
java.vm.vendor: Oracle Corporation
net.filebot.Archive.extractor: SevenZipExecutable
java.runtime.name: OpenJDK Runtime Environment
sun.java.command: /opt/filebot/jar/filebot.jar -script fn:sysenv
java.class.path: /opt/filebot/jar/filebot.jar
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.version: 1.8
sun.cpu.endian: little
sun.os.patch.level: unknown
java.io.tmpdir: /config/tmp
java.vendor.url.bug: http://bugreport.sun.com/bugreport/
swing.crossplatformlaf: javax.swing.plaf.nimbus.NimbusLookAndFeel
os.arch: amd64
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.ext.dirs: /usr/lib/jvm/java-1.8-openjdk/jre/lib/ext:/usr/java/packages/lib/ext
user.dir: /tmp
awt.useSystemAAFontSettings: on
line.separator: 

java.vm.name: OpenJDK 64-Bit Server VM
java.net.useSystemProxies: false
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
file.encoding: UTF-8
sun.net.client.defaultReadTimeout: 60000
jna.nounpack: true
java.specification.version: 1.8
application.cache: /config/cache


# Arguments #
args[0] = -script
args[1] = fn:sysenv


Done ヾ(@⌒ー⌒@)ノ

Re: [BETA] FileBot 4.8.5

Posted: 26 Mar 2019, 12:03
by rednoah
I see. You'll need to update your options according the latest filebot.sh since a few things have changed. Note that modifying filebot.sh is generally a bad idea. I recommend using the default filebot.sh and passing additional customizations via the FILEBOT_OPTS environment variable if necessary.

Re: [BETA] FileBot 4.8.5

Posted: 26 Mar 2019, 12:38
by Djoss
Thanks for the tips. I compared the options passed in the latest filebot.sh and saw that the name and value of the archive extractor option changed.

I guess this post should be updated to reflect the latest changes: viewtopic.php?t=6311

Re: [BETA] FileBot 4.8.5

Posted: 26 Mar 2019, 12:40
by rednoah
Good catch. Will do.

Re: [BETA] FileBot 4.8.5

Posted: 31 Mar 2019, 02:34
by stevezau
Will this be released as a deb to..

Code: Select all

deb [arch=amd64] https://get.filebot.net/deb/ stable main
Thanks!

Re: [BETA] FileBot 4.8.5

Posted: 31 Mar 2019, 03:51
by rednoah
Yes, all package repositories will be updated once there is a final release. FileBot 4.8.5 is currently still in beta.


EDIT:

Public release is scheduled for this week, unless something comes up.

Re: [BETA] FileBot 4.8.5

Posted: 31 Mar 2019, 17:52
by Segarra
Hello, it's possible to install that version on Synology, I have 4.8.2 and I cant update?
Thanks

Re: [BETA] FileBot 4.8.5

Posted: 31 Mar 2019, 18:23
by erki
Just download the SPK file from the link in first post and do a manually install in the package manager.
Segarra wrote: 31 Mar 2019, 17:52 Hello, it's possible to install that version on Synology, I have 4.8.2 and I cant update?
Thanks

Re: [BETA] FileBot 4.8.5

Posted: 01 Apr 2019, 10:35
by Segarra
erki wrote: 31 Mar 2019, 18:23 Just download the SPK file from the link in first post and do a manually install in the package manager.
Segarra wrote: 31 Mar 2019, 17:52 Hello, it's possible to install that version on Synology, I have 4.8.2 and I cant update?
Thanks
Great, thanks