Wrong database selected in AMC

Any questions? Need some help?
Post Reply
Ph3n1x
Posts: 1
Joined: 27 Jul 2020, 22:19

Wrong database selected in AMC

Post by Ph3n1x » 27 Jul 2020, 22:35

Hi there!

I have started a docker container: rednoah/filebot with command like:

Code: Select all

/volume1/input --log-file /data/log/amc.log --output /volume1/output --action move --conflict auto --def artwork=n --def music=y --def clean=y --def movieFormat={plex} --def musicFormat={plex} --def seriesFormat={plex} --def animeFormat={plex} --def subtitles=de,en
After I put a file into /volume1/input it gets analysed and moved to /volume1/output in plex format. This is working quite good, but I recently have some errors, that the wrong database (i.e. TheTVDB instead of AniDB) is queried:

Code: Select all

/volume1/input/[HorribleSubs] Detective Conan - 976 [1080p].mkv: video/x-matroska                                                                                                                                                                                                             
Run script [fn:amc] at [Mon Jul 27 21:49:18 GMT 2020]                                                                                                                                                                                                                                         
Parameter: excludeList = .excludes                                                                                                                                                                                                                                                            
Parameter: unsorted = y                                                                                                                                                                                                                                                                       
Parameter: music = y                                                                                                                                                                                                                                                                          
Parameter: artwork = n                                                                                                                                                                                                                                                                        
Parameter: clean = y                                                                                                                                                                                                                                                                          
Parameter: movieFormat = {plex}                                                                                                                                                                                                                                                               
Parameter: musicFormat = {plex}                                                                                                                                                                                                                                                               
Parameter: seriesFormat = {plex}                                                                                                                                                                                                                                                              
Parameter: animeFormat = {plex}                                                                                                                                                                                                                                                               
Parameter: subtitles = de,en                                                                                                                                                                                                                                                                  
Argument[0]: /volume1/input                                                                                                                                                                                                                                                                   
Activate License ***** (removed) *****
Use excludes: /volume1/output/.excludes (441)                                                                                                                                                                                                                                                 
Ignore hidden: /volume1/input/[email protected]__thumb                                                                                                                                                                                                                                                       
Input: /volume1/input/[HorribleSubs] Detective Conan - 976 [1080p].mkv                                                                                                                                                                                                                        
Group: {Anime=detective conan} => [[HorribleSubs] Detective Conan - 976 [1080p].mkv]                                                                                                                                                                                                          
Rename episodes using [TheTVDB] with [Absolute Order]                                                                                                                                                                                                                                         
Auto-detected query: [Detective Conan]                                                                                                                                                                                                                                                        
Fetching episode data for [Detective Conan (2011)]                                                                                                                                                                                                                                            
Fetching episode data for [Detective Conan]                                                                                                                                                                                                                                                   
Fetching episode data for [Detective Cain]                                                                                                                                                                                                                                                    
Fetching episode data for [Ties That Bind]                                                                                                                                                                                                                                                    
Fetching episode data for [Detectives]                                                                                                                                                                                                                                                        
[MOVE] from [/volume1/input/[HorribleSubs] Detective Conan - 976 [1080p].mkv] to [/volume1/output/TV Shows/Detective Conan/Detective Conan - E976 - Pursuit! The Detective Taxi.mkv]
Why the heck is TheTVDB instead of AniDB used herer? Previous episoded did not have that problem and got sorted correctly:

Code: Select all

Input: /volume1/input/[HorribleSubs] Detective Conan - 974 [1080p].mkv                                                                                                                                                                                                                        
Group: {Anime=detective conan} => [[HorribleSubs] Detective Conan - 974 [1080p].mkv]                                                                                                                                                                                                          
Rename episodes using [AniDB] with [Absolute Order]                                                                                                                                                                                                                                           
Auto-detected query: [Detective Conan]                                                                                                                                                                                                                                                        
Fetching episode data for [Meitantei Conan]                                                                                                                                                                                                                                                   
Fetching episode data for [Meitantei Conan: Conan to Heiji to Kieta Shounen]                                                                                                                                                                                                                  
Fetching episode data for [Meitantei Conan: 16 Nin no Yougisha]                                                                                                                                                                                                                               
Fetching episode data for [Meitantei Conan: 10 Nengo no Stranger]                                                                                                                                                                                                                             
Fetching episode data for [Meitantei Conan: Conan vs Kid vs Yaiba]                                                                                                                                                                                                                            
[MOVE] from [/volume1/input/[HorribleSubs] Detective Conan - 974 [1080p].mkv] to [/volume1/output/Anime/Meitantei Conan/Meitantei Conan - 974 - Target - MPD Transportation Department.mkv]
Is there something wrong on my side? Or has anything regarding anime handling changed? How to make sure, that AniDB is used instead of TheTVDB for animes?

Best regards
Ph3n1x

User avatar
rednoah
The Source
Posts: 18608
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Wrong database selected in AMC

Post by rednoah » 28 Jul 2020, 03:08

The default --def animeDB has indeed been changed to TheTVDB. You can force AniDB by passing in --def animeDB=AniDB though:

Code: Select all

--def animeDB=AniDB

:idea: This change has been made in response to various AniDB related issues that make it ill-suited for automated setups in some cases that we would prefer to work out of the box.


EDIT:

:?: But looking at your logs, perhaps it would be better to keep the original behaviour and make using --def animeDB=TheTVDB opt-in?
:idea: Please read the FAQ and How to Request Help.

Post Reply