[BETA] FileBot 4.8.5

All your suggestions, requests and ideas for future development
User avatar
rednoah
The Source
Posts: 22899
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: 22899
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: 22899
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: 22899
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: 22899
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: 22899
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: 22899
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: 22899
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: 22899
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.
Post Reply