Page 1 of 1
AMC Script Doesn't Recognize Anime File Correctly
Posted: 16 May 2015, 10:21
by alexkwa
I'm on Mac using the latest portable Filebot CLI. I'm using the latest
https://github.com/filebot/scripts/blob ... amc.groovy in github with no modifications to the script.
It renames my file, but sees it as a TV Show instead of an Anime.
This is my exact CLI command.
Code: Select all
/Users/alexkwa/Desktop/filebot/filebot.sh -script "/Users/alexkwa/Desktop/amc.groovy" --output "/Volumes/Media" -non-strict "/Volumes/MEDIA/5Assassination Classroom S01E14 Vision Time.mkv" --conflict auto --def unsorted=y excludeList=amc-input.txt clean=y "movieFormat=/Movies/English/{n}" "seriesFormat=/Volumes/Media/TV Shows/English/{n}/Season {s}/{n} {S00E00} {t}" "animeFormat=/Volumes/Media/Anime/{n}/{(s) ? {s}/ : {n} - {e}}"
Re: AMC Script Doesn't Recognize Anime File Correctly
Posted: 16 May 2015, 14:49
by rednoah
Please give me the file paths and/or post the logs =>
viewtopic.php?f=6&t=1868
Re: AMC Script Doesn't Recognize Anime File Correctly
Posted: 17 May 2015, 01:44
by alexkwa
I'm sorry about that. And thank you for your reply.
Here's my log
Code: Select all
Run script [/Users/alexkwa/Desktop/amc.groovy] at [Sun May 17 10:43:42 JST 2015]
Parameter: unsorted = y
Parameter: excludeList = amc-input.txt
Parameter: clean = y
Parameter: movieFormat = /Movies/English/{n}
Parameter: seriesFormat = /Volumes/Media/TV Shows/English/{n}/Season {s}/{n} {S00E00} {t}
Parameter: animeFormat = /Volumes/Media/Anime/{n}/{(s) ? {s}/ : {n} - {e}}
Argument: /Volumes/MEDIA/5Assassination Classroom S01E14 Vision Time.mkv
Using excludes: /Volumes/MEDIA/amc-input.txt (159)
Input: /Volumes/MEDIA/5Assassination Classroom S01E14 Vision Time.mkv
Group: [tvs:assassination classroom] => [5Assassination Classroom S01E14 Vision Time.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Assassination Classroom]
Fetching episode data for [Assassination Classroom]
[MOVE] Rename [/Volumes/MEDIA/5Assassination Classroom S01E14 Vision Time.mkv] to [/Volumes/Media/TV Shows/English/Assassination Classroom/Season 1/Assassination Classroom S01E14 Vision Time.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
And my sysinfo
Code: Select all
FileBot 4.5.7 (r2925)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (darwin/libmediainfo.dylib) not found in resource path ([file:/Users/alexkwa/Desktop/filebot/FileBot.jar])
p7zip: java.io.IOException: Cannot run program "7z": error=2, No such file or directory
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Groovy Engine: 2.3.9
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 18 MB Used Memory
OS: Mac OS X (x86_64)
uname: Darwin Alexs-Home-MacBook-Pro.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
Done ヾ(@⌒ー⌒@)ノ
Re: AMC Script Doesn't Recognize Anime File Correctly
Posted: 17 May 2015, 09:45
by rednoah
How do you know that this file is an Anime?
Code: Select all
/Volumes/MEDIA/5Assassination Classroom S01E14 Vision Time.mkv
'cause it looks like a TV Series to me, and FileBot =>
viewtopic.php?f=4&t=1508
Re: AMC Script Doesn't Recognize Anime File Correctly
Posted: 17 May 2015, 12:56
by alexkwa
http://thetvdb.com/?tab=series&id=283947
Because it is, in fact, an anime. Is there a way for AMC to detect Animation genre and existing Japanese name to identify it as anime?
Re: AMC Script Doesn't Recognize Anime File Correctly
Posted: 17 May 2015, 18:24
by rednoah
1)
No. There's many non-Japanese Animation-genre TV Shows that happen to have a Japanese title because they were Aired at some point. Also FileBot doesn't retrieve full metadata until it has selected a database / series so that information isn't available at the time.
2)
You can force AniDB by passing
--def ut_label=anime
3)
If TheTVDB is used for processing you have access to all the metadata like genre and network so you could do some customisations for TheTVDB Anime in your format.
e.g.
Code: Select all
{genres =~ /Animation/ ? "../Anime/" : "TV Shows/"}
Re: AMC Script Doesn't Recognize Anime File Correctly
Posted: 18 May 2015, 05:30
by alexkwa
Thanks for your help so far.
I was under the impression that AMC can recognise the title, and select the appropriate database to get the title from. The title is available from AniDB
http://anidb.net/perl-bin/animedb.pl?sh ... &aid=10702 but why doesn't it pull the title from the right database?
Re: AMC Script Doesn't Recognize Anime File Correctly
Posted: 18 May 2015, 12:20
by rednoah
If the title IS in AniDB and IS NOT in TheTVDB then it'll pull the title from the "right" database.
If the title IS in AniDB and IS in TheTVDB then it's anyones guess. Anime don't have seasons. Your files use a standard TV Show numbering scheme that includes season number. Hence TheTVDB is used.
Also, an Anime that looks like (and matches) a TV Show being processes as such is perfectly acceptable. On the other hand, TV Shows being being processed as Anime is absolutely unacceptable. Hence TheTVDB will always and must always have priority if there is any uncertainty.
Just use --def ut_label=anime to force the behaviour that you deem to be correct one.
Re: AMC Script Doesn't Recognize Anime File Correctly
Posted: 19 May 2015, 05:17
by alexkwa
Thanks for your explanation. I will think of a way to foolproof the automation.