Need help with a simple script

Any questions? Need some help?
Post Reply
Auka
Posts: 2
Joined: 13 Mar 2013, 22:55

Need help with a simple script

Post by Auka »

I need a script that will automatically rename and fetch English subtitle for newly downloaded uTorrent files (and possibly remove the .eng that comes along with the .srt file). I don't want the script to automatically create and sort the file into movie/tv show folders and I've tried to edit the current posted script under "Fully Automated Media Center" to no avail. I have no programming background so any help would be greatly appreciated.

This ia a great program and thank you in advance.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need help with a simple script

Post by rednoah »

So you just grabbed amc.groovy and never bothered with reading any of the docs?

1. Basic cmdline usage:

Code: Select all

filebot -get-missing-subtitles -non-strict /path/to/files
2. Almost exactly as the provided sample usage:
http://www.filebot.net/forums/viewtopic ... &t=5#p2100

i.e.

Code: Select all

filebot -script fn:replace --filter "[.]srt$" --def "e=[.](en|eng|english)" "r=" /path/to/files
Donation welcome ;)
:idea: Please read the FAQ and How to Request Help.
Auka
Posts: 2
Joined: 13 Mar 2013, 22:55

Re: Need help with a simple script

Post by Auka »

Ops, sorry! I just used the convenient script that you provided to add to uTorrent and tried modifying it from there, but to no avail. Didn't realize that amc.groovy is available to download. Thank you. :)

P.S. I just tried copy-pasting a few lines in order to make a script. Apparently it doesn't work that way, LOL! Your coding looks very elegant and it's filled with instructions. Thank you again. ;)
Post Reply