MyAnimeList.net Metadata Agent

Any plans on episode descriptions, perhaps from another source?

It is possible. But I don't know where I should get the information from and it will generate another request to another website or API which slows down my own API therefore there will be many request time outs, so I don't think that I will implement this.

I don't know if you parse the HTML page or not but if you don't want to use the official one and parse the HTML page, I suggest you to find the id with the official api and then just parse the page http://myanimelist.net/anime/{id}/

I do parse the HTML page

It is possible. But I don't know where I should get the information from and it will generate another request to another website or API which slows down my own API therefore there will be many request time outs, so I don't think that I will implement this.

I do parse the HTML page

I used your agent as hint for my project (i never used python and programmed a plugin for plex), i hope you do not be angry about that.

Not at all, as long as you understand what I wrote there :D

HI,

First of all, thanks for all the great work you put into this!

Second, a small issue that I ran into, is the handling of special character "/" . For example when searching for "Fate/Kaleid Liner Prisma Illya 2wei" the scanner fails to return any result. If I remove the "/" character I can find results with no issue.

HI,

First of all, thanks for all the great work you put into this!

Second, a small issue that I ran into, is the handling of special character "/" . For example when searching for "Fate/Kaleid Liner Prisma Illya 2wei" the scanner fails to return any result. If I remove the "/" character I can find results with no issue.

Thx I will look into this

EDIT: Yes I had that problem some time ago with another version of this Agent. Since I develope under Windows and the Windows File system does not allow a "/" in a file or folder name there is not much I can do. But if you clear your cache, rematch this anime and send me the log file then I can take a look and pinpoint why you won't get a match

Is there any way to force sequels to pair correctly so seasons get correct cover art?  

MAL has each season (in many cases) as it's own entry. 

Is there any way to force sequels to pair correctly so seasons get correct cover art?  

MAL has each season (in many cases) as it's own entry. 

No, because on Myanimelist each anime is a new series. Also the episodes numbering are mostly absolute which make it quite ugly to have 1st season with 1-13 numbering and the 2nd season with 14-24 numbering.

Why do some shows appear with the add at the end and then not grab the metadata for it?

As an example, the following does this.

Fate/stay night TV Reproduction add

Also, these links seem relevant

http://daraku-mal-api.net/services/v2/search/Fate+stay+night+TV+Reproduction

and

http://daraku-mal-api.net/services/v2/anime/25537

Why do some shows appear with the add at the end and then not grab the metadata for it?

As an example, the following does this.

Fate/stay night TV Reproduction add

Also, these links seem relevant

http://daraku-mal-api.net/services/v2/search/Fate+stay+night+TV+Reproduction

and

http://daraku-mal-api.net/services/v2/anime/25537

seems like this is a bug, will fix it soon. Thank you :)

EDIT:

fixed both exceptions you got but couldn't reproduce the problem with "add" at the end of the title. If this problem is still preventing you from getting any metadata please send me the log file.

You fixed those, but it seems something else was introduced

http://daraku-mal-api.net/services/v2/anime/25241

Regarding the add portion, look at the output below.

http://daraku-mal-api.net/services/v2/search/Akame+ga+Kill


2014-12-14T00:00:00+01:00
2014-07-08T00:00:00+02:00


http://cdn.myanimelist.net/images/anime/6/64537t.jpg


24
25241
12817
PG-13
6.92
Short specials that aired on the official website.
Akame ga Kill! Theater add
ONA

You fixed those, but it seems something else was introduced

http://daraku-mal-api.net/services/v2/anime/25241

Regarding the add portion, look at the output below.

http://daraku-mal-api.net/services/v2/search/Akame+ga+Kill

2014-12-14T00:00:00+01:00
2014-07-08T00:00:00+02:00


http://cdn.myanimelist.net/images/anime/6/64537t.jpg


24
25241
12817
PG-13
6.92
Short specials that aired on the official website.
Akame ga Kill! Theater add
ONA

thank you I will look into it this weekend, can't get my head around it over the week.

EDIT:

all fixed now

Is there any chance you would add the related anime to the feeds?

@Obs said:
Is there any chance you would add the related anime to the feeds?

what do you mean exactly?

Hey @Daraku. I’m hoping you can help me since you created this agent. I’m having an issue and I posted about it here: https://forums.plex.tv/discussion/178624/not-picking-up-one-episode-of-dbz-using-babs-scanner-and-myanimelist-net-agent#latest I posted my log to that the thread, but if there are any other logs you need let me know and I will upload them.

Appreciate any help you can give me.

-Shark2k

If the file isn’t showing it’s the scanner fault.
Try my scanner. Link in my signature

As ZeroQI said it could be a scanner problem and you should request help from the developer and/or try another one, my Agent just delivers the Data to the series. Therefore even if only one episode will be recognized a series will be added to your database and the agent requests data to this series. if you don’t get any data at all to a series please do a rematch for this series and attach the log file of my agent to your next post.

and thanks for using my agent

Hi, wondering if you can help, when you have a discrepancy between the number of series in a anime library and the number of directories in the folders that make up that library media, is there anyway of get a list of doubling ups or folders that have been skipped (manually would be a real pain as there is the English vs Japanese names and I am now on 500+ series)

@stickfight said:
Hi, wondering if you can help, when you have a discrepancy between the number of series in a anime library and the number of directories in the folders that make up that library media, is there anyway of get a list of doubling ups or folders that have been skipped (manually would be a real pain as there is the English vs Japanese names and I am now on 500+ series)

Yeah I know this problem but sadly there is no way I can integrate this into the agent since it just provides metadata for plex itself. if you have missing anime in your library check for duplicates, since the plex scanner is not saving the name of the anime as it is on your file system (removing . and stuff) the searches for the name are a bit different. Then there is the problem with the search itself (which I can’t fix because I just parse the search results from myanimelist itself)

You have the anime Kon! (aired first) and Kon!! (aired after Kon!) so this would mean you get 2 searches. one for Kon! and one for Kon!! which is running correctly. While comparing the name of your show and the name in the search results Kon!! and Kon! has the same match rating which merges these both anime into one. if this happens you can identify and “fix” these cases like they described here.

I sadly can’t do anything about that because for that I think I need to write my own scanner and I won’t do that.

@Daraku said:

@stickfight said:
Hi, wondering if you can help, when you have a discrepancy between the number of series in a anime library and the number of directories in the folders that make up that library media, is there anyway of get a list of doubling ups or folders that have been skipped (manually would be a real pain as there is the English vs Japanese names and I am now on 500+ series)

Yeah I know this problem but sadly there is no way I can integrate this into the agent since it just provides metadata for plex itself. if you have missing anime in your library check for duplicates, since the plex scanner is not saving the name of the anime as it is on your file system (removing . and stuff) the searches for the name are a bit different. Then there is the problem with the search itself (which I can’t fix because I just parse the search results from myanimelist itself)

You have the anime Kon! (aired first) and Kon!! (aired after Kon!) so this would mean you get 2 searches. one for Kon! and one for Kon!! which is running correctly. While comparing the name of your show and the name in the search results Kon!! and Kon! has the same match rating which merges these both anime into one. if this happens you can identify and “fix” these cases like they described here.

I sadly can’t do anything about that because for that I think I need to write my own scanner and I won’t do that.

Thank you for the reply, sorry i had not checked your site for this existing issue / solution

When I go to add library and then advanced to add scanner and agent it says “your changes could not be saved.”

So I guess I cant use this meta data agent