Page 1 of 1
How to use the amc script in stand-alone mode?
Posted: 16 May 2015, 03:19
by MegaCarnac
What's wrong with my code?
I can copy the way files "D: / Movies", but the film is still in the folder and not some. I know nothing about programming, then I warn to be patient with me.
Code: Select all
filebot -script fn:amc "D:/Movies" --output "G:/Filmes" --log-file amc.log --action copy --conflict auto -non-strict clean=y --def excludeList=amc-input.txt "movieFormat=G:/Filmes/{n} ({y})/{n.space('.')}.{y}.{vf}{'.'+source}.{vc}.{ac}"
timeout /t 30 /nobreak
filebot -script fn:amc "D:/TV" --output "F:/Séries" --log-file amc.log --action copy --conflict auto -non-strict clean=y --def excludeList=amc-input.txt "seriesFormat=F:/Séries/{n}/{'S'+s}/{fn}"
filebot -script fn:cleaner "D:/Movies" "F:/Séries"
Thank you very much for seeing me.
Re: Scrip not clean the folder
Posted: 16 May 2015, 07:33
by rednoah
1)
Look at the examples closely and keep in mind that you need a leading
--def before you can add name=value script options.
2)
If you're processing TV Shows and Movies in separate calls, why are you not passing that information along to auto-detection?
Force TV mode:
Force Movie mode:
@see
viewtopic.php?f=4&t=215#p1561
Re: How to use the amc script in stand-alone mode?
Posted: 16 May 2015, 15:37
by MegaCarnac
I still do not know how to use fn: cleaner, is not working for me, it is the only thing I did not understand.

Re: How to use the amc script in stand-alone mode?
Posted: 16 May 2015, 17:19
by rednoah
1) Start with a
command that definitely works. See if it works. Use Copy & Paste to avoid user errors.
2) Make a very small change. See if it still works. If it doesn't. Revert and try something different.
3) Repeat (2) until it's working the way you want.
* Learn how to fish.
Re: How to use the amc script in stand-alone mode?
Posted: 16 May 2015, 19:00
by MegaCarnac
What kind of code uses the FileBot, for I am wanting to learn how to create "Scripts" more complicated?
I started to like programming and I'm interested myth.
Re: How to use the amc script in stand-alone mode?
Posted: 17 May 2015, 12:52
by MegaCarnac
Thanks for your help, is now working !!!!!
How do I set subtitles and rename?
I need to use the ASCII encoding for special characters?
Code: Select all
filebot -script fn:amc "D:/Movies" --output "G:/Filmes" --log-file amc.log --action move --conflict auto -non-strict --def subtitles=en,pb,pob "ut_label=movie" "movieFormat=G:/Filmes/{n} ({y})/{n.space('.')}.{y}.{vf}{'.'+source}.{vc}.{ac}"
timeout /t 30 /nobreak
filebot -script fn:amc "D:/TV" --output "F:/Series" --log-file amc.log --action move --conflict auto -non-strict --def subtitles=en,pb,pob "ut_label=tv" "seriesFormat=F:/Series/{n}/{'S'+s}/{fn}"
filebot -script fn:cleaner "D:/Movies" "D:/TV"
Re: How to use the amc script in stand-alone mode?
Posted: 17 May 2015, 18:07
by rednoah
1)
The amc script has an option for that. Also there's a script for that.
2)
Use the String.ascii() method in your format on anything that might contain non-ascii characters.
Re: How to use the amc script in stand-alone mode?
Posted: 18 May 2015, 22:14
by MegaCarnac
Some doubts have emerged and can not find solutions for them.
I have two possible paths: "D: \ Movies" "D: \ TV". How do you utorrent see that the downloaded file is a movie or a series and then send to the correct folder?
What is your opinion about my "script" if I need to add anything more or better?
Code: Select all
filebot -script fn:amc "D:/Movies" --output "G:/Filmes" --log-file amc.log --action move --conflict auto -non-strict --def subtitles=en,pb,pob "ut_label=movie" "movieFormat=G:/Filmes/{n} ({y})/{n.space('.')}.{y}.{vf}{'.'+source}.{vc}.{ac}"
filebot -script fn:configure
timeout /t 30 /nobreak
filebot -script fn:amc "D:/TV" --output "F:/Series" --log-file amc.log --action move --conflict auto -non-strict --def subtitles=en,pb,pob "ut_label=tv" "seriesFormat=F:/Series/{n}/{'S'+s}/{fn}"
filebot -script fn:cleaner "D:/Movies" "D:/TV"
Re: How to use the amc script in stand-alone mode?
Posted: 19 May 2015, 07:06
by rednoah
1)
utorrent can't know what you're doing. You decide where to put files.
2)
Why pb AND pob? One of them should be just fine.
3)
Why did you remove the exclude list? Trying to get yourself banned?
4)
filebot -script fn:configure requires manual input. What are you trying to do? You only need to configure OpenSubtitles login details once.