[JDownloader] After Update FileBot isnt working (in custom shell script)

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
kannebecker
Posts: 11
Joined: 10 Jan 2017, 11:39

[JDownloader] After Update FileBot isnt working (in custom shell script)

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

Re: After Update FileBot isnt working

Post 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?
:idea: Please read the FAQ and How to Request Help.
kannebecker
Posts: 11
Joined: 10 Jan 2017, 11:39

Re: After Update FileBot isnt working

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

Re: After Update FileBot isnt working

Post by rednoah »

Your custom shell script is broken. Use filebot and not /volume1/@appstore/filebot/filebot.sh to call filebot.


:idea: 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.


:arrow: [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.
:idea: Please read the FAQ and How to Request Help.
kannebecker
Posts: 11
Joined: 10 Jan 2017, 11:39

Re: After Update FileBot isnt working

Post by kannebecker »

Thank You
Yes, I took this over somewhere years ago.
Post Reply