Hi Tuffo,
Thanks for all the updates along the way to what is a very awesome little agent, however I've noticed that this scanner seems to have some pretty serious issues I've run into with two particular types of Anime:
1. Those with funky characters: Anime such as [Steins;Gate], [Say 'I Love You'], and even [code Geass: Hangyaku no Lelouch R2] all have issues with both manual and auto searching.
2. Those with craploads of episodes (mainly those with over 100 episodes): Anime such as [Bleach], [InuYasha], [Naruto], and [Naruto Shippuuden].
The problem these have fall into two categories:
1. Ban by "too many faults" - Basically, all the failed search attempts, and then (in the case of Bleach, Naturo, etc..) when it does find it - all the episode requests... I get banned time and time and time again. I've been speaking to one of the admins on anidb.net, and he's said the following:
The ban is coming from what I've happily termed "too many faults". This is almost always caused by the client asking for data that doesn't exist -- deleted records or the like. Typically these bans last for a few hours and drop, but they keep the count just at the threshold level, so if the client's behaviour reoccurs, it gets nabbed much faster than it would have originally. This is almost certainly what you're seeing happening now.
If I had to make guesses (and the logs do back this up, to a point), it would be that the plex client authors are making a number of calls for episode details, based on the number of episodes in the title. This, being a bit of a shotgun approach, is what is requesting the missing data.
2. It doesn't like 'hundredth' episodes (100, 200, 300, etc.): If it manages to get past the searching and the episode requests and the half-dozen bans along the way, things like InuYasha's episode 100 get mistaken as episode '0'.
In the end, I gave up fighting the bans and failed searches with [Steins;Gate] and [Say 'I Love You'], and managed to get them to work with the TVDB agent, and most episodes of InuYasha are sorted (hasn't seemed to have detected beyond episode 100, or 0 as it refers to it, but that may be a scanning issue). As for the others... I'm just hoping that by reducing the number of attempts spent on the two I've now got sorted, there'll be more room left in the 'keep trying until you get banned again' line-up to get through the rest, lol.
For reference, I'm using 'v12' of the agent, and PMS 0.9.8.3 running on a Synology DS2413+ NAS.
Any suggestions? :-/
Cheers,
~Ithiel
Edit: Just as a side note, here's a bit from the log of my most recent ban-hammer experience, lol
2013-08-04 21:22:04,526 (3800b) : INFO (__init__:71) - Auth ok!
2013-08-04 21:22:04,544 (3800b) : INFO (__init__:183) - Trying to lookup /volume1/media/Anime/Naruto (2002 TV-PG)/Naruto - 220 - Going On A Journey [480p XviD MP3 2ch].avi by file on anidb
2013-08-04 21:22:45,082 (3800b) : INFO (__init__:186) - Could not load file data, msg: Command has timed out
2013-08-04 21:22:45,097 (3800b) : INFO (__init__:195) - Trying to lookup Naruto 2002 Tv Pg by name on anidb
2013-08-04 21:22:45,112 (3800b) : INFO (__init__:198) - Could not load anime data, msg: Not sending, banned
2013-08-04 21:22:45,133 (3800b) : CRITICAL (agentkit:930) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'openSubtitlesHash': '6868ecd59b72c24e', 'episode': '20', 'episodic': '1', 'show': 'Naruto 2002 Tv Pg', 'season': '2', 'filename': '%2Fvolume1%2Fmedia%2FAnime%2FNaruto%20(2002%20TV-PG)%2FNaruto%20-%20220%20-%20Going%20On%20A%20Journey%20[480p%20XviD%20MP3%202ch]%2Eavi', 'plexHash': '403bb7f7d723af53cbc1879a45233c1eac5cda8a', 'duration': '1384824', 'id': '51108'} (most recent call last):
File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 923, in _search
agent.search(results, media, lang)
File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/AniDB.bundle/Contents/Code/__init__.py", line 283, in search
self.doSearch(results, media, lang)
File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/AniDB.bundle/Contents/Code/__init__.py", line 226, in doSearch
fileInfo = self.doNameSearch(results, metaName, connection)
File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/AniDB.bundle/Contents/Code/__init__.py", line 199, in doNameSearch
raise e
AniDBError: Not sending, banned
Thanks ^.^