[BETA] FileBot 4.8.5

All your suggestions, requests and ideas for future development
Post Reply
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[BETA] FileBot 4.8.5

Post by rednoah »

FileBot 4.8.5
• Port to OpenJDK 11 / OpenJFX 11
• Improved syntax highlighting for format expressions
• Improved support for rare SxE patterns (i.e. S1-01)
• Added {kodi} binding (i.e. Kodi naming standard)
• Added {ci} binding (i.e. movie collection index)
• Match {source}, {group}, {tags} and {s3d} from {media.title}
Move to Trash action in Filter tools (e.g. batch delete clutter files)
Paste License Key button to simplify license activation for users who can't receive email attachments (i.e. some email providers block *.psm attachments)
• Built-in Automator Workflows for macOS (i.e. easily create Quick Actions and Folder actions)
• Fix UI deadlock issues on Linux
• Fix drag-n-drop issues on Linux / KDE / Dolphin
• Support for 7z an unrar executables on Linux
• Support for xattr on FreeBSD / OpenBSD / NetBSD
• Support for writing xattr metadata to plain text files (i.e. improved support for rclone and gdfs)
• Support for a Dark Mode Look-and-Feel
• Fix various mediainfo / archive extract issues on QNAP NAS (especially on x86_64 devices)
• New 32-bit Windows packages (i.e. x86 msi installer)
• New multi-arch Debian packages (i.e. support armhf and aarch64 for Raspberry Pi devices or ARM-based servers)
• New multi-arch Fedora / openSUSE / CentOS packages (i.e. RPM packages)
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

Feedback much appreciated. :)
:idea: Please read the FAQ and How to Request Help.
skbharman
Donor
Posts: 4
Joined: 29 Jul 2017, 09:57

Re: [BETA] FileBot 4.8.5

Post by skbharman »

Hmm... I seem to get an error when installing on an Ubuntu 18.04 headless. Version 4.8.2 works flawlessly, but when I try running 4.8.5 it looks like this:

Code: Select all

$ filebot
Error: LinkageError occurred while loading main class net.filebot.Main
        java.lang.UnsupportedClassVersionError: net/filebot/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 54.0
Here’s some additional info:
  • With 4.8.2 I was using Oracle Java 8 (from https://launchpad.net/~webupd8team/+archive/ubuntu/java). Since 4.8.5 required openjdk-11-jre I uninstalled Oracle Java and installed openjdk-11-jre instead, and got the error message above the very first time I tried to run filebot.
  • I tried installing openjdk-11-jre and filebot 4.8.5 on another machine with a fresh install of Ubuntu 18.04 (with no previous Java or filebot installs) with the same result.
  • Reverting to filebot 4.8.2 works with both openjdk-11-jre and Oracle Java 8.
Please let me know if I can provide you with any additional information.
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

What does java -version say? The error strongly suggests that Java 11 is either not installed or not being used for some reasons.

You may try the new *_universal-jdk8.deb package, which requires only Java 8 and thus should work just fine right away on your machine:
https://get.filebot.net/filebot/FileBot ... l-jdk8.deb
:idea: Please read the FAQ and How to Request Help.
skbharman
Donor
Posts: 4
Joined: 29 Jul 2017, 09:57

Re: [BETA] FileBot 4.8.5

Post by skbharman »

openjdk-11-jre:

Code: Select all

$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
and

Code: Select all

$ apt show openjdk-11-jre
Package: openjdk-11-jre
Version: 10.0.2+13-1ubuntu0.18.04.4
Which, of course, seems a bit funny.

But: I installed Oracle Java 11 (from https://launchpad.net/~linuxuprising/+a ... buntu/java) instead, and lo and behold: 4.8.5 works! Thanks!
skbharman
Donor
Posts: 4
Joined: 29 Jul 2017, 09:57

Re: [BETA] FileBot 4.8.5

Post by skbharman »

I might have found another thing that is problematic with 4.8.5 on an Ubuntu 18.04 server: it seems to remove the file creation date when moving files.

With 4.8.2, I can rename and move files from e.g.

Code: Select all

-rw-rw-r-- 1 name name 1,9G jan  2 03:04 Star.Trek.The.Next.Generation.S01E03.mkv
To

Code: Select all

-rw-rw-r-- 1 name name 1,9G jan  2 03:04 Star.Trek.The.Next.Generation.S01E03.The.Naked.Now.720p.AVC.AAC.mkv
But when I’m using 4.8.5 the renamed file gets a creation date from jan 1 1970:

Code: Select all

-rw-rw-r-- 1 name name 1,9G jan  1  1970 Star.Trek.The.Next.Generation.S01E03.The.Naked.Now.720p.AVC.AAC.mkv
I haven't touched filebot.sh, so both 4.8.2 and 4.8.5 gets invoked with

Code: Select all

-DuseExtendedFileAttributes=true -DuseCreationDate=false
But the file creation date is only kept with 4.8.2

In both cases filebot was executed with the following options:

Code: Select all

--encoding UTF-8 --action move --conflict auto -rename -non-strict -no-xattr
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

Oh shit, good catch! The latest revision does indeed try to modify the last modified date, but make sure source / destination file have the exact same last modified date after processing... which is a problem if the source file has already been moved, and thus doesn't have a last modified date. Ups. Will be fixed ASAP. :oops:
:idea: Please read the FAQ and How to Request Help.
skbharman
Donor
Posts: 4
Joined: 29 Jul 2017, 09:57

Re: [BETA] FileBot 4.8.5

Post by skbharman »

FYI: I just tested the latest jar (with commit d15a25064484f526501cae63371160fb7627d1d8) and it preserves the file date now. I’m happy again!
panoz
Posts: 1
Joined: 05 Jan 2019, 23:26

Re: [BETA] FileBot 4.8.5

Post by panoz »

how to pm , to get my license resent?
gladvanadium
Posts: 1
Joined: 17 Jan 2019, 12:21

Re: [BETA] FileBot 4.8.5

Post by gladvanadium »

Fine Thanks
hmont
Posts: 1
Joined: 09 Feb 2019, 16:15

Re: [BETA] FileBot 4.8.5

Post by hmont »

FileBot 4.8.5 and also 4.8.1 crash all the time when trying to "Fetch & Match data" for example "Café Society" the movie
Data source: TheMovieDB (Movie Mode) also verified with OMDb

Code: Select all

Process:               filebot.launcher [2662]
Path:                  /Applications/FileBot.app/Contents/MacOS/filebot.launcher
Identifier:            net.filebot.FileBot.pkg
Version:               4.8.5 (6064)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           filebot.launcher [2662]
User ID:               501

Date/Time:             2019-02-09 11:31:52.122 -0500
OS Version:            Mac OS X 10.14.3 (18D42)
Report Version:        12
Anonymous UUID:        XXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Time Awake Since Boot: 28000 seconds

System Integrity Protection: enabled

Crashed Thread:        56  Java: C2 CompilerThread1

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000078
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x78:
--> 
    __TEXT                 000000010937c000-0000000109384000 [   32K] r-x/rwx SM=COW  /Applications/FileBot.app/Contents/MacOS/filebot.launcher

Application Specific Information:
abort() called
What should I do to resolve the issue? and why is this happening? Thanks
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

Please run filebot -script fn:sysinfo and post the output.

Unfortunately, this crash log doesn't tell us much, so I have no idea why it doesn't work on your machine, or how to fix it. You could try things, like using the CLI instead of the GUI, trying things on a different computer, etc, to maybe narrow things down.
:idea: Please read the FAQ and How to Request Help.
vincen
Posts: 34
Joined: 12 Sep 2017, 07:25

Re: [BETA] FileBot 4.8.5

Post by vincen »

Just wanted to share it's best release (unless it's beta) of Filebot I have never used ;) No more hangup on popups, start each time without problems....
Very nice work @rednoah ;)
sjestus
Posts: 1
Joined: 21 Feb 2019, 00:48

Re: [BETA] FileBot 4.8.5

Post by sjestus »

Oh wow, thanks
pois
Posts: 8
Joined: 19 Feb 2019, 23:16

Re: [BETA] FileBot 4.8.5

Post by pois »

Hello,

New to filebot, I'm starting from scratch with this version. Sounds really useful, I say sound because I cannot run it yet against my media library.

So just started setting up filebot within a docker container running on a raspberry pi 3 model B.

Code: Select all

// host
# uname -a
Linux raspberry 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
// container
# uname -a
Linux 9201b8d3eca6 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
First attempt using official docker image, issue seems to not be a multi arch docker image

Code: Select all

# docker run -it rednoah/filebot -script fn:sysinfo
...
Status: Downloaded newer image for rednoah/filebot:latest
standard_init_linux.go:207: exec user process caused "exec format error"
So I went into creating my own image based on balenalib/raspberry-pi:buster, used for other running containers within the raspberry without problems.

Second attempt with debian package, but fails to update the apt

Code: Select all

# apt-key adv --fetch-keys https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub
# apt-get update
Ign:1 https://get.filebot.net/deb stable InRelease
Get:2 https://get.filebot.net/deb stable Release [1,175 B]
Hit:3 http://archive.raspbian.org/raspbian buster InRelease
Get:4 https://get.filebot.net/deb stable Release.gpg [587 B]
Err:4 https://get.filebot.net/deb stable Release.gpg
  Signed file isn't valid, got 'NODATA' (does the network require authentication?)
Reading package lists... Done
E: GPG error: https://get.filebot.net/deb stable Release: Signed file isn't valid, got 'NODATA' (does the network require authentication?)
# apt-get install filebot
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package filebot
Third attempt was with the portable filebot, I installed same packages as in the filebot dockerfile

Code: Select all

# wget https://get.filebot.net/filebot/FileBot_4.8.5/FileBot_4.8.5-portable.tar.xz
# mkdir filebot
# tar xf FileBot_4.8.5-portable.tar.xz -C filebot
# cd filebot
# ./filebot.sh -script fn:sysinfo
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/data/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
FileBot 4.8.5 (r6118)
JNA Native: 5.2.2
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x609cb61c, pid=1207, tid=1208
#
# JRE version: OpenJDK Runtime Environment (11.0.2+9) (build 11.0.2+9-Raspbian-3)
# Java VM: OpenJDK Server VM (11.0.2+9-Raspbian-3, mixed mode, serial gc, linux-)
# Problematic frame:
# C
[error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x76f7a34c]

# Core dump will be written. Default location: /data/filebot/core
#
# An error report file with more information is saved as:
# /data/filebot/hs_err_pid1207.log
# [ timer expired, abort... ]
Aborted (core dumped)
I see from the filebot.sh script that armv7l is supported.

So am I missing something?

Regards
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

1.
APT doesn't work because 4.8.5 isn't in the repository yet, and the 4.8.2 in the repository is limited to amd64 arch. The official Docker is also limited to amd64 arch, as almost all docker images are.


2.
The portable should work. But libmediainfo seems to crash the process on your machine, likely due to binary incompatibilities. The easiest solution is to just delete all the native code in the lib folder, and then work only with the platform-independent java code.

Alternatively, you could try to build an image with the new universal / universal-jdk8 deb packages. You'd likely need an ubuntu based image, add the package and install it with dpkg and then also satisfy all the dependencies with apt install.
:idea: Please read the FAQ and How to Request Help.
pois
Posts: 8
Joined: 19 Feb 2019, 23:16

Re: [BETA] FileBot 4.8.5

Post by pois »

Wow, that was a quick response.

1. Makes sense, just noticed the amd64 when added into apt sources list

2. Will try the option with only platform-independent java code and the universal-jdk8 deb packages
will comment back once I have something.
pois
Posts: 8
Joined: 19 Feb 2019, 23:16

Re: [BETA] FileBot 4.8.5

Post by pois »

Hello again,

Tried a symlink with the system libmediainfo, but it didn't work either, same crash error.

Code: Select all

ln  -s /usr/lib/arm-linux-gnueabihf/libmediainfo.so.0.0.0 libmediainfo.so
So trying the platform-independent java code, I removed the the SO libraries for Linux-armv7l
I installed ffmpeg to provide ffprobe (I see the script uses this for Linux arch other than Linux-x86_64 and Linux-i686)
So no crashes, and the output look like this:

Code: Select all

# ./filebot.sh -script fn:sysinfo
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/root/filebot-4.8.5/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
FileBot 4.8.5 (r6118)
JNA Native: java.lang.UnsatisfiedLinkError: Could not find JNA native support
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
Apache Commons VFS: [zip, rar]
FFprobe: 4.1-1
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /root/filebot-4.8.5/data/root/龍飛鳳舞
WARNING: sun.jnu.encoding = ANSI_X3.4-1968
Script Bundle: 2019-02-20 (r548)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.2
JVM: 32-bit OpenJDK Server VM
CPU/MEM: 4 Core / 237 MB Max Memory / 17 MB Used Memory
OS: Linux (arm)
HW: Linux 90e780883d10 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
DATA: /root/filebot-4.8.5/data/root
Package: TAR
License: UNREGISTERED
Done ヾ(@⌒ー⌒@)ノ
A few doubts in here:
So libmediainfo is to extract the media details, obviously.
And the other libraries, are they only for extracting files like RAR, ZIP, etc ?? Which should be done now by Apache Commons VFS (only java code)

For this line, I guess no harm as we should not be using libmediainfo SO but ffprobe command now, so should be safe to ignore, right?

Code: Select all

JNA Native: java.lang.UnsatisfiedLinkError: Could not find JNA native support
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
And, should I be concerned about this InvalidPathException, I did not see any strange characters like those chinese/japanese characters shown in the fn:sysinfo output
Even changing the env vars LANG and LC_ALL to en_US.UTF-8, I see this InvalidPathException

Code: Select all

Unicode Filesystem: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /root/filebot-4.8.5/data/root/龍飛鳳舞

# ls -l /root/filebot-4.8.5/data/root/
total 8
drwxr-xr-x 3 root root 4096 Feb 24 17:11 cache
drwxr-xr-x 2 root root 4096 Feb 24 17:11 tmp
So I guess will continue using the portable like this, setting it up with filebot-watcher script now

Thanks
pois
Posts: 8
Joined: 19 Feb 2019, 23:16

Re: [BETA] FileBot 4.8.5

Post by pois »

Hello,

Some progress on the native libraries, using the system ones get me the sysinfo script to work.
So creating symlink to libmediainfo and libjnidispatch SO files, and remove the zlib and libzen, as they're linked at runtime by libmediainfo.
Modified the shell script to use SevenZipNativeBindings and libmediainfo.

Code: Select all

# ls -l lib/Linux-armv7l/
total 2340
-rw-r--r-- 1 root root 2393384 Jul 17  2018 lib7-Zip-JBinding.so
lrwxrwxrwx 1 root root      57 Feb 24 22:21 libjnidispatch.so -> /usr/lib/arm-linux-gnueabihf/jni/libjnidispatch.system.so
lrwxrwxrwx 1 root root      50 Feb 24 22:21 libmediainfo.so -> /usr/lib/arm-linux-gnueabihf/libmediainfo.so.0.0.0

# ./filebot.sh -script fn:sysinfo
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/root/filebot-4.8.5/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
FileBot 4.8.5 (r6118)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /root/filebot-4.8.5/data/root/龍飛鳳舞
WARNING: sun.jnu.encoding = ANSI_X3.4-1968
Script Bundle: 2019-02-20 (r548)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.2
JVM: 32-bit OpenJDK Server VM
CPU/MEM: 4 Core / 237 MB Max Memory / 15 MB Used Memory
OS: Linux (arm)
HW: Linux 90e780883d10 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
DATA: /root/filebot-4.8.5/data/root
Package: TAR
License: *********
Done ヾ(@⌒ー⌒@)ノ
Working on getting the unicode system to work, I guess is my locale at this point.
Just setting the env var LANG C.UTF-8 sohuld fix it

Hope this helps someone
heed
Posts: 19
Joined: 23 Dec 2014, 01:17

Re: [BETA] FileBot 4.8.5

Post by heed »

When is 4.8.5 going to be put on the windows store? I bought filebot when you first put it on the store do have to pay for a key to switch to the regular version, thanks
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

The new version is still in beta and not ready for a public release. It's ready when it's ready. Possibly in April.

You can however request a complimentary license, especially if you're willing to test the newest beta and give us feedback.
:idea: Please read the FAQ and How to Request Help.
heed
Posts: 19
Joined: 23 Dec 2014, 01:17

Re: [BETA] FileBot 4.8.5

Post by heed »

Love too, you know me (albeit slightly) always up to mess shit up now and fix it later, I love my macrium reflect.
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

Just PM me name / email / Microsoft Store purchase confirmation.
:idea: Please read the FAQ and How to Request Help.
falkyre
Posts: 2
Joined: 02 Mar 2019, 16:17

Re: [BETA] FileBot 4.8.5

Post by falkyre »

Just moved from the MAS version to the Beta. Purchased the lifetime license (awesome app!). However, I was able to run one renaming yesterday but since then, I'm getting an EOFexception.

It almost looks like any resource that filebot is attempting to get no longer exists.

I have run the filebot -clear-cache.

The MAS works without issue. Am I missing something?
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

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.
:idea: Please read the FAQ and How to Request Help.
falkyre
Posts: 2
Joined: 02 Mar 2019, 16:17

Re: [BETA] FileBot 4.8.5

Post 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.
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post 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:
:idea: Please read the FAQ and How to Request Help.
ByteShare
Posts: 27
Joined: 13 Mar 2018, 15:38

Re: [BETA] FileBot 4.8.5

Post 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.
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post 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.
:idea: Please read the FAQ and How to Request Help.
ByteShare
Posts: 27
Joined: 13 Mar 2018, 15:38

Re: [BETA] FileBot 4.8.5

Post 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
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

The website docs will be updated with the next public release.
:idea: Please read the FAQ and How to Request Help.
jarjar
Posts: 2
Joined: 08 Mar 2019, 00:53

Re: [BETA] FileBot 4.8.5

Post 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.
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

Please make a new thread and include screenshots and sysinfo output:
viewtopic.php?f=5&t=1868
:idea: Please read the FAQ and How to Request Help.
Djoss
Posts: 22
Joined: 30 Jul 2018, 17:24

Re: [BETA] FileBot 4.8.5

Post 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
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post 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?
:idea: Please read the FAQ and How to Request Help.
Djoss
Posts: 22
Joined: 30 Jul 2018, 17:24

Re: [BETA] FileBot 4.8.5

Post 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 ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post 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.
:idea: Please read the FAQ and How to Request Help.
Djoss
Posts: 22
Joined: 30 Jul 2018, 17:24

Re: [BETA] FileBot 4.8.5

Post 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
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post by rednoah »

Good catch. Will do.
:idea: Please read the FAQ and How to Request Help.
stevezau
Posts: 9
Joined: 22 Sep 2017, 03:28

Re: [BETA] FileBot 4.8.5

Post by stevezau »

Will this be released as a deb to..

Code: Select all

deb [arch=amd64] https://get.filebot.net/deb/ stable main
Thanks!
User avatar
rednoah
The Source
Posts: 24652
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BETA] FileBot 4.8.5

Post 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.
:idea: Please read the FAQ and How to Request Help.
Segarra
Posts: 17
Joined: 11 Jun 2016, 11:11

Re: [BETA] FileBot 4.8.5

Post by Segarra »

Hello, it's possible to install that version on Synology, I have 4.8.2 and I cant update?
Thanks
erki
Posts: 8
Joined: 28 Feb 2019, 12:50

Re: [BETA] FileBot 4.8.5

Post 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
Segarra
Posts: 17
Joined: 11 Jun 2016, 11:11

Re: [BETA] FileBot 4.8.5

Post 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
Post Reply