AniDB metadata agent

Little bit confused, the summery descriptions for each episode of the anime series isn't transferring over. For example the first few episodes of the http://anidb.net/perl-bin/animedb.pl?show=anime&aid=4563 (death note series) isn't downloading to my episodes.

AniDB has no summary description on the episodes, just on the series as a whole.

AniDB has no summary description on the episodes, just on the series as a whole.

I'm sure they do? http://anidb.net/perl-bin/animedb.pl?show=addep&aid=4563&edit=63217 Is it not possible to import that data?

I'm sure they do? http://anidb.net/perl-bin/animedb.pl?show=addep&aid=4563&edit=63217 Is it not possible to import that data?

Not as far as the UDP API goes I'm afraid.

Thanks for your fantastic work!!!!! Really.

But somehow I seem to have a problem with series with a lot of episodes to get their new metadata from your plugin.

In the anidb.log I see that everything works fine, the plugin hashes, then does provide the result.

But in the "Plex Media Server.log" it says something of an timeout even before the plugin is done with its work:

Apr 05, 2013 19:58:11 [0xf2a11b90] ERROR - Error issuing curl_easy_perform(handle): 28
Apr 05, 2013 19:58:11 [0xf2a11b90] WARN - Error issuing request to: http://127.0.0.1:45486/:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKNwpzMgplbnM0CmxhbmdiMXM1CmZvcmNlbnMxMApwYXJlbnRHVUlEczcKVFZfU2hvd3MxMAptZWRpYV90eXBlczUKMTc5NjFzNApkYmlkczM5CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYjovLzE1NTI%40bGFuZz1lbnM0Cmd1aWRzNAoxNTUyczIKaWRyMAo_ (28, Timeout was reached) (Operation too slow. Less than 1 bytes/sec transferred the last 300 seconds)
Apr 05, 2013 19:58:11 [0xf2a11b90] DEBUG - [com.plexapp.agents.anidb] HTTP reply status 408, with 0 bytes of content.
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG - Request: GET /:/metadata/notify?guid=com.plexapp.agents.anidb%3A%2F%2F1552%3Flang%3Den&path=TV+Shows%2F2%2Fe31b23b4978ffea6cdc3b12c5059a345c5ded18.bundle&force=1&queueSize=0&id=17961&success=0&async=1 [127.0.0.1:39439] (2 live)
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * guid => com.plexapp.agents.anidb://1552?lang=en
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * path => TV Shows/2/e31b23b4978ffea6cdc3b12c5059a345c5ded18.bundle
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * force => 1
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * queueSize => 0
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * id => 17961
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * success => 0
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * async => 1
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG - Queueing up com.plexapp.agents.anidb://1552?lang=en for loading, there are 0 items in the queue.
Apr 05, 2013 19:58:21 [0xf2435b90] DEBUG - Notification of new metadata for com.plexapp.agents.anidb://1552?lang=en [id=17961] (success=0) for 1 items.
Apr 05, 2013 19:58:21 [0xf2435b90] WARN - Error refreshing metadata for com.plexapp.agents.anidb://1552?lang=en

Do you know of any method, to tell Plex Media Server to wait longer before timeouting your plugin? Any kind of settings or ini file to change?

Maybe also you want to consider to implement something like "wait server, wait, I am not done yet, be patient!" message for the Plex Media Server? Is that even possible?

And again, BIG THANKS FOR YOUR PERFECT WORK!

Thanks for your fantastic work!!!!! Really.

But somehow I seem to have a problem with series with a lot of episodes to get their new metadata from your plugin.

In the anidb.log I see that everything works fine, the plugin hashes, then does provide the result.

But in the "Plex Media Server.log" it says something of an timeout even before the plugin is done with its work:

Apr 05, 2013 19:58:11 [0xf2a11b90] ERROR - Error issuing curl_easy_perform(handle): 28
Apr 05, 2013 19:58:11 [0xf2a11b90] WARN - Error issuing request to: http://127.0.0.1:45486/:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKNwpzMgplbnM0CmxhbmdiMXM1CmZvcmNlbnMxMApwYXJlbnRHVUlEczcKVFZfU2hvd3MxMAptZWRpYV90eXBlczUKMTc5NjFzNApkYmlkczM5CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYjovLzE1NTI%40bGFuZz1lbnM0Cmd1aWRzNAoxNTUyczIKaWRyMAo_ (28, Timeout was reached) (Operation too slow. Less than 1 bytes/sec transferred the last 300 seconds)
Apr 05, 2013 19:58:11 [0xf2a11b90] DEBUG - [com.plexapp.agents.anidb] HTTP reply status 408, with 0 bytes of content.
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG - Request: GET /:/metadata/notify?guid=com.plexapp.agents.anidb%3A%2F%2F1552%3Flang%3Den&path=TV+Shows%2F2%2Fe31b23b4978ffea6cdc3b12c5059a345c5ded18.bundle&force=1&queueSize=0&id=17961&success=0&async=1 [127.0.0.1:39439] (2 live)
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * guid => com.plexapp.agents.anidb://1552?lang=en
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * path => TV Shows/2/e31b23b4978ffea6cdc3b12c5059a345c5ded18.bundle
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * force => 1
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * queueSize => 0
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * id => 17961
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * success => 0
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG -  * async => 1
Apr 05, 2013 19:58:21 [0xf2a11b90] DEBUG - Queueing up com.plexapp.agents.anidb://1552?lang=en for loading, there are 0 items in the queue.
Apr 05, 2013 19:58:21 [0xf2435b90] DEBUG - Notification of new metadata for com.plexapp.agents.anidb://1552?lang=en [id=17961] (success=0) for 1 items.
Apr 05, 2013 19:58:21 [0xf2435b90] WARN - Error refreshing metadata for com.plexapp.agents.anidb://1552?lang=en

Do you know of any method, to tell Plex Media Server to wait longer before timeouting your plugin? Any kind of settings or ini file to change?

Maybe also you want to consider to implement something like "wait server, wait, I am not done yet, be patient!" message for the Plex Media Server? Is that even possible?

And again, BIG THANKS FOR YOUR PERFECT WORK!

I wouldn't say perfect, but thanks :) The agent framework doesn't seem to have a timeout value that can be set, but perhaps the Plex devs can give any input of this. An agent has no notion of being called over HTTP, that's all hidden.

I'm sorry for any confusion, but it is the 'sort title' that is labeled but not the episode title. I don't think AniDB had anything to do with the Sort Title as it has only applied to the first 48 episodes (seen as Season 1 on TheTVDB). Here is a screenshot showing what is happening:

CKfze2V.png

To avoid any confusion, the first episode really is titled Fairy Tail even though it is the same as the Anime's title.

I just created a folder called "Fairy Tail", then three dummy episodes (1, 2 and 49) with the names "Fairy Tale - exx.mkv" and ran the agent matching by name. Matching works ok, I get episodes titles and rating. Episode 1 and 49 got the episode name (except for stop words) as sort title, but episode 2 got no sort title at all. This must be Plex's own doing, like I said the agent does not set this. Not sure why it works sometimes and sometimes not though.

It looks like I've been banned for flooding anidb using this again - had a few weeks without internet while between houses and once I reconnected and started catching up with stuff I think it ended up querying similar info multiple times. :(

I think the root of the problem is longer series eg Naruto, where every episode has to be re-requested when one or more episodes are added. If those calls are limited only by the speed with anidb can serve them then eventually you hit their flood protection. Do it a few times and you're banned. I'm not sure what the best approach is here but I wonder if there might be some ways the amount of data queried from anidb could be limited.

In the mean time I'll go ask them to unban me, I think this time it might have been permanent since I've been unable to connect for nearly a week.

Hi, took the liberty to change some things in this agent, please look at them, and maybe include the changes into your main branch.

Changes 09.04.2013

+new preference "AniDB preferred title language", can be set to "Main Title (Romaji)" or "Official Title (English)" (1)
+changed info window text and an proper icon
+use Plex Log function for the adba interface
+cleaned up Info.plist
+does cache AniDB UDP API messages (2)
+removed not needed files, made ZIP file smaller
 
(1) You can not change the behaviour on AniDB preferred title language on already existing libraries, you must delete those libraries and restart from scratch, or only NEW series will use the changed title language.
 
(2) Now every call to AniDB is going to be cached, so every time the agent asks for the same information, the cache is being used instead of a lookup on AniDB. This will help a lot on larger series (e.g. Naruto, etc.) and also save you from some of those AniDB banned situations (e.g. asking the same information too many times).
Since Plex does have an timeout (300s) for the agents to return with the requested information and AniDB only allows one data packet every 2 seconds, every series with more than 120 episodes will timeout on Plex for sure.
But as the agent now caches the already known information, you simply retry those huge series again, even maybe a third time too, and then it will work, you will have the metainfo on those huge series. -proofed-
 
Thanks again to Tuffo for his fantastic work here!
 
PS:
Where is the cache located? ...Library\Plex Media Server\Plug-in Support\Data\com.plexapp.agents.anidb\DataItems
How does the cache save its info? Cache consists of 3 types: Anime, Anime Description (AnimeDesc), Episode
What name convention do the cache types have?
         Anime = "Anime|" +
         Anime Description = "AnimeDesc|" + + "|" +
         Episode = "Episode|" + + "|" +
Why do you need this information? Well maybe AniDB did change something in their DB since you made an update for the metainfo, so get into that directory and delete those files, which you want to retrieve anew from AniDB.

It looks like I've been banned for flooding anidb using this again - had a few weeks without internet while between houses and once I reconnected and started catching up with stuff I think it ended up querying similar info multiple times. :(

I think the root of the problem is longer series eg Naruto, where every episode has to be re-requested when one or more episodes are added. If those calls are limited only by the speed with anidb can serve them then eventually you hit their flood protection. Do it a few times and you're banned. I'm not sure what the best approach is here but I wonder if there might be some ways the amount of data queried from anidb could be limited.

In the mean time I'll go ask them to unban me, I think this time it might have been permanent since I've been unable to connect for nearly a week.

Why did it query the same stuff multiple times? Moby2kBug has added some sort of caching, I'll look into that to see what can be done, but I'm not sure caching is the way to go - that might cause even more postings about stuff not appearing etc.

Hi, took the liberty to change some things in this agent, please look at them, and maybe include the changes into your main branch.

Changes 09.04.2013

+new preference "AniDB preferred title language", can be set to "Main Title (Romaji)" or "Official Title (English)" (1)
+changed info window text and an proper icon
+use Plex Log function for the adba interface
+cleaned up Info.plist
+does cache AniDB UDP API messages (2)
+removed not needed files, made ZIP file smaller
 
(1) You can not change the behaviour on AniDB preferred title language on already existing libraries, you must delete those libraries and restart from scratch, or only NEW series will use the changed title language.
 
(2) Now every call to AniDB is going to be cached, so every time the agent asks for the same information, the cache is being used instead of a lookup on AniDB. This will help a lot on larger series (e.g. Naruto, etc.) and also save you from some of those AniDB banned situations (e.g. asking the same information too many times).
Since Plex does have an timeout (300s) for the agents to return with the requested information and AniDB only allows one data packet every 2 seconds, every series with more than 120 episodes will timeout on Plex for sure.
But as the agent now caches the already known information, you simply retry those huge series again, even maybe a third time too, and then it will work, you will have the metainfo on those huge series. -proofed-
 
Thanks again to Tuffo for his fantastic work here!
 
PS:
Where is the cache located? ...Library\Plex Media Server\Plug-in Support\Data\com.plexapp.agents.anidb\DataItems
How does the cache save its info? Cache consists of 3 types: Anime, Anime Description (AnimeDesc), Episode
What name convention do the cache types have?
         Anime = "Anime|" +
         Anime Description = "AnimeDesc|" + + "|" +
         Episode = "Episode|" + + "|" +
Why do you need this information? Well maybe AniDB did change something in their DB since you made an update for the metainfo, so get into that directory and delete those files, which you want to retrieve anew from AniDB.

I'll have a look at what you've done, but I'm not sure what will make it into the code. The caching is useful, but might cause other issues so I need to have a think about that. Thanks for helping out though! :)

While I was banned from anidb I was looking through API stuff and wondered if maybe avoiding UDP entirely is a good approach. I've actually started working on a completely new alternative agent from scratch which sidesteps the UDP API and uses the HTTP API to pull their XML. Not quite ready for prime-time yet as I have a few things to iron out still, but it's working quite well with my limited testing

Advantages & Additions:

 - Looks up all data from anidb in one request (should be much faster than UDP packets)

 - Can get titles for specials (though the UDP version does too)

 - Maps the top 5 weighted categories from anidb into genres with some filtering to remove categories that don't work as genres (according to me :P)

 - Marks 18-Restricted content with an appropriate content marker (needs testing but should work)

 - Extracts writers, directors, producers, studio name (though I noticed the studio name is a bit silly because Plex has some dodgy matching, eg with the anime studio Seven Arcs, Plex puts the logo for Australia's Channel Seven on the entry)

Disadvantages:

 - Inexact lookup - no way to query anidb by file hash over HTTP API

 - Lookup is noisy (have some work in place to maybe fix this)

 - Has to have fairly aggressive caching to avoid flood protection, so may not always pick up bleeding-edge database changes in anidb

 - Currently way less stable

I'm intending to implement a few more things it needs (fixes to the search to produce less noise, and some HTTP-related stuff to make sure we honor some anti-flooding rules) this weekend and should hopefully have a stable version soon, would love to have a few volunteers to test if anyone is interested.

Why did it query the same stuff multiple times? Moby2kBug has added some sort of caching, I'll look into that to see what can be done, but I'm not sure caching is the way to go - that might cause even more postings about stuff not appearing etc.

I'm not entirely sure. I had my library set to rescan every 30 minutes and also whenever it detects folder updates, and some of the longer shows have enough episodes that they sometimes take too long for everything to be requested through UDP and Plex itself kills the search, so the next time a new file's added or 30 minutes is up it'll start over from the beginning. Additionally I was adding multiple episodes over time since I was catching up after a month with no internet connection. Requesting the same data too many times generally seems to cause their flood protection to fire.

While I was banned from anidb I was looking through API stuff and wondered if maybe avoiding UDP entirely is a good approach. I've actually started working on a completely new alternative agent from scratch which sidesteps the UDP API and uses the HTTP API to pull their XML. Not quite ready for prime-time yet as I have a few things to iron out still, but it's working quite well with my limited testing

Advantages & Additions:

 - Looks up all data from anidb in one request (should be much faster than UDP packets)

 - Can get titles for specials (though the UDP version does too)

 - Maps the top 5 weighted categories from anidb into genres with some filtering to remove categories that don't work as genres (according to me :P)

 - Marks 18-Restricted content with an appropriate content marker (needs testing but should work)

 - Extracts writers, directors, producers, studio name (though I noticed the studio name is a bit silly because Plex has some dodgy matching, eg with the anime studio Seven Arcs, Plex puts the logo for Australia's Channel Seven on the entry)

Disadvantages:

 - Inexact lookup - no way to query anidb by file hash over HTTP API

 - Lookup is noisy (have some work in place to maybe fix this)

 - Has to have fairly aggressive caching to avoid flood protection, so may not always pick up bleeding-edge database changes in anidb

 - Currently way less stable

I'm intending to implement a few more things it needs (fixes to the search to produce less noise, and some HTTP-related stuff to make sure we honor some anti-flooding rules) this weekend and should hopefully have a stable version soon, would love to have a few victimsvolunteers to test if anyone is interested.

Please start a new thread for this, so we keep any discussions separate. Thanks! Perhaps we can look into merging the two if you get something good going - file hash lookup to find the anime id and then HTTP lookup for info?

Ok, for 30 minutes I was happy, now I'm pissed. Yesterday I finally made the plugin working (since in the past, I was always trying it late at night or after too much alcohol and wasn't thinking/reading clearly). 30 minutes later, when most of my shows were set, I had to reset my PC, and after adding 2 more after that I realized it's not working. Tried reinstalling the plug-ins, the Unsupported add-on, installing the older version, installing through the unsupported channel, adding password through file (it was already there, since I set it through the interface and it was working), deleting all files that have in common with the plug-in, nothing. Few hours later (like 10) it's still not working. Any ideas what can I do to make it work, before the restart it was working perfectly, it detected everything.

Ok, for 30 minutes I was happy, now I'm pissed. Yesterday I finally made the plugin working (since in the past, I was always trying it late at night or after too much alcohol and wasn't thinking/reading clearly). 30 minutes later, when most of my shows were set, I had to reset my PC, and after adding 2 more after that I realized it's not working. Tried reinstalling the plug-ins, the Unsupported add-on, installing the older version, installing through the unsupported channel, adding password through file (it was already there, since I set it through the interface and it was working), deleting all files that have in common with the plug-in, nothing. Few hours later (like 10) it's still not working. Any ideas what can I do to make it work, before the restart it was working perfectly, it detected everything.

Can you upload a log file from the agent - that makes it a bit easier to see what's going on? Do you match manually or do you have the agent as default for a section?

Can you upload a log file from the agent - that makes it a bit easier to see what's going on? Do you match manually or do you have the agent as default for a section?

2013-06-03 20:43:14,326 (1ef0) :  INFO (core:336) - Starting framework core - Version: 2.3.7, Build: de45ef3 (Tue May  7 17:27:01 UTC 2013)
2013-06-03 20:43:14,326 (1ef0) :  DEBUG (core:348) - Using the elevated policy
2013-06-03 20:43:14,326 (1ef0) :  DEBUG (core:437) - Starting runtime component.
2013-06-03 20:43:14,328 (1ef0) :  DEBUG (core:437) - Starting caching component.
2013-06-03 20:43:14,329 (1ef0) :  DEBUG (core:437) - Starting data component.
2013-06-03 20:43:14,329 (1ef0) :  DEBUG (core:437) - Starting networking component.
2013-06-03 20:43:14,329 (1ef0) :  DEBUG (networking:318) - Loaded HTTP cookies
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (networking:504) - Setting the default network timeout to 20.0
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting localization component.
2013-06-03 20:43:14,332 (1ef0) :  INFO (localization:408) - Setting the default locale to en-us
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting messaging component.
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting debugging component.
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting services component.
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting myplex component.
2013-06-03 20:43:14,334 (23b0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.anidb'
2013-06-03 20:43:14,334 (1ef0) :  DEBUG (core:437) - Starting notifications component.
2013-06-03 20:43:14,426 (1ef0) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.anidb in namespace 'metadata'
2013-06-03 20:43:14,427 (1ef0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2013-06-03 20:43:15,158 (1ef0) :  DEBUG (runtime:1104) - Created a thread named 'load_all_services'
2013-06-03 20:43:15,160 (1478) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2013-06-03 20:43:15,163 (1ef0) :  DEBUG (runtime:1104) - Created a thread named 'get_server_info'
2013-06-03 20:43:15,164 (1ef0) :  DEBUG (core:149) - Finished starting framework core
2013-06-03 20:43:15,164 (1ef0) :  DEBUG (core:547) - Loading plug-in code
2013-06-03 20:43:15,168 (1478) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2013-06-03 20:43:15,168 (1ea0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2013-06-03 20:43:15,180 (1ea0) :  DEBUG (core:525) - Machine identifier is 8caf62d3a533fe6dfd2384d0927474a04755b1c4
2013-06-03 20:43:15,181 (1ea0) :  DEBUG (core:526) - Server version is 0.9.7.22-4b5280f
2013-06-03 20:43:15,184 (1478) :  DEBUG (services:362) - Loaded services
2013-06-03 20:43:15,191 (2204) :  DEBUG (services:438) - No shared code to load
2013-06-03 20:43:15,269 (1ef0) :  DEBUG (core:553) - Finished loading plug-in code
2013-06-03 20:43:15,961 (1ef0) :  DEBUG (agentkit:1010) - Creating new agent class called AniDBAgentMovies
2013-06-03 20:43:15,963 (1ef0) :  DEBUG (agentkit:890) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]
2013-06-03 20:43:15,963 (1ef0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'
2013-06-03 20:43:15,986 (1ef0) :  DEBUG (agentkit:1010) - Creating new agent class called AniDBAgentTV
2013-06-03 20:43:15,986 (1ef0) :  DEBUG (agentkit:890) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}, {'media_types': ['TV_Show'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]
2013-06-03 20:43:15,989 (1ef0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxMApkaWN0Cmxpc3QKZGljdApsaXN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8yCnIyCnI2CjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW45CnI3CnMxMQptZWRpYV90eXBlc3I4CnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I5CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzYjFzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzNQpBbmlEQnM0Cm5hbWUxCnM3ClRWX1■■■3cyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'
2013-06-03 20:43:16,003 (1ef0) :  INFO (core:598) - Started plug-in
2013-06-03 20:43:16,003 (1ef0) :  DEBUG (socketinterface:144) - Starting socket server
2013-06-03 20:43:16,005 (1ef0) :  DEBUG (runtime:1104) - Created a thread named 'start'
2013-06-03 20:43:16,006 (1ef0) :  INFO (socketinterface:168) - Socket server started on port 63551
2013-06-03 20:43:16,006 (1ef0) :  INFO (pipeinterface:25) - Entering run loop
2013-06-03 20:43:16,006 (1ef0) :  DEBUG (runtime:714) - Handling request GET /:/prefixes
2013-06-03 20:43:16,006 (1ef0) :  DEBUG (runtime:811) - Found route matching /:/prefixes
2013-06-03 20:43:16,007 (1ef0) :  DEBUG (runtime:911) - Response: [200] MediaContainer, 149 bytes
2013-06-03 20:43:16,032 (2094) :  DEBUG (runtime:714) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIwczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKM2U4YjdlYmRlYjIyNGM2ZXMxNwpvcGVuU3VidGl0bGVzSGFzaHMyCjI0czcKZXBpc29kZXMxCjFzOAplcGlzb2RpY3MxMQpBY2NlbCBXb3JsZHM0CnNob3dzMQoxczYKc2Vhc29uczEwNQpFOiU1Q1ZpZGVvcyU1Q0FuaW1lJTVDQWNjZWwlMjBXb3JsZCUyMFtVVFddJTIwWzcyMHBdJTVDW1VUV11fQWNjZWxfV29ybGRfLV8yNF9baDI2NC03MjBwXVsxREYxNTExRF0lMkVta3ZzOApmaWxlbmFtZXM0MApjYmQwMjlmMTQ4MGVlYzUzNmRmZTBkYjg1MzVhYTQ1NDdmZWJiMjg5czgKcGxleEhhc2hzNwoxNDIwMDExczgKZHVyYXRpb25zNQozMzkzNnMyCmlkcjAK
2013-06-03 20:43:16,042 (2094) :  DEBUG (runtime:811) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIwczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKM2U4YjdlYmRlYjIyNGM2ZXMxNwpvcGVuU3VidGl0bGVzSGFzaHMyCjI0czcKZXBpc29kZXMxCjFzOAplcGlzb2RpY3MxMQpBY2NlbCBXb3JsZHM0CnNob3dzMQoxczYKc2Vhc29uczEwNQpFOiU1Q1ZpZGVvcyU1Q0FuaW1lJTVDQWNjZWwlMjBXb3JsZCUyMFtVVFddJTIwWzcyMHBdJTVDW1VUV11fQWNjZWxfV29ybGRfLV8yNF9baDI2NC03MjBwXVsxREYxNTExRF0lMkVta3ZzOApmaWxlbmFtZXM0MApjYmQwMjlmMTQ4MGVlYzUzNmRmZTBkYjg1MzVhYTQ1NDdmZWJiMjg5czgKcGxleEhhc2hzNwoxNDIwMDExczgKZHVyYXRpb25zNQozMzkzNnMyCmlkcjAK
2013-06-03 20:43:16,042 (2094) :  INFO (agentkit:914) - Searching for matches for {'openSubtitlesHash': '3e8b7ebdeb224c6e', 'episode': '24', 'episodic': '1', 'show': 'Accel World', 'season': '1', 'filename': 'E:%5CVideos%5CAnime%5CAccel%20World%20[UTW]%20[720p]%5C[UTW]_Accel_World_-_24_[h264-720p][1DF1511D]%2Emkv', 'plexHash': 'cbd029f1480eec536dfe0db8535aa4547febb289', 'duration': '1420011', 'id': '33936'}
2013-06-03 20:43:16,043 (2094) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/library/metadata/33936/tree'
2013-06-03 20:43:16,128 (2094) :  WARNING (data:186) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name: line 8 column 9 (char 207)
2013-06-03 20:43:16,131 (2094) :  DEBUG (preferences:256) - Loaded preferences from DefaultPrefs.json
2013-06-03 20:43:16,132 (2094) :  DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.agents.anidb
2013-06-03 20:43:16,135 (2094) :  DEBUG (runtime:1137) - Scheduled a timed thread named 'checkConnection'
2013-06-03 20:43:16,135 (2094) :  DEBUG (logkit:13) - ok1
2013-06-03 20:43:16,137 (2094) :  DEBUG (logkit:13) - handling(0-2) command AUTH
2013-06-03 20:43:18,371 (2094) :  DEBUG (logkit:13) - NetIO > sensitive data is not logged!
2013-06-03 20:43:56,134 (2094) :  INFO (logkit:16) - Connection exception, msg: Command has timed out
2013-06-03 20:43:56,135 (2094) :  CRITICAL (core:561) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'openSubtitlesHash': '3e8b7ebdeb224c6e', 'episode': '24', 'episodic': '1', 'show': 'Accel World', 'season': '1', 'filename': 'E:%5CVideos%5CAnime%5CAccel%20World%20[UTW]%20[720p]%5C[UTW]_Accel_World_-_24_[h264-720p][1DF1511D]%2Emkv', 'plexHash': 'cbd029f1480eec536dfe0db8535aa4547febb289', 'duration': '1420011', 'id': '33936'} (most recent call last):
  File "C:\Users\Spider\AppData\Local\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 "C:\Users\Spider\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 301, in search
    self.doSearch(results, media, lang)
  File "C:\Users\Spider\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 219, in doSearch
    connection = self.connect()
  File "C:\Users\Spider\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 75, in connect
    raise e
AniDBCommandTimeoutError: Command has timed out

2013-06-03 20:43:56,135 (2094) : DEBUG (runtime:911) - Response: [200] str, 16 bytes
2013-06-03 20:48:16,135 (20a0) : DEBUG (runtime:1143) - Starting timed thread named ‘checkConnection’
2013-06-03 20:48:16,137 (20a0) : INFO (logkit:16) - Checking for idle connection timeout…
2013-06-03 20:48:16,138 (20a0) : DEBUG (runtime:1137) - Scheduled a timed thread named ‘checkConnection’
2013-06-03 20:53:16,138 (890) : DEBUG (runtime:1143) - Starting timed thread named ‘checkConnection’
2013-06-03 20:53:16,140 (890) : INFO (logkit:16) - Checking for idle connection timeout…
2013-06-03 20:53:16,141 (890) : DEBUG (runtime:1137) - Scheduled a timed thread named ‘checkConnection’

It's set to a folder, but manual matching doesn't work either, nor does searching, including by aid.

2013-06-03 20:43:14,326 (1ef0) :  INFO (core:336) - Starting framework core - Version: 2.3.7, Build: de45ef3 (Tue May  7 17:27:01 UTC 2013)
2013-06-03 20:43:14,326 (1ef0) :  DEBUG (core:348) - Using the elevated policy
2013-06-03 20:43:14,326 (1ef0) :  DEBUG (core:437) - Starting runtime component.
2013-06-03 20:43:14,328 (1ef0) :  DEBUG (core:437) - Starting caching component.
2013-06-03 20:43:14,329 (1ef0) :  DEBUG (core:437) - Starting data component.
2013-06-03 20:43:14,329 (1ef0) :  DEBUG (core:437) - Starting networking component.
2013-06-03 20:43:14,329 (1ef0) :  DEBUG (networking:318) - Loaded HTTP cookies
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (networking:504) - Setting the default network timeout to 20.0
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting localization component.
2013-06-03 20:43:14,332 (1ef0) :  INFO (localization:408) - Setting the default locale to en-us
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting messaging component.
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting debugging component.
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting services component.
2013-06-03 20:43:14,332 (1ef0) :  DEBUG (core:437) - Starting myplex component.
2013-06-03 20:43:14,334 (23b0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.anidb'
2013-06-03 20:43:14,334 (1ef0) :  DEBUG (core:437) - Starting notifications component.
2013-06-03 20:43:14,426 (1ef0) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.anidb in namespace 'metadata'
2013-06-03 20:43:14,427 (1ef0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2013-06-03 20:43:15,158 (1ef0) :  DEBUG (runtime:1104) - Created a thread named 'load_all_services'
2013-06-03 20:43:15,160 (1478) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2013-06-03 20:43:15,163 (1ef0) :  DEBUG (runtime:1104) - Created a thread named 'get_server_info'
2013-06-03 20:43:15,164 (1ef0) :  DEBUG (core:149) - Finished starting framework core
2013-06-03 20:43:15,164 (1ef0) :  DEBUG (core:547) - Loading plug-in code
2013-06-03 20:43:15,168 (1478) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2013-06-03 20:43:15,168 (1ea0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2013-06-03 20:43:15,180 (1ea0) :  DEBUG (core:525) - Machine identifier is 8caf62d3a533fe6dfd2384d0927474a04755b1c4
2013-06-03 20:43:15,181 (1ea0) :  DEBUG (core:526) - Server version is 0.9.7.22-4b5280f
2013-06-03 20:43:15,184 (1478) :  DEBUG (services:362) - Loaded services
2013-06-03 20:43:15,191 (2204) :  DEBUG (services:438) - No shared code to load
2013-06-03 20:43:15,269 (1ef0) :  DEBUG (core:553) - Finished loading plug-in code
2013-06-03 20:43:15,961 (1ef0) :  DEBUG (agentkit:1010) - Creating new agent class called AniDBAgentMovies
2013-06-03 20:43:15,963 (1ef0) :  DEBUG (agentkit:890) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]
2013-06-03 20:43:15,963 (1ef0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'
2013-06-03 20:43:15,986 (1ef0) :  DEBUG (agentkit:1010) - Creating new agent class called AniDBAgentTV
2013-06-03 20:43:15,986 (1ef0) :  DEBUG (agentkit:890) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}, {'media_types': ['TV_Show'], 'accepts_from': ['com.plexapp.agents.localmedia', 'com.plexapp.agents.opensubtitles'], 'fallback_agent': None, 'contributes_to': None, 'languages': ['en'], 'persist_stored_files': True, 'primary_provider': True, 'prefs': True, 'name': 'AniDB'}]
2013-06-03 20:43:15,989 (1ef0) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxMApkaWN0Cmxpc3QKZGljdApsaXN0Cmxpc3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczI0CmNvbS5wbGV4YXBwLmFnZW50cy5hbmlkYnMxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8yCnIyCnI2CjkKcjMKczExCm1lZGlhX3R5cGVzcjQKczEyCmFjY2VwdHNfZnJvbW5zMTQKZmFsbGJhY2tfYWdlbnRuczE0CmNvbnRyaWJ1dGVzX3RvcjUKczkKbGFuZ3VhZ2VzYjFzMjAKcGVyc2lzdF9zdG9yZWRfZmlsZXNiMXMxNgpwcmltYXJ5X3Byb3ZpZGVyYjFzNQpwcmVmc3M1CkFuaURCczQKbmFtZTEKczUKTW92aWUyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW45CnI3CnMxMQptZWRpYV90eXBlc3I4CnMxMgphY2NlcHRzX2Zyb21uczE0CmZhbGxiYWNrX2FnZW50bnMxNApjb250cmlidXRlc190b3I5CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzYjFzMTYKcHJpbWFyeV9wcm92aWRlcmIxczUKcHJlZnNzNQpBbmlEQnM0Cm5hbWUxCnM3ClRWX1■■■3cyCnMyOQpjb20ucGxleGFwcC5hZ2VudHMubG9jYWxtZWRpYXMzMgpjb20ucGxleGFwcC5hZ2VudHMub3BlbnN1YnRpdGxlczEKczIKZW5yMAo_'
2013-06-03 20:43:16,003 (1ef0) :  INFO (core:598) - Started plug-in
2013-06-03 20:43:16,003 (1ef0) :  DEBUG (socketinterface:144) - Starting socket server
2013-06-03 20:43:16,005 (1ef0) :  DEBUG (runtime:1104) - Created a thread named 'start'
2013-06-03 20:43:16,006 (1ef0) :  INFO (socketinterface:168) - Socket server started on port 63551
2013-06-03 20:43:16,006 (1ef0) :  INFO (pipeinterface:25) - Entering run loop
2013-06-03 20:43:16,006 (1ef0) :  DEBUG (runtime:714) - Handling request GET /:/prefixes
2013-06-03 20:43:16,006 (1ef0) :  DEBUG (runtime:811) - Found route matching /:/prefixes
2013-06-03 20:43:16,007 (1ef0) :  DEBUG (runtime:911) - Response: [200] MediaContainer, 149 bytes
2013-06-03 20:43:16,032 (2094) :  DEBUG (runtime:714) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIwczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKM2U4YjdlYmRlYjIyNGM2ZXMxNwpvcGVuU3VidGl0bGVzSGFzaHMyCjI0czcKZXBpc29kZXMxCjFzOAplcGlzb2RpY3MxMQpBY2NlbCBXb3JsZHM0CnNob3dzMQoxczYKc2Vhc29uczEwNQpFOiU1Q1ZpZGVvcyU1Q0FuaW1lJTVDQWNjZWwlMjBXb3JsZCUyMFtVVFddJTIwWzcyMHBdJTVDW1VUV11fQWNjZWxfV29ybGRfLV8yNF9baDI2NC03MjBwXVsxREYxNTExRF0lMkVta3ZzOApmaWxlbmFtZXM0MApjYmQwMjlmMTQ4MGVlYzUzNmRmZTBkYjg1MzVhYTQ1NDdmZWJiMjg5czgKcGxleEhhc2hzNwoxNDIwMDExczgKZHVyYXRpb25zNQozMzkzNnMyCmlkcjAK
2013-06-03 20:43:16,042 (2094) :  DEBUG (runtime:811) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZWIwczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKM2U4YjdlYmRlYjIyNGM2ZXMxNwpvcGVuU3VidGl0bGVzSGFzaHMyCjI0czcKZXBpc29kZXMxCjFzOAplcGlzb2RpY3MxMQpBY2NlbCBXb3JsZHM0CnNob3dzMQoxczYKc2Vhc29uczEwNQpFOiU1Q1ZpZGVvcyU1Q0FuaW1lJTVDQWNjZWwlMjBXb3JsZCUyMFtVVFddJTIwWzcyMHBdJTVDW1VUV11fQWNjZWxfV29ybGRfLV8yNF9baDI2NC03MjBwXVsxREYxNTExRF0lMkVta3ZzOApmaWxlbmFtZXM0MApjYmQwMjlmMTQ4MGVlYzUzNmRmZTBkYjg1MzVhYTQ1NDdmZWJiMjg5czgKcGxleEhhc2hzNwoxNDIwMDExczgKZHVyYXRpb25zNQozMzkzNnMyCmlkcjAK
2013-06-03 20:43:16,042 (2094) :  INFO (agentkit:914) - Searching for matches for {'openSubtitlesHash': '3e8b7ebdeb224c6e', 'episode': '24', 'episodic': '1', 'show': 'Accel World', 'season': '1', 'filename': 'E:%5CVideos%5CAnime%5CAccel%20World%20[UTW]%20[720p]%5C[UTW]_Accel_World_-_24_[h264-720p][1DF1511D]%2Emkv', 'plexHash': 'cbd029f1480eec536dfe0db8535aa4547febb289', 'duration': '1420011', 'id': '33936'}
2013-06-03 20:43:16,043 (2094) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/library/metadata/33936/tree'
2013-06-03 20:43:16,128 (2094) :  WARNING (data:186) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting property name: line 8 column 9 (char 207)
2013-06-03 20:43:16,131 (2094) :  DEBUG (preferences:256) - Loaded preferences from DefaultPrefs.json
2013-06-03 20:43:16,132 (2094) :  DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.agents.anidb
2013-06-03 20:43:16,135 (2094) :  DEBUG (runtime:1137) - Scheduled a timed thread named 'checkConnection'
2013-06-03 20:43:16,135 (2094) :  DEBUG (logkit:13) - ok1
2013-06-03 20:43:16,137 (2094) :  DEBUG (logkit:13) - handling(0-2) command AUTH
2013-06-03 20:43:18,371 (2094) :  DEBUG (logkit:13) - NetIO > sensitive data is not logged!
2013-06-03 20:43:56,134 (2094) :  INFO (logkit:16) - Connection exception, msg: Command has timed out
2013-06-03 20:43:56,135 (2094) :  CRITICAL (core:561) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'openSubtitlesHash': '3e8b7ebdeb224c6e', 'episode': '24', 'episodic': '1', 'show': 'Accel World', 'season': '1', 'filename': 'E:%5CVideos%5CAnime%5CAccel%20World%20[UTW]%20[720p]%5C[UTW]_Accel_World_-_24_[h264-720p][1DF1511D]%2Emkv', 'plexHash': 'cbd029f1480eec536dfe0db8535aa4547febb289', 'duration': '1420011', 'id': '33936'} (most recent call last):
  File "C:\Users\Spider\AppData\Local\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 "C:\Users\Spider\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 301, in search
    self.doSearch(results, media, lang)
  File "C:\Users\Spider\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 219, in doSearch
    connection = self.connect()
  File "C:\Users\Spider\AppData\Local\Plex Media Server\Plug-ins\AniDB.bundle\Contents\Code\__init__.py", line 75, in connect
    raise e
AniDBCommandTimeoutError: Command has timed out

2013-06-03 20:43:56,135 (2094) : DEBUG (runtime:911) - Response: [200] str, 16 bytes
2013-06-03 20:48:16,135 (20a0) : DEBUG (runtime:1143) - Starting timed thread named ‘checkConnection’
2013-06-03 20:48:16,137 (20a0) : INFO (logkit:16) - Checking for idle connection timeout…
2013-06-03 20:48:16,138 (20a0) : DEBUG (runtime:1137) - Scheduled a timed thread named ‘checkConnection’
2013-06-03 20:53:16,138 (890) : DEBUG (runtime:1143) - Starting timed thread named ‘checkConnection’
2013-06-03 20:53:16,140 (890) : INFO (logkit:16) - Checking for idle connection timeout…
2013-06-03 20:53:16,141 (890) : DEBUG (runtime:1137) - Scheduled a timed thread named ‘checkConnection’

It's set to a folder, but manual matching doesn't work either, nor does searching, including by aid.

Looks like the auth is failing for some reason, not sure why. Sometimes it helps to just wait 24 hours before doing anything against AniDB again, have you tried that (not sure if it's a temporary ban that's not being returned or if it's API overload or something)?

Looks like the auth is failing for some reason, not sure why. Sometimes it helps to just wait 24 hours before doing anything against AniDB again, have you tried that (not sure if it's a temporary ban that's not being returned or if it's API overload or something)?

No idea. The interesting part was, it stopped working right after a computer restart. Anyway, since my OS got bugged (Plex and few other programs weren't closing, so to restart them you need to restart the whole PC) I reinstalled my PC and now it works great.

Any possibility to add something similar to Hama agent's options, to download additional posters and fanarts from other agents, it will make that agent supreme, especially for anime fans like me.

No idea. The interesting part was, it stopped working right after a computer restart. Anyway, since my OS got bugged (Plex and few other programs weren't closing, so to restart them you need to restart the whole PC) I reinstalled my PC and now it works great.

Any possibility to add something similar to Hama agent's options, to download additional posters and fanarts from other agents, it will make that agent supreme, especially for anime fans like me.

Good to hear it's working for you. As for secondary agents, I'll add it to the wish-list but I spend little time with this right now. The one backlog item I'll release near future is caching, but that's it for the time being.

Sometimes this plugin gets the order of the episodes wrong. When it is merging the episodes it sometimes starts with episode 5 or sets episode 9 at second place. Any ideas how to resolve this?