Page 1 of 1

AMC unable to determine anime

Posted: 31 Jul 2016, 14:32
by alolagopus
Hi,

I'm running filebot amc script on a headless maching with Ubuntu 14LTS on board.
For some reason, it insists on processing anime as tv shows.
This is happening despite all the checkboxes for Anime recognition ticked, i.e. there's Anime in path, there's a checksum in a file, I set the ut_label=Anime.
Example:

Code: Select all

ek@mole:~$ filebot -script fn:amc --action test \
> -non-strict "/home/ek/download/Anime/Bamboo Blade/[Exiled-Destiny]_Bamboo_Blade_Ep01_(7992B357).mkv" --log-file /home/ek/logs/filebot/amc_anime.log \
> --conflict skip \
> --def "seriesFormat=/mnt/Video/Series/{s00e00} - {t}" \
> --def "animeFormat={n}/Season {s}/{s00e00} - {t}" \
> --def "ut_label=Anime"
Locking /home/ek/logs/filebot/amc_anime.log
Run script [fn:amc] at [Sun Jul 31 15:27:47 BST 2016]
Parameter: seriesFormat = /mnt/Video/Series/{s00e00} - {t}
Parameter: animeFormat = {n}/Season {s}/{s00e00} - {t}
Parameter: ut_label = Anime
Argument: /home/ek/download/Anime/Bamboo Blade/[Exiled-Destiny]_Bamboo_Blade_Ep01_(7992B357).mkv
Input: /home/ek/download/Anime/Bamboo Blade/[Exiled-Destiny]_Bamboo_Blade_Ep01_(7992B357).mkv
Group: [tvs:bamboo blade] => [[Exiled-Destiny]_Bamboo_Blade_Ep01_(7992B357).mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Bamboo Blade, Exiled Destiny Bamboo Blade]
Fetching episode data for [Bamboo Blade]
[TEST] Rename [/home/ek/download/Anime/Bamboo Blade/[Exiled-Destiny]_Bamboo_Blade_Ep01_(7992B357).mkv] to [/mnt/Video/Series/S01E01 - The Broom and Ally of Justice.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
As you can see, it picks the "TV show" format instead of "Anime" format here and uses TheTVDB instead of AniDB

Thanks for any help

Re: AMC unable to determine anime

Posted: 31 Jul 2016, 14:39
by rednoah
For some reason forceSeries evaluates to true:
https://github.com/filebot/scripts/blob ... groovy#L69

It seems that the EP01 pattern forces series mode. This behaviour will probably need to be reconsidered.


EDIT: Fixed. Use -script dev:amc to run the latest revision.

Re: AMC unable to determine anime

Posted: 31 Jul 2016, 15:53
by alolagopus
It works on my end as well now, thank you very much for such a quick response!