QNAP TS 451 + Transmission + Filebot

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
dobberman152
Posts: 7
Joined: 01 May 2015, 18:04

QNAP TS 451 + Transmission + Filebot

Post by dobberman152 »

Hi,

My name is Kevin and i'm living in Brussels. My motherlanguage is French, so, i apologize if I writing some words wrong.

Anyway, I have to request your kind help. And I hope I post at the right place. I'm absolutly not a Forum Writer :p

I have a BIG problem to make Filebot to work

I have a QNAP TS 451
Filebot installed, but not sure if I got the right version. Filebot path: /share/CACHEDEV1_DATA/.qpkg/Optware/usr/share/filebot

Via AppCenter: I already installed Java --> Java Runtime Environment 6

I also did the test localy with Filebot on Windows and with movies, it works like a charm. So my arguments are right when I call Filebot via CMD.

But now I want to make it alive on my QNAP.

I have Transmission installed --> and let the script as it is since when i installed it.

But what I try is:

Code: Select all

#!/bin/sh

/share/CACHEDEV1_DATA/.qpkg/Optware/usr/share/filebot/filebot.sh -rename /share/CACHEDEV1_DATA/Download/Complet -order -non-strict --db TheMovieDB --lang fr --output /share/CACHEDEV1_DATA/Download/Films
So when my movie is downloaded, my torrent is still seeding, I want to finish the seed and auto delete it. And my most important thing, that Transmission will call filebot in order to rename my movies into the french title looking on TheMovieDB and move it to my other folder

Technical details

The incomplete movie (while downloading) is : /share/CACHEDEV1_DATA/Download/incomplet
The complete folder when download is finished is: /share/CACHEDEV1_DATA/Download/complet

Then I tried to ask Transmission to call Filebot to scan /share/CACHEDEV1_DATA/Download/complet -->Scan the files, rename all the titles into French titles from TheMovieDB and then move them to /share/CACHEDEV1_DATA/Download/Films

That's it. But I'm absolutly not a scripter and even less a Linux user. So, can someone give me some courses so that I can get it to work.

Thank you very much.

Kind regards

Kevin

You can direct e-mail me: If you prefer: [email protected]
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: QNAP TS 451 + Transmission + Filebot

Post by rednoah »

1)
Via AppCenter: I already installed Java --> Java Runtime Environment 6
Java 8 is required.

2)
:arrow: Please read • How to 'Request Help' • and provide at least fn:sysinfo output.
:idea: Please read the FAQ and How to Request Help.
dobberman152
Posts: 7
Joined: 01 May 2015, 18:04

Re: QNAP TS 451 + Transmission + Filebot

Post by dobberman152 »

Hi Rednoah

First of all, thank you for your answer. How do I install Java 8 to my QNAP server ?

Regards
Kevin
dobberman152
Posts: 7
Joined: 01 May 2015, 18:04

Re: QNAP TS 451 + Transmission + Filebot

Post by dobberman152 »

I just installed the last version of filebot on my qnap via Putty

look in attachment please

But still doesn't find the way to install Java 8. I allready downloaded the package ejdk-8u33-fcs-linux-i586.gz to my Public folder on my qnap.

Can you discribe my the next stepts.... I'm sure I'm not very far from the goal in order to making it to work.

Thank you

Kind Regars

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

Re: QNAP TS 451 + Transmission + Filebot

Post by rednoah »

1) SSH into the machine
2) Download and unpack the package you downloaded from Oracle
3) Link the java executable into /usr/bin (or whatever is recommended on your platform)

Since this is a generic Linux issue, you will probably find a more detailed guide on Google, and the QNAP forums.
:idea: Please read the FAQ and How to Request Help.
phifer2088
Posts: 23
Joined: 12 Jan 2015, 15:47

Re: QNAP TS 451 + Transmission + Filebot

Post by phifer2088 »

dobberman152 wrote:I just installed the last version of filebot on my qnap via Putty

look in attachment please

But still doesn't find the way to install Java 8. I allready downloaded the package ejdk-8u33-fcs-linux-i586.gz to my Public folder on my qnap.

Can you discribe my the next stepts.... I'm sure I'm not very far from the goal in order to making it to work.

Thank you

Kind Regars

Kevin
Dobberman,

Did you get this working? I also use filebot on my QNAP NAS. Chances are you already have the correct Java. When I look at mine it also says I have version 6, but if you look up there is version 8.6.0

Image

Do you telnet or ssh into your NAS? This is a good way to troubleshoot a custom script before using it. Just past it into the command prompt and see what reply is given.

Here is what is in my script. I have 2 similar scripts that look in the 2 locations my files are saved. I have edited my plex token that tells the plex to update my library.

Code: Select all

filebot -script fn:amc --output "/share/Multimedia" --log-file amc.log --action move --conflict override --def music=y --def subtitles=en --def artwork=y --def clean=y --def plex=localhost:??????????????????eDhe -non-strict "/share/Download/transmission/completed" --def excludeList=amc.txt 

filebot -script fn:amc --output "/share/Multimedia" --log-file amc.log --action move --conflict override --def music=y --def subtitles=en --def artwork=y --def clean=y --def plex=localhost:??????????????????eDhe -non-strict "/share/Download/sabnzbd/complete" --def excludeList=amc.txt 
Post Reply