Help with custom script and how to execute

Support for Windows users
Post Reply
zkyevolved
Posts: 7
Joined: 28 Feb 2016, 19:37

Help with custom script and how to execute

Post by zkyevolved »

Hello everyone. I have a seedbox, and the seedbox is a low-cost one, meaning it's pretty stripped of features. What I've done is used GoodSync to syncronize the contents of the seedbox to a folder. After it downloads the contents, it deletes it.

I'd like some help to script GoodSync to automatically run Filebot. I know how to enter that, I believe... I should create a .bat file with the custom script. Correct?

Well, this is where I'm lost. I'd really appreciate the help!

Downloads from GoodSync are downloaded to this folder:

Code: Select all

M:\Downloads
I'd like to run all the content in that folder through filebot with this format:

Code: Select all

{n} - {s00e00} - {t}
to this folder

Code: Select all

M:\Plex Media\TV Shows
I'd like to leave behind all the rubbish files like txt or jpgs, and delete them. I believe that would look something like this?

Code: Select all

filebot -script fn:cleaner M:\Downloads/
Could someone help me script this? Thank you so much!
zkyevolved
Posts: 7
Joined: 28 Feb 2016, 19:37

Re: Help with custom script and how to execute

Post by zkyevolved »

Never mind, with a lot of trial and error I got it.

GoodSync runs this:

Code: Select all

filebot -script fn:amc --output "M:\Plex Media" --action move --def subtitles=en,es,jp --def artwork=y -non-strict "M:\Plex Media\Downloads" --log-file amc.log --def excludeList=amc.txt --def clean=y --def unsorted=y --def deleteAfterExtract=y
I'm sure it's not perfect, but it does my job :) I'm a happy camper!
Thanks anyways guys!
Post Reply