Page 1 of 1

Beginner AMC Help

Posted: 26 Apr 2016, 17:09
by pranjal3029
Hello Everyone,

I have just started using Plex and Filebot a couple of days back. I am intrigued by and interested in the AMC Script for uTorrent/BitTorrent for windows. Till now, I did everything manually, from downloading the torrent to organizing and renaming it. But now that I have discovered these great programs, I just want help automating the process.

Right now, My media is fairly organized as follows:

English Movies - D:/Hollywood
Hindi Movies - D:/Bollywood
TV Series(Only English) - D:/TV Series

I am using BitTorrent on Windows and I just want to clear up a few things in the amc script:

My aim: Episodes copy themselves to their folders, rename themselves and download the english subtitles from OpenSubtitles(in that order)

My TV Series are currently organized like this:

D:/TV Series/<Series Name>/<Season>

Code: Select all

filebot -script fn:amc --output "X:/Media" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
Q1 - Is this the entire script? If yes, then where do we specify the naming scheme? If no, how and what parameters do we have to add to achieve my goal?

Q2 - As I only want to run filebot on TV Shows and not other torrents, can we specify the script to work only if the label is "TV Series" in BitTorrent?

Q3 - Sometimes, the episodes come with a .nfo and/or .txt accompanying it. Can we configure the script to delete those on completion?

Q4 - For the amc script to be working properly, what should be my output value so that my episodes go into their folder(TV Series not TV Shows)?

I am sorry if this is too basic/obvious of a question but the script is very vague/hard to understand for me and I do not have any prior experience with such scripts

Re: Beginner AMC Help

Posted: 26 Apr 2016, 19:52
by Tympanix
Q1:
The script has many more configurations and arguments. I would suggest you to read through viewtopic.php?f=4&t=215 very closely (more than once). Alternatively go to the script source for a thorough look https://github.com/filebot/scripts/blob ... amc.groovy.

Your naming scheme can be set as follows (copy/paste from link above):

Code: Select all

--def "seriesFormat=S:/TV/{n}/{'S'+s}/{fn}" "animeFormat=T:/Anime/{n}/{fn}" "movieFormat=M:/Movies/{ny}/{fn}" "musicFormat=N:/Music/{n}/{fn}"
Q2:
Again, from the link above:
You can (and should) force Movie/Series/Anime mode or force ignore files via labels, e.g. label as Movie to force TheMovieDB, Series to force TheTVDB, Anime to force AniDB, or other to ignore all files. Alternatively, folder names such as Movies/TV Shows/Anime may also be used to force a specific mode.
A label of other should ignore all files. Else implement this in a simple bash script.

Q3:
The AMC script automaticly cleans up after renaming/moving files with

Code: Select all

--def clean=y
Q4:
See this for AMC default naming schemes: viewtopic.php?f=5&t=2#p51

In your case it would be something like:

Code: Select all

--def "seriesFormat=D:/TV Series/{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}{'.'+lang}"