uTorrent simple integration

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
wanxu
Posts: 2
Joined: 17 Jan 2013, 16:06

uTorrent simple integration

Post by wanxu »

Hi! I just discovered that I could use filebot from command line and integrate with uTorrent. That's great! However, I just want to do one thing: download subtitles and name them the same way the original file (without ".eng").

I already automatically structure my files from uTorrent, so I just want to download the subtitles to them and remove the ".eng" sufix from the filename so the TV player gets the subtitle. How would it be the script? I don't fully understand the example (Fully Automated Media Center). I tried but I don't want it to create a folder "TV shows/TV Show/Season/Chapter". Just let the file where it is and the subtitle with the same filename.
Would something like this work?

Code: Select all

filebot -script fn:utorrent-postprocess -non-strict --def subtitles=y "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
To set the subtitle the same name as the file I tried and it works:

Code: Select all

filebot -script fn:replace "FOLDER" --def "e=.eng" "r="
but it would be 2 functions. I don't know if I can execute two in one call (in utorrent) or as a parameter for utorrent-postprocess. I tried to add

Code: Select all

--def "e=.eng" "r="
at the end of the function but it doesn't work.

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

Re: uTorrent simple integration

Post by rednoah »

You can just && commands in utorrent just as in console.

eg
filebot -script fn:utorrent-postprocess ... && filebot -script fn:replace ...
:idea: Please read the FAQ and How to Request Help.
wanxu
Posts: 2
Joined: 17 Jan 2013, 16:06

Re: uTorrent simple integration

Post by wanxu »

Thanks! I'll try it!
Post Reply