i like filebot very much, but i see a strange behaviour when it comes to certain files.
I run a synology nas with jdownloader. After extraction event scripter starts the filebot script. So far so good.
I downloaded some Fitgirl-repacks (pc-games), after extraction there are *.bin files and a setup.exe. But after filebot processed the files, the setup.exe was missing.
First i thougt it was caused by JD2 and asked in their forums (https://board.jdownloader.org/showthread.php?t=89389. Together we figured out, that the cause was when event scripter comes in. After turning event scripter off the exe remains. I tried multiple fitgirl-repacks with all missing setup.exe. Other downloads with *.exe are fine. There is no av-software and nothing special in the log.
Maybe someone has a clue what is causing this behaviour and how to stop deleting setup.exe.
filebot.log
Code: Select all
Parameter: seriesFormat = /volume1/video/Serien/{n}/{s}/{n}.{s00e00} - {t} ({y}) {vf}
Parameter: movieFormat = /volume1/video/Filme/{n} ({y}) {source}({vf}@{vc}) [{rating}]/{n} ({y}) {source}({vf}@{vc}) [{rating}]
Parameter: unsorted = y
Parameter: skipExtract = y
Parameter: music = n
Parameter: artwork = y
Parameter: clean = y
Argument[0]: /volume1/downloads/Kingdoms of Amalur - Re-Reckoning FitGirl Repack
No files selected for processing
Code: Select all
filebot -script 'fn:sysinfo' --log-file '/var/packages/filebot-node/var/filebot.log'
------------------------------------------
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by net.filebot.Main (file:/volume1/@appstore/filebot/jar/filebot.jar)
WARNING: Please consider reporting this to the maintainers of net.filebot.Main
WARNING: System::setSecurityManager will be removed in a future release
FileBot 4.9.4 (r8736)
JNA Native: 6.1.0
MediaInfo: 19.04
Tools: p7zip/16.02 unrar/5.70 ffprobe/4.1.6
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-01-19 (r790)
Groovy: 3.0.8
JRE: OpenJDK Runtime Environment 17.0.1
JVM: 32-Bit OpenJDK Client VM
JAVA_OPTS: -Xmx400m
CPU/MEM: 2 Core / 405 MB Max Memory / 23 MB Used Memory
OS: Linux (arm)
HW: Linux DS 3.10.108 #42218 SMP Fri Sep 24 02:38:39 CST 2021 armv7l GNU/Linux synology_armada38x_ds218j
CPU/MEM: ARMv7 Processor rev 1 (v7l) | Marvell Armada 380/381/382/383/384/385/388 (Device Tree) [MemTotal: 524 MB | MemFree: 23 MB | SwapCached: 41 MB | SwapTotal: 2.1 GB | SwapFree: 1.8 GB]
STORAGE: ext4 [/] @ 1.2 GB | ext4 [/volume1] @ 1.8 TB
USER: FileBot
DATA: /var/packages/filebot/var/data/106247
Package: SPK
License: FileBot License P25883537 (Valid-Until: 2022-06-06)
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
[{"eventTrigger":"ON_ARCHIVE_EXTRACTED", "enabled":true, "name":"FileBot", "script":"var amcFile = \"/volume1/homes/Martin/Drive/Scripts/jdtofilebot.sh\";var path = archive.getFolder(); callAsync(function() {}, amcFile, path);", "eventTriggerSettings":{}, "id":4711}]
Code: Select all
#!/bin/sh
##FileBot benötigt diese Variablen
export JAVA_OPTS="-Xmx384m"
LOG="/volume1/downloads/filebot.log"
EXC="/volume1/downloads/amc.txt"
SERIEN="/volume1/video/Serien/{n}/{s}/{n}.{s00e00} - {t} ({y}) {vf}"
FILME="/volume1/video/Filme/{n} ({y}) {source}({vf}@{vc}) [{rating}]/{n} ({y}) {source}({vf}@{vc}) [{rating}]"
UNSORTIERT="/volume1/downloads/unsorted/{file.structurePathTail}" ## # Wenn Filebot mal etwas nicht zuordnen kann, dann kannst du es in einen seperaten Ordner verschieben lassen, dann bleibt es im Downloadordner übersichtlich.
##FileBot ausführen
filebot -script fn:amc --lang de --log-file $LOG --action move "$1" --output "/volume1/downloads" --def "seriesFormat=$SERIEN" "movieFormat=$FILME" -non-strict --def "unsorted=y" "skipExtract=y" "music=n" "artwork=y" "clean=y"
## Aufräumen, --def root löscht den Unterordner mit
filebot -script fn:cleaner "$1" --def root=y