filebot utorret script tweaking

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
srgsng25
Posts: 6
Joined: 25 Mar 2013, 07:34

filebot utorret script tweaking

Post by srgsng25 »

i have a script i have been running for quite some time and it is working OK but i would love to be able to tweak it just a bit for our animated tv shows

here is my current script

filebot -script fn:amc "f:\videos\new movies" --output "f:\videos" --action move -non-strict --def "seriesFormat=TV Series/{n}/{'Season '+s}/{fn}" "animeFormat=Anime/{n}/{fn}" "movieFormat=f:/videos/{genres[0]}/{n} ({y})/{n} ({y})"

what i would like to do is have it detect if it is an animated tv show and then performs a move to the kids cartoon directory "f:/videos/kid tv/
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: filebot utorret script tweaking

Post by rednoah »

You'd just have to add that logic to the series format,

eg pseudo code: if genres contains Animation and certification = for kids then Kids/... otherwise TV/...
:idea: Please read the FAQ and How to Request Help.
srgsng25
Posts: 6
Joined: 25 Mar 2013, 07:34

Re: filebot utorret script tweaking

Post by srgsng25 »

is this the script to copy as i am not well versed in scripting as all i am a cut and paste person
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: filebot utorret script tweaking

Post by rednoah »

Nope. You'll have to figure it out from the samples and docs. I'm just about to set off to Yunnan for two weeks. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply