Page 1 of 1
[JDownloader] After Update FileBot isnt working (in custom shell script)
Posted: 24 Feb 2022, 18:50
by kannebecker
Hi,
on my Synology 918+ with DSM 6 ( latest version ), yesterday i update Filebot to version --> FileBot 4.9.5 (r9112)
My automatic (Event Scripter) unpacking with JDownloader no longer works, has something changed ?
greetings Kai
Re: After Update FileBot isnt working
Posted: 25 Feb 2022, 02:24
by rednoah
The
filebot command-line interface has not changed.
What does the error message say?
Does Event Scripter call
filebot? What
filebot command is executed and what does the console output say?
Re: After Update FileBot isnt working
Posted: 25 Feb 2022, 06:00
by kannebecker
Hello,
so what I can tell you is that the Eventscripter calls this script -->
Code: Select all
#!/bin/sh
#Javapfad
#PATH=$PATH: /var/packages/Java8/target/j2sdk-image/bin/
#Pfade
QUELLE=/volume1/Downloads/Unsortiert
ZIEL=/volume1/
SERIEN="/volume1/Serien"
FILME="/volume1/Filme"
#Filebot
FILEBOT=/volume1/@appstore/filebot/filebot.sh
SPRACHE=de
IGNORE=.nfo,.txt,.url,.rar,.jpg,.iso,.sub,.idx,.mp3
CLEAN=y
LOG=/volume1/Downloads/filebot.log
#Formate
SERIE="{n} - {S00E00} - {t}"
FILM="{n} ({y})"
###################################################################################
#Filebot-Kommando
$FILEBOT -script fn:amc -rename --conflict skip --def minLengthMS=0 --action move -no-xattr -non-strict --lang de "$QUELLE" --log-file $LOG --output /volume1/Filme --def ignore=$IGNORE "seriesFormat=$SERIEN/$SERIE" "movieFormat=$FILME/$FILM" clean=$CLEAN
when I start the script via console I get -->
Code: Select all
admin@NAS:/volume1/homes/Kai$ ./filebot.sh
./filebot.sh: line 25: /volume1/@appstore/filebot/filebot.sh: No such file or directory
greetings Kia
Re: After Update FileBot isnt working
Posted: 25 Feb 2022, 06:10
by rednoah
Your custom shell script is broken. Use
filebot and
not /volume1/@appstore/filebot/filebot.sh to call
filebot.
If you install the Synology DSM package, then Synology DSM will take care of linking the
filebot command into the
$PATH. You should
not assume the
filebot executable to be at any one specific file path.
[JDownloader] Setup for Windows, Linux and Mac OS X is the official JD setup. Your setup is completely different. You probably copy and & pasted it from somewhere. I'd follow the official instructions instead.
Re: After Update FileBot isnt working
Posted: 25 Feb 2022, 08:05
by kannebecker
Thank You
Yes, I took this over somewhere years ago.