Renaming and organizing post-torrent completion.

Any questions? Need some help?
Post Reply
xato
Posts: 2
Joined: 18 Apr 2014, 13:08

Renaming and organizing post-torrent completion.

Post by xato »

Hi
First of all, I'm amazed by your work on this - I love it a lot! My light-OCD organizing needs are singing in my heart :P
Though I might be easy to impress - due to my lacking skills of coding.. :oops:

I have been reading the forums and stickies, trying to create something for my self and I'm having a bit of trouble. What I am trying to do is nothing too fancy, but I can't find anything that I can adapt from completely. I download anime, TV-shows and movies, and all of them are in separate folders naturally and it would be nice to have them moved and organized correctly with subs. So in short: subbing, renaming and sorting(--Move).

This is what I currently use with uTorrent:

Code: Select all

filebot -script fn:amc --output "D%" --log-file amc.log --log-lock true --action copy --conflict override -non-strict --def music=n subtitles=en artwork=n "seriesFormat=E:/Series/{n}/Season {s}/{n} - {S00E00} - {t}" "animeFormat=E:/Anime/{n} {y} ({vf})" "movieFormat=H:/Movies/{n} {y} ({vf})" "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
I am trying to make batfile of this, so I can run it manually, only with '--action move' instead of copy. It is probably simple, but my head is spinning after days of reading and trying to understand how this works. I only know basic HTML, CSS and just started Java - so I'm really trying :oops:

Could I at least get a push in the right direction?
Thanks in advance for any help :)
\\Best regards - Xato
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Renaming and organizing post-torrent completion.

Post by rednoah »

1.
Input folder must not be the same as output folder, and one must not contain the other.

2.
It's %D and not D%

3.
You cannot use the same command for utorrent and as bash script.

4.
Manual contains an example for simple cmdline usage, though this is for scheduled runs:

Code: Select all

filebot -script fn:amc --output "/path/to/output" --action copy -non-strict "/path/to/input" --def excludeList=amc.txt
If you wanted some sort of alias like "amc <file>" for manual calls you can make a simple bat file like this:

Code: Select all

filebot -script fn:amc --output "/path/to/output" --action move -non-strict %*
:idea: Please read the FAQ and How to Request Help.
xato
Posts: 2
Joined: 18 Apr 2014, 13:08

Re: Renaming and organizing post-torrent completion.

Post by xato »

Thank you, Rednoah :D
This is what I ended up with in my bat file and it worked nicely after a bit of tinkering. 8-)

Code: Select all

taskkill /F /IM uTorrent.exe

call filebot -script fn:amc "E:/complete" --action move -non-strict --def music=n subtitles=en artwork=n "seriesFormat=E:/Series/{n}/Season {s}/{n} - {S00E00} - {t}" "animeFormat=E:/Anime/{n} {y} ({vf})" "movieFormat=H:/Movies/{n} {y} ({vf})" excludeList=amc.txt

call filebot -script fn:cleaner "E:/complete" --def "exts=dat
Again, thank you!
\\Best regards - Xato
Post Reply