AniDB metadata agent

Do you get anything in the logs? Check both server log and agent log and see if you find anything suspicious when the server crashes, post them here if you want me to have a look. I'm running the latest free version on Debian Linux, not sure if there's a difference between that and the latest PlexPass version?


Thanks I appreciate it. I will hopefully get a chance this weekend to try it again and I will post the logs.

Sent from my Nexus 5 using Tapatalk

I'm afraid I'm going to have to pass on this agent. Between the limitations imposed by AniDB, the server crashing, and the extremely strict naming limitations (for instance, series that have a colon in the name, when the filesystem/filesharing protocol I'm dealing with doesn't support colons!); it's just not going to work out. I'm going to script this myself using NFO files as a go-between - scrape data in whatever language to NFO/poster files, and then use the XBMC NFO plugin to pull it into Plex. A bit more work on my end, but a lot more control over the process.

Best of luck, especially as you're dealing with the very opaque restrictions of the AniDB API.

I'm currently trying to add "Lupin (1977)" aka "Lupin The 3rd" to my library. Works fine for the first 99 episodes, but starts screwing things up with episode 100 and above. Just to clarify: Everything above episode 99 isn't scanned propperly (or even at all), 1-99 matches just fine. Is this due to the scanner or due to the agent, and any ideas on how to sort things out?

I'm currently trying to add "Lupin (1977)" aka "Lupin The 3rd" to my library. Works fine for the first 99 episodes, but starts screwing things up with episode 100 and above. Just to clarify: Everything above episode 99 isn't scanned propperly (or even at all), 1-99 matches just fine. Is this due to the scanner or due to the agent, and any ideas on how to sort things out?

You need to use BABS.

https://forums.plex.tv/topic/31081-better-absolute-scanner-babs/

How can I change/add series with the romanji name? Options only show English localized name.

Thanks mate, problem solved :)

I've tried using this plugin and it just crashes my server.  I've also tried using BABS as described here with no luck.  Does anyone have a good solution to handle this?

Edit: This was answered in the other thread and the solution works great.

How can I change/add series with the romanji name? Options only show English localized name.

Do you mean in the manual search? It doesn't matter what language you choose there, AniDB can only search on one of the titles (I don't remember if it's main or official) through the UDP API anyway. If you want to do name matching on different titles, you need to use the HAMA agent that can (as far as I know) search all of the titles.

Do you mean in the manual search? It doesn't matter what language you choose there, AniDB can only search on one of the titles (I don't remember if it's main or official) through the UDP API anyway. If you want to do name matching on different titles, you need to use the HAMA agent that can (as far as I know) search all of the titles.

I also use another program that lets me choose to create the entry for a matched show using the official name in Romanji or English (or other language). It also uses anidb. Was hoping for this to be on this agent.

I also use another program that lets me choose to create the entry for a matched show using the official name in Romanji or English (or other language). It also uses anidb. Was hoping for this to be on this agent.

Well, as it happens I had half an hour to kill, so now it's in the latest release, to be picked up from Unsupported Appstore (preferred) or download from here.

Version 13 is live, now supporting selection of title language.

I am trying to add, http://anidb.net/perl-bin/animedb.pl?show=anime&aid=5868 and I just can't get it to recognize no matter what I do, I tried searching the main title, I tried searching the official title, I tried searching the aid(using aid:5868 aid=5868 5868 a5868), I tried removing the - from the title, I tried removing both the - and the ! from the title, I tried simply searching negima, I tried all combinations with and without dates (both 2008 and 2009) and all I get is "No matches found"

I am trying to add, http://anidb.net/perl-bin/animedb.pl?show=anime&aid=5868 and I just can't get it to recognize no matter what I do, I tried searching the main title, I tried searching the official title, I tried searching the aid(using aid:5868 aid=5868 5868 a5868), I tried removing the - from the title, I tried removing both the - and the ! from the title, I tried simply searching negima, I tried all combinations with and without dates (both 2008 and 2009) and all I get is "No matches found"

Sorry for the late reply, I'm away on a longer trip. Could you please post the log for the agent (com.plexapp.agents.anidb.log)? That makes it a bit easier to troubleshoot.

hi,

i would use italian as language title. would be possible by changing "english_name" with italian_name" in the whole __init__.py file?

thanks

hi,

i would use italian as language title. would be possible by changing "english_name" with italian_name" in the whole __init__.py file?

thanks

There is no italian language title to get, so that won't help. What are you trying to achieve?

There is no italian language title to get, so that won't help. What are you trying to achieve?

why not? if I set in my anidb profile as preferred "episode language" italian, I can see if there is into the db, all the episode title in my language

why not? if I set in my anidb profile as preferred "episode language" italian, I can see if there is into the db, all the episode title in my language

Yes, but the API does not support retrieving titles in all available languages, just Romaji, Kanji, English and "other".

Yes, but the API does not support retrieving titles in all available languages, just Romaji, Kanji, English and "other".

yes I know but I would know if it's possible to edit anidb metadata agent __init__.py file and replace into the whole file, the variable "english_name" with "italian_name"

yes I know but I would know if it's possible to edit anidb metadata agent __init__.py file and replace into the whole file, the variable "english_name" with "italian_name"

Once again - no, since "english_name" refers to the field in the API which retrieves the English title. And like I said, since there is not Italian title to get via the API, it will be pointless.

Once again - no, since "english_name" refers to the field in the API which retrieves the English title. And like I said, since there is not Italian title to get via the API, it will be pointless.

ok sorry, I didn't know about this API limitation

Hi,

I have a problem and can't figure out what it is. A series won't fetch any data. The Log shows this:

2014-07-27 12:27:07,100 (73c6f490) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZWIwczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKZTcyZmFkNWZkN2ExYzYxOXMxNwpvcGVuU3VidGl0bGVzSGFzaHMyCjEyczcKZXBpc29kZXMxCjFzOAplcGlzb2RpY3MyNgpBZXN0aGV0aWNhIG9mIGEgUm9ndWUgSGVyb3M0CnNob3dzMQoxczYKc2Vhc29uczEzMwolMkZzaGFyZSUyRk1EMF9EQVRBJTJGTXVsdGltZWRpYSUyRkFuaW1lJTJGQWVzdGhldGljYSUyME9mJTIwQSUyMFJvZ3VlJTIwSGVybyUyRkFlc3RoZXRpY2ElMjBPZiUyMEElMjBSb2d1ZSUyMEhlcm8lMjAtJTIwUzAxRTEyJTJFbWt2czgKZmlsZW5hbWVzNDAKOGMzMGUwMTcyYzIxYzIzMjc4NDFjNTc5YmVlYmM4MmY4NTI0Mjc4Y3M4CnBsZXhIYXNoczcKMTM5MjA2NHM4CmR1cmF0aW9uczQKMzczNnMyCmlkcjAK
2014-07-27 12:27:07,115 (73c6f490) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.anidb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo0CnMyCmVuczQKbGFuZ3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZWIwczYKbWFudWFscjEKczYKa3dhcmdzOQpzMTYKZTcyZmFkNWZkN2ExYzYxOXMxNwpvcGVuU3VidGl0bGVzSGFzaHMyCjEyczcKZXBpc29kZXMxCjFzOAplcGlzb2RpY3MyNgpBZXN0aGV0aWNhIG9mIGEgUm9ndWUgSGVyb3M0CnNob3dzMQoxczYKc2Vhc29uczEzMwolMkZzaGFyZSUyRk1EMF9EQVRBJTJGTXVsdGltZWRpYSUyRkFuaW1lJTJGQWVzdGhldGljYSUyME9mJTIwQSUyMFJvZ3VlJTIwSGVybyUyRkFlc3RoZXRpY2ElMjBPZiUyMEElMjBSb2d1ZSUyMEhlcm8lMjAtJTIwUzAxRTEyJTJFbWt2czgKZmlsZW5hbWVzNDAKOGMzMGUwMTcyYzIxYzIzMjc4NDFjNTc5YmVlYmM4MmY4NTI0Mjc4Y3M4CnBsZXhIYXNoczcKMTM5MjA2NHM4CmR1cmF0aW9uczQKMzczNnMyCmlkcjAK
2014-07-27 12:27:07,123 (73c6f490) :  INFO (agentkit:915) - Searching for matches for {'openSubtitlesHash': 'e72fad5fd7a1c619', 'episode': '12', 'episodic': '1', 'show': 'Aesthetica of a Rogue Hero', 'season': '1', 'filename': '%2Fshare%2FMD0_DATA%2FMultimedia%2FAnime%2FAesthetica%20Of%20A%20Rogue%20Hero%2FAesthetica%20Of%20A%20Rogue%20Hero%20-%20S01E12%2Emkv', 'plexHash': '8c30e0172c21c2327841c579beebc82f8524278c', 'duration': '1392064', 'id': '3736'}
2014-07-27 12:27:07,131 (73c6f490) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/library/metadata/3736/tree'
2014-07-27 12:27:07,301 (73c6f490) :  INFO (__init__:82) - Connection exception, msg: [Errno 5] Input/output error
2014-07-27 12:27:07,308 (73c6f490) :  CRITICAL (agentkit:931) - Exception in the search function of agent named 'AniDB', called with keyword arguments {'openSubtitlesHash': 'e72fad5fd7a1c619', 'episode': '12', 'episodic': '1', 'show': 'Aesthetica of a Rogue Hero', 'season': '1', 'filename': '%2Fshare%2FMD0_DATA%2FMultimedia%2FAnime%2FAesthetica%20Of%20A%20Rogue%20Hero%2FAesthetica%20Of%20A%20Rogue%20Hero%20-%20S01E12%2Emkv', 'plexHash': '8c30e0172c21c2327841c579beebc82f8524278c', 'duration': '1392064', 'id': '3736'} (most recent call last):
  File "/share/MD0_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 924, in _search
    agent.search(results, media, lang)
  File "/root/Library/Plex Media Server/Plug-ins/AniDB.bundle/Contents/Code/__init__.py", line 291, in search
    self.doSearch(results, media, lang)
  File "/root/Library/Plex Media Server/Plug-ins/AniDB.bundle/Contents/Code/__init__.py", line 212, in doSearch
    connection = self.connect()
  File "/root/Library/Plex Media Server/Plug-ins/AniDB.bundle/Contents/Code/__init__.py", line 83, in connect
    raise e
IOError: [Errno 5] Input/output error

2014-07-27 12:27:07,321 (73c6f490) : DEBUG (runtime:918) - Response: [200] str, 16 bytes