Script help

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
ziob
Posts: 4
Joined: 27 Feb 2014, 10:40

Script help

Post by ziob »

Hi guys,

Need to help to put together a filebot script for my Ubuntu Server.

I run a utorrent client on my ubuntu server machine, utorrent can run a program when torrent is completed.

I would like the script to extract the completed torrent, moves the .MKV file to a specific folder for series or movies and then send a plex command for indexing.

Thank you!
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script help

Post by rednoah »

Got a link to the docs for how to run external programs?
:idea: Please read the FAQ and How to Request Help.
ziob
Posts: 4
Joined: 27 Feb 2014, 10:40

Re: Script help

Post by ziob »

I guess it would look something like this:

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

Re: Script help

Post by rednoah »

This looks like Windows to me. But if it's the same on Linux what's the issue?
:idea: Please read the FAQ and How to Request Help.
ziob
Posts: 4
Joined: 27 Feb 2014, 10:40

Re: Script help

Post by ziob »

Running uTorrent on Ubuntu Server with only a webui.

But here's my problem:

Moving files from '/home/*****/Downloads/Incompleted/The.Daily.Show.2014.03.04.Jim.DeMint.HDTV.x264-SWOLLED' to '/home/*****/Downloads/Completed/The.Daily.Show.2014.03.04.Jim.DeMint.HDTV.x264-SWOLLED'
Executing: filebot -script fn:amc --output "/home/*****/Downloads/Test" --def excludeList=amc-input.txt --log-file amc.log --action copy --conflict override -non-strict --def music=n subtitles=en artwork=n "ut_label=" "ut_state=5" "ut_title=The.Daily.Show.2014.03.04.Jim.DeMint.HDTV.x264-SWOLLED" "ut_kind=%K" "ut_file=the.daily.show.2014.03.04.jim.demint.hdtv.x264-swolled.nfo" "ut_dir=/home/*****/Downloads/Completed/The.Daily.Show.2014.03.04.Jim.DeMint.HDTV.x264-SWOLLED"

Doesn't seem to extract or move the unpack file. Running following commands in uTorrent:

filebot -script fn:amc --output "/home/*****/Downloads/Test" --def excludeList=amc-input.txt --log-file amc.log --action copy --conflict override -non-strict --def music=n subtitles=en artwork=n "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script help

Post by rednoah »

Alright, so you're sure filebot is called? Check the amc.log file in the ~/.filebot and see what's happening.
:idea: Please read the FAQ and How to Request Help.
Post Reply