QNAP - Transmission - FileBot
Posted: 04 Jan 2014, 11:32
Hi! I'm struggling with my QNAP - transmission - filebot constellation and I have seeked help at transmission-forum, Qnap-forum and here but without any luck. =( I'm very new on Linux and SSH, but I'm learning so please bear with me here.
What I'm aiming for:
When a download is completed I want filebot to rename both series and films and then move them from my download folder to my "film and series" folder. Thats it... ...for now anyway
My equipment:
Qnap TS-269L
firmware: 4.0.5
Transmission: 2.75 -b19 (installed on qnap)
Filebot: filebot_3.8_i686.ipk (installed on qnap)
JRE 6.0.22
I use terminal on my mac
My constellation (files and codes):
I have all my media on my qnap like this
Movies: "/share/Multimedia/FILMER"
Series: "/share/Multimedia/SERIER/"seasons"/"episodes""
Downloaded media: "/share/Download/transmission/completed"
I have installed filebot on my qnap and created a file that I call "fbscript.sh" and are located here:
This script lookes like this:
To me this code looks like it only will process series and not film, I'm I right? How
I have edited my transmission settings like this:
And my whole settings.json-file looks like this:
So I want transmission, as soon as a download is completed, to run fbscript.sh which in turn rename the downloaded file and the move it to either "/share/Multimedia/FILMER" or "/share/Multimedia/SERIER".
Is there a fundamental wrong I've done, I'm I way of?
Appreciate all the help I can get.
//W

What I'm aiming for:
When a download is completed I want filebot to rename both series and films and then move them from my download folder to my "film and series" folder. Thats it... ...for now anyway

My equipment:
Qnap TS-269L
firmware: 4.0.5
Transmission: 2.75 -b19 (installed on qnap)
Filebot: filebot_3.8_i686.ipk (installed on qnap)
JRE 6.0.22
I use terminal on my mac
My constellation (files and codes):
I have all my media on my qnap like this
Movies: "/share/Multimedia/FILMER"
Series: "/share/Multimedia/SERIER/"seasons"/"episodes""
Downloaded media: "/share/Download/transmission/completed"
I have installed filebot on my qnap and created a file that I call "fbscript.sh" and are located here:
Code: Select all
/share/myscripts2/fbscript.sh
Code: Select all
#!/bin/sh
/opt/usr/bin/filebot -script svn:amc /share/CACHEDEV1_DATA/Download/transmission/completed -non-strict --output /share/Multimedia/ --def "seriesFormat=SERIER/{n}/{n} Season Season {s.pad(2)}/{n} - {t}
I have edited my transmission settings like this:
Code: Select all
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/share/myscripts2/fbscript.sh"
Code: Select all
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"blocklist-url": "http://www.bluetack.co.uk/config/level1.gz",
"cache-size-mb": 2,
"dht-enabled": true,
"download-dir": "/share/CACHEDEV1_DATA/Download/transmission/completed",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 0,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/share/CACHEDEV1_DATA/Download/transmission/incomplete",
"incomplete-dir-enabled": true,
"lazy-bitfield-enabled": true,
"lpd-enabled": true,
"message-level": 2,
"open-file-limit": 32,
"peer-congestion-algorithm": "",
"peer-limit-global": 1000,
"peer-limit-per-torrent": 250,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 2,
"prefetch-enabled": 0,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 1,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{835a668924ce6ad5f301256409a5bf92c031a149AjfzKLG3",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "admin",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/share/myscripts2/fbscript.sh",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 0,
"speed-limit-down-enabled": false,
"speed-limit-up": 0,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 0,
"upload-slots-per-torrent": 15,
"utp-enabled": true,
"watch-dir": "/share/CACHEDEV1_DATA/Download/transmission/watch",
}
Is there a fundamental wrong I've done, I'm I way of?
Appreciate all the help I can get.
//W