Page 1 of 1

Command line not renaming files in Anime

Posted: 01 Jan 2015, 14:40
by vballrican
Hello all, so my command line process was working fine a few days ago and today it won't rename the files... :(

Here's what i'm using:

filebot -script fn:amc --output "H:/Media" -non-strict "H:/New" --log-file amc.log --action copy --def artwork=y "seriesFormat=H:/Media/TV/{n} [{certification}, {genre}, {y}]/{'Season '+s}/{n} - {s00e00} - {t}" "animeFormat=H:/Media/Anime/{n} ({certification}, {genre}, {y})/{fn}" "movieFormat=H:/Media/Movies/{n} {y} ({certification} {Genre})/{n}" "musicFormat=H:/Media/Music/{n}/{fn}" excludeList=amc.txt

Why is it not renaming the file now?

Using this: {n} [{certification}, {genre}, {y}]/{'Season '+s}/{n} - {s00e00} - {t} in the GUI works fine and it renames the files and folder.

Thank in advance.

Re: Command line not renaming files in Anime

Posted: 01 Jan 2015, 19:54
by rednoah
If it works in the GUI then it'll also work from cmdline, assuming everything is the same.

1.
animeFormat is applied to files that are processed as Anime, i.e. processed with AniDB, which does not support {certification}.

2.
You show that {certification} works when processing files via TheTVDB, which does support {certification} data.

3.
Your animeFormat specifies {fn} as the filename, and not {n} - {s00e00} - {t}, which you presumably want.

Re: Command line not renaming files in Anime

Posted: 01 Jan 2015, 20:58
by vballrican
rednoah wrote:If it works in the GUI then it'll also work from cmdline, assuming everything is the same.

1.
animeFormat is applied to files that are processed as Anime, i.e. processed with AniDB, which does not support {certification}.

2.
You show that {certification} works when processing files via TheTVDB, which does support {certification} data.

3.
Your animeFormat specifies {fn} as the filename, and not {n} - {s00e00} - {t}, which you presumably want.

Thank you! You stated earlier that theTVDB doesn't work with the amc script... is there a way to force it? I tried using --db theTVDB but that doesn't seem to work.

Also, I have a folder with the anime I want to process and some get processed as TV Shows(theTVDB, showing everything fine including rename) and some get processed as Anime(These are the ones not renaming) How can I force the script to use the TV format and not Anime?

Thanks in advanced.

Re: Command line not renaming files in Anime

Posted: 01 Jan 2015, 22:24
by rednoah
Since the files use absolute numbering and contain CRC32 checksums in the filename the amc script will processed them in Anime mode. You might be able to force it via --def ut_label=TV as per amc script documentation.

Re: Command line not renaming files in Anime

Posted: 02 Jan 2015, 16:37
by vballrican
rednoah wrote:Since the files use absolute numbering and contain CRC32 checksums in the filename the amc script will processed them in Anime mode. You might be able to force it via --def ut_label=TV as per amc script documentation.
Ahh..thanks. I saw that but didn't know what it meant. Will change it today and see how it goes. Thank a lot.