Page 1 of 1

AMC using wrong name for anime, it got truncated?

Posted: 21 Oct 2018, 09:09
by OtsuKimiko
I expected the episode to be put into a folder named "Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai", but instead it creates a folder named "Buta" which is a title for a different series.

How can I fix this?


AMC script

Code: Select all

filebot -script fn:amc --output "M:/" --log-file amc.log --action move -non-strict "Q:/Download_Temp/Complete" --def unsorted=y "animeFormat=/{n}/{fn}" "movieFormat=/{n}/{fn}" "seriesFormat=/{n}/{fn}" --def excludeList=amc.txt -no-xattr  --def "exec=M:/Plex.bat"
Log

Code: Select all

Run script [fn:amc] at [Wed Oct 17 21:19:54 PDT 2018]
Parameter: unsorted = y
Parameter: animeFormat = /{n}/{fn}
Parameter: movieFormat = /{n}/{fn}
Parameter: seriesFormat = /{n}/{fn}
Parameter: exludeList = amc.txt
Parameter: exec = M:/Plex.bat
Argument[0]: Q:\Download_Temp\Complete
Input: Q:\Download_Temp\Complete\Seishun Buta Yarou wa Bunny Girl Senpai no Yume wo Minai - 03 [720p].mkv
Group: [anime:buta] => [Seishun Buta Yarou wa Bunny Girl Senpai no Yume wo Minai - 03 [720p].mkv]
Rename episodes using [AniDB]
Auto-detected query: [Buta, seishun buta yarou wa bunny girl senpai no yume wo minai]
Fetching episode data for [Buta]
Fetching episode data for [Buta Hime-sama]
[MOVE] From [Q:\Download_Temp\Complete\Seishun Buta Yarou wa Bunny Girl Senpai no Yume wo Minai - 03 [720p].mkv] to [M:\Buta\Seishun Buta Yarou wa Bunny Girl Senpai no Yume wo Minai - 03 [720p].mkv]
Processed 1 files

Re: AMC using wrong name for anime, it got truncated?

Posted: 21 Oct 2018, 10:36
by rednoah
1.
What does filebot -script fn:sysinfo say?


2.
Since you're using English language preferences, the expected value is Rascal Does Not Dream of Bunny Girl Senpai:

Code: Select all

$ filebot -list --q "Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai" --db AniDB
Rascal Does Not Dream of Bunny Girl Senpai - 01 - My Senpai Is a Bunny Girl
...
:arrow: https://anidb.net/perl-bin/animedb.pl?s ... &aid=13900


By using {n}/{fn} you're obfuscating the issue. Which episode was matched to this file? Most likely, this one:

Code: Select all

$ filebot -list --q "buta" --db AniDB
Buta - 01 - TV Special
:arrow: https://anidb.net/perl-bin/animedb.pl?s ... e&aid=8467


:?: Not sure why it doesn't work for you though. It should work. Are you using an outdated version of FileBot?

Re: AMC using wrong name for anime, it got truncated?

Posted: 21 Oct 2018, 12:15
by OtsuKimiko
I'm using filebot 4.7.9

filebot -script fn:sysinfo from command prompt

Code: Select all

FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-16 (r516)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_181
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 6 Core / 912 MB Max Memory / 24 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
I used {n}/{fn} because I want to keep the original filename, but have the folder name it goes into matched.

Weird, when I try using

Code: Select all

$ filebot -list --q "Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai" --db AniDB
I get this

Code: Select all

AniDB: no results
Failure (°_°)

Re: AMC using wrong name for anime, it got truncated?

Posted: 21 Oct 2018, 12:29
by OtsuKimiko
So I installed 4.8.2 and

Code: Select all

filebot -list --q "Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai" --db AniDB
output works, but my script can't be executed because I don't have a license. Didn't know filebot is no longer free.

Re: AMC using wrong name for anime, it got truncated?

Posted: 22 Oct 2018, 09:42
by orcoboi
I have the same problem with the same version and the same series, my quick, dirty fix for 4.7.9 was forcing the file name through the naming scheme and quering AniDB for another series with 13 episodes to get the correct numbering:

Code: Select all

naming scheme: D:/Media/Anime/Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai/Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai - {e.pad(2)}

--q "Overlord III" 
Note that this solution works because I don't need the episode name in the filename, since Plex handles it in its UI

Re: AMC using wrong name for anime, it got truncated?

Posted: 23 Oct 2018, 05:27
by rednoah
orcoboi wrote: 22 Oct 2018, 09:42 I have the same problem with the same version and the same series, my quick, dirty fix for 4.7.9 was forcing the file name through the naming scheme and quering AniDB for another series with 13 episodes to get the correct numbering:

Code: Select all

naming scheme: D:/Media/Anime/Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai/Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai - {e.pad(2)}

--q "Overlord III" 
Note that this solution works because I don't need the episode name in the filename, since Plex handles it in its UI
This makes no sense.

You can use Plain File Mode instead to rewrite file names:
viewtopic.php?f=3&t=2072

--db file is only supported in newer versions, but --db xattr -non-strict is effectively the same.

Re: AMC using wrong name for anime, it got truncated?

Posted: 23 Oct 2018, 06:10
by orcoboi
It might make no sense, but it works ¯\_(ツ)_/¯