Page 1 of 1
Need help with a simple script
Posted: 13 Mar 2013, 23:01
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.
Re: Need help with a simple script
Posted: 14 Mar 2013, 00:50
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 
Re: Need help with a simple script
Posted: 14 Mar 2013, 05:56
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.
