[Release] MyAnimeList.net Metadata Agent

Hello!

Above all, thank you for your efforts.

I am trying to install it in version 1.4.4.3495 that I have installed on a NAS, under linux.

I do not know if I’m clumsy or I can not make it work.

I have put the BABS.py in: Plex / Library / Application Support / Plex Media Server / Scanners / Series / BABS.py
And the MALAdgent, in: Plex / Library / Application Support / Plex Media Server / Plug-ins / MyAnimeList.bundle

Everything with the plex server shut down, I copy the files and then I light it, but it does not appear in the agents …

I am doing something wrong?

Thank you very much!

@“Haru Ijima” said:
Hello!

Above all, thank you for your efforts.

I am trying to install it in version 1.4.4.3495 that I have installed on a NAS, under linux.

I do not know if I’m clumsy or I can not make it work.

I have put the BABS.py in: Plex / Library / Application Support / Plex Media Server / Scanners / Series / BABS.py
And the MALAdgent, in: Plex / Library / Application Support / Plex Media Server / Plug-ins / MyAnimeList.bundle

Everything with the plex server shut down, I copy the files and then I light it, but it does not appear in the agents …

I am doing something wrong?

Thank you very much!

I’m not that experienced with running my agent on Linux or a NAS. Be sure that your permissions are correct so that plex has access to the agent. Also check the knowledgebase if plex for more information. Maybe a restart of plex helps. Other than that I don’t know what is causing this, I couldn’t reproduce this error and so far nobody got back to me on how they fixed it.

@Daraku said:

@“Haru Ijima” said:
Hello!

Above all, thank you for your efforts.

I am trying to install it in version 1.4.4.3495 that I have installed on a NAS, under linux.

I do not know if I’m clumsy or I can not make it work.

I have put the BABS.py in: Plex / Library / Application Support / Plex Media Server / Scanners / Series / BABS.py
And the MALAdgent, in: Plex / Library / Application Support / Plex Media Server / Plug-ins / MyAnimeList.bundle

Everything with the plex server shut down, I copy the files and then I light it, but it does not appear in the agents …

I am doing something wrong?

Thank you very much!

I’m not that experienced with running my agent on Linux or a NAS. Be sure that your permissions are correct so that plex has access to the agent. Also check the knowledgebase if plex for more information. Maybe a restart of plex helps. Other than that I don’t know what is causing this, I couldn’t reproduce this error and so far nobody got back to me on how they fixed it.

I made it work. I really do not know what happened, I’ve migrated DSM 5.2 to 6.0.2 (Synology) and when I reinstalled PLEX with the plugin, it worked, it’s still indexing, but the seasons are not going well, I guess I’ll have to fix the structure a bit Of folders and names.

Thank you very much!

That is good to hear, check the knowledgebase to name your media files.

I installed the agent to my server in the plug-ins director as well as BABS in the proper scanners directory. When I try to add my anime folder to the library and select this Agent, it says “Your changes could not be saved.”

When I try the same folder and select BABS as a scanner and TVDB as the Agent, it works fine. Whenever I select this agent no matter what scanner, it always won’t let me save.

I looked in the logs, and the only thing I saw was this:

Apr 23, 2017 16:42:17.423 [0x7ff4e3fff700] WARN - Request for plug-in [net.fribbtastic.coding.plex.myanimelist] but it doesn’t exist.
Apr 23, 2017 16:42:17.423 [0x7ff4f5bff700] DEBUG - Completed: [127.0.0.1:51639] 404 GET /:/plugins/net.fribbtastic.coding.plex.myanimelist (6 live) GZIP 0ms 350 bytes

I am on Debian 8 with the latest Plex.

Did you chmod on the folder and files of the plugin? Also does the Plex account have ownership

@EZarnosky said:
Did you chmod on the folder and files of the plugin? Also does the Plex account have ownership

Thanks, I had to do chmod +x on the init py file in the bundle.

No problem. Windows is easier, but a Linux server is so much better… and free

Okay folks I had a problem with the API for a few days, Database needed repairing. Works now and you Anime should update correctly

Seems like there’s a newer version of BABS over here GitHub Link, I used that for a while and that solved the OVA / Movie / Folder with one video file problem.

Bug:
I can’t attach this OVA by any chances. https://myanimelist.net/anime/7279/TO
Seems like MyAnimeList itself requires search string to be longer than 3 characters, and so does the API. The almost only way I can do to get to the page is using Google. Do you have any idea to fix that?

@berong91 said:
Seems like there’s a newer version of BABS over here GitHub Link, I used that for a while and that solved the OVA / Movie / Folder with one video file problem.

Bug:
I can’t attach this OVA by any chances. TO - MyAnimeList.net
Seems like MyAnimeList itself requires search string to be longer than 3 characters, and so does the API. The almost only way I can do to get to the page is using Google. Do you have any idea to fix that?

Thanks for the Info.

In regarding the Bug, as you already said since MAL only accepts 3 characters for search there is nothing the API can do. However it seems that you can still rename your Episodes to a synonym that are listed on the page.

For example, I had the same problem with the anime K which, as a single Character, was pretty impossible to find. But renaming my episode to K-Project did the trick.

I tested the search and Elliptical Orbit will get the Anime you are looking for in the results, You need to do a manual match though. (Don’t worry about the name, in your library the name will still be “To” only on the filesystem the name will be different)

Other than that, there is unfortunately nothing I can do since I’m depending on myanimelists search function working properly.

@Daraku said:
For example, I had the same problem with the anime K which, as a single Character, was pretty impossible to find. But renaming my episode to K-Project did the trick.

I tested the search and Elliptical Orbit will get the Anime you are looking for in the results, You need to do a manual match though. (Don’t worry about the name, in your library the name will still be “To” only on the filesystem the name will be different)

Work excellent, I don’t even know you can search using the title’s synonyms.

When I try to change the agent to Myanimelist it keeps saying “changes could not be saved”.

@berong91 said:
Seems like there’s a newer version of BABS over here GitHub Link, I used that for a while and that solved the OVA / Movie / Folder with one video file problem.

Bug:
I can’t attach this OVA by any chances. TO - MyAnimeList.net
Seems like MyAnimeList itself requires search string to be longer than 3 characters, and so does the API. The almost only way I can do to get to the page is using Google. Do you have any idea to fix that?

I was able to search for one and two character named series by adding spaces in the search. Instead of “k” I searched for "K ".

Hi, I got the anime agent a little while ago. I just started using it though. It’s having issues with compiling episode meta data. Can I get any help here? :# I am trying to get lupin part 2-3 episode data and this happens every time .

@Spectro87 said:
When I try to change the agent to Myanimelist it keeps saying “changes could not be saved”.

Are you using it on a linux based OS? If this is the case then you need to have the correct permissions on the file (chmod +x on the python file should do it) as already done here

@NetflixSucks said:
Hi, I got the anime agent a little while ago. I just started using it though. It’s having issues with compiling episode meta data. Can I get any help here? :# I am trying to get lupin part 2-3 episode data and this happens every time .

I checked my API and it has the Episodes saved so it must be at your end. Refresh your metadata and if that then doesn’t update the episode titles then clear your cashe or do a force refresh. This can happen sometimes that plex doesn’t wait for all the action to finish in the background.

Thanks for the advice. I got it working.

I’ve same problem with @Spectro87 , but I use Windows. The problem is

When I try to change the agent to Myanimelist it keeps saying “changes could not be saved”.

@Rudisca said:
I’ve same problem with @Spectro87 , but I use Windows. The problem is

When I try to change the agent to Myanimelist it keeps saying “changes could not be saved”.

some things you can try:

  • If you have the same problem with other Agents and not just the MALAgent then maybe it is a server issue
  • If it is only an issue with the MALAgent then check the permissions of the init.py file in the Code folder and see if this is set correctly
  • try a reinstall of the server and the agent.

This is something that seems to only come up when there are permission issues on linux OS why this is happening on Windows too I’m not really sure. I coded it on Windows so it should work (and it works on many other systems too), why your system doesn’t work however eludes me.

I’ve also seen this only as a permission issue o Linux.

Just a thought it might be windows might be blocking the plugin for security reasons (script not digitally signed). Open the file properties of the MAL plugin and see if it is blocked.

I normally don’t see home computers with that level of security set, but you never know.