@EZarnosky said:
You probobly know, but I just did a search and MAL has an API. It allows searching and even the add/removal of an anime series from a registered users anime list on MAL. It would mean less work for you on a website and just managing the plug in should they tweak the API.
Eric
the last time I checked the API was not good at all but I will check it out.
Edit:
I used in the first version of the Agent the official API. You need to have a account to use it. Also they don’t have the genres and producers and content rating in the API.
Cool. I hope they made adequate improvements to the API. I need to get something working… when your plugin can’t ID the series it gets processed by other plugin and I get really weird result.
If you want a tester for future releases, let me know. I have hundreds of anime series and movies on my NAS.
Quick Update: While fixing some bugs the API gets blocked by Myanimelists encapsulation software. I will get intouch with them and try to figure out whats going on, so far search does not work. requesting anime works as long as it is cached.
I copied the files to the Plugins folder and restarted multiple times, but it’s not showing up in my list of agents. Attached server log. Please help D:
@yousie642 said:
I copied the files to the Plugins folder and restarted multiple times, but it’s not showing up in my list of agents. Attached server log. Please help D:
Oct 16, 2015 15:41:18:747 [10992] DEBUG - Perfect cache hit, we don't need to start [net.devvsbugs.coding.plex.myanimelist] yet.
As you may have noticed, the Agent isn’t working working anymore. The reason for that is that the API-backend isn’t returning any search results. So if you add an anime to your library a search query will be executed to see which ID the anime has. As for my tests this is blank every time. I don’t know yet why this is happening, maybe the API get’s blocked by the encapsula of MyAnimeList.net and at the moment I’m too busy to investigate any further. Sorry for the inconvenience.
Thanks for that update Daraku. I had to redo my server, unfortunately, and I was using this for my Anime library. I’m doing some stuff in the DB (I’m dangerous like that but take full responsibility) and looking at my old DB and my new DB at the same time I was using this agent. Of course, when I tried it on current build I wasn’t getting any results so was second guessing myself even though the DB was clearly showing I had used it. So thanks for clarifying that so I don’t keep going insane. I’ve reverted to thetvdb agent for now, but hopefully when you get some time (no rush, I completely understand you have no obligation to resolve this and there are other priorities in your life) you will be able to resolve this quickly and we can go back to using this.
Quick Status update:
It seems that my USER_AGENT to access Myanimelist.net is still working! Why my API is not returning any results is a mystery to me. Nonetheless development on the new API has begun and I finished the search algorithm, next will be parsing the detailed page, caching inside a database and a rework of the Agent. Got a lot of stuff to do until I can release everything but now I have some more time to actually work on it. Stay tuned.
@Daraku said:
Quick Status update:
It seems that my USER_AGENT to access Myanimelist.net is still working! Why my API is not returning any results is a mystery to me. Nonetheless development on the new API has begun and I finished the search algorithm, next will be parsing the detailed page, caching inside a database and a rework of the Agent. Got a lot of stuff to do until I can release everything but now I have some more time to actually work on it. Stay tuned.
I was just about to look for a different agent. I am REALLY hoping you are able to pull through! LOVE your agent, and love using MAL.
@Daraku said:
Quick Status update:
It seems that my USER_AGENT to access Myanimelist.net is still working! Why my API is not returning any results is a mystery to me. Nonetheless development on the new API has begun and I finished the search algorithm, next will be parsing the detailed page, caching inside a database and a rework of the Agent. Got a lot of stuff to do until I can release everything but now I have some more time to actually work on it. Stay tuned.
I’ve found that while your MAL agent does not find everything, if I open the MyAnimeList entry and have plex lookup via the alternate names (the agent will not work with kanji, hiragana or katagana) I can get it to work 80% of the time.
Just curious, you have a donation link? I use the hell out of your agent and don’t mind donating some money to keep the agent working. I currently use it for over 1,000 titles and do not see an end in site
@sweetaction said:
I was just about to look for a different agent. I am REALLY hoping you are able to pull through! LOVE your agent, and love using MAL.
Thanks for all your hard work!
Thank you, So far most of the stuff of the old API I can use again. Saving in the Database will be a bit rough and I hope that my Data Structure is supported to get parsed into the Database. I have half of the Detailed Page finished. I need to implement a logger if something is not working correctly because the new API won’t just response with an exception if something can’t be parsed (like a “-” for a date). Much to do but hey I have the time right now.
@EZarnosky said:
I’ve found that while your MAL agent does not find everything, if I open the MyAnimeList entry and have plex lookup via the alternate names (the agent will not work with kanji, hiragana or katagana) I can get it to work 80% of the time.
Just curious, you have a donation link? I use the hell out of your agent and don’t mind donating some money to keep the agent working. I currently use it for over 1,000 titles and do not see an end in site
There are a few strange things happening with kanji titles. I suggest you use only “normal” Titles which are used by MyAnimelist.
@EZarnosky said:
I’ve found that while your MAL agent does not find everything, if I open the MyAnimeList entry and have plex lookup via the alternate names (the agent will not work with kanji, hiragana or katagana) I can get it to work 80% of the time.
Just curious, you have a donation link? I use the hell out of your agent and don’t mind donating some money to keep the agent working. I currently use it for over 1,000 titles and do not see an end in site
There are a few strange things happening with kanji titles. I suggest you use only “normal” Titles which are used by MyAnimelist.
Only reason I tried the kanji and other characters was the hopes that they could get a hit like the series alternate names do at times. It seems odd that I can’t get a hit on the MAL default name, but if i use a alternate name it give I can. Does your API try to look it up each time? If you would like I can give you a couple examples when I log into my Plex tonight.
Since the API is “just” parsing the website and therefore the whole search-algorithm is done by myanimelist. It is like you would search on myanimelist by yourself so whatever name you take be it japanese, a synonym, the english title or the original title it should find it. But like I said there could be problems with encoding when using the kanji etc…
Don’t try to match your Anime right now because the API that is live is broken, don’t know why. Also If you have problems with matching you should check your naming convention and use the Title of the Anime that is Listed on Myanimelist. In a few situations in my Library I had to take the english name for example for “Fairy Tail (2014)” i had to take “Fairy Tail Series 2” or “K” (for obvious reasons ) i used “K-Project”. So alternative titles work but I would only recommend using them if the title doesn’t work.
@Daraku said:
Since the API is “just” parsing the website and therefore the whole search-algorithm is done by myanimelist. It is like you would search on myanimelist by yourself so whatever name you take be it japanese, a synonym, the english title or the original title it should find it. But like I said there could be problems with encoding when using the kanji etc…
Don’t try to match your Anime right now because the API that is live is broken, don’t know why. Also If you have problems with matching you should check your naming convention and use the Title of the Anime that is Listed on Myanimelist. In a few situations in my Library I had to take the english name for example for “Fairy Tail (2014)” i had to take “Fairy Tail Series 2” or “K” (for obvious reasons ) i used “K-Project”. So alternative titles work but I would only recommend using them if the title doesn’t work.
Dude Huge thanks for the donation.
No problem on he donation. Like I said, i use the hell out of your agent.
I can tell you are working on you agent backend. a lot of the stuff I just added is showing up as “None Piece”. Kinda frustrating but if I try it s couple times it locks on to the right series. The only one that is constantly sticking to None Piece is “Hayate no Gotoku!!” I can get the agent to recognize it, bu it still loads the None Piece data.
Regardless, I appreciate the work you are doing. Hopefully MAL will get a stable API soon that you can hook into. I hate using AniDB (not sure why, maybe because they default to the English names for series).
just saw your link to your site. Shows it is in maintenance mode.
Any idea why the scrapper wouldn’t even pick up new anime added? As of today, I added a folder with 2 new episodes for Erased (Boku Dake ga Inai Machi), but it doesnt show up in the plex library for matching.
@sweetaction said:
just saw your link to your site. Shows it is in maintenance mode.
Any idea why the scrapper wouldn’t even pick up new anime added? As of today, I added a folder with 2 new episodes for Erased (Boku Dake ga Inai Machi), but it doesnt show up in the plex library for matching.
@sweetaction said:
NM, it appears to be working now.
Plex works this way: The Scanner scans for new files and parses them into a Database readable format and therefore creates a new “None Piece” in your Database. After this process is completed the Agent is activated to find the metadata. Since my Cache (a saved “state” of the anime accessed by my API) still works all Anime that are still cached will deliver data. New Anime that were added to MyAnimelist after my API requests to myanimelist went dark are not cached and therefore not in the Database and will not deliver data when you try to access it through Plex.
Yeah my website is in maintenance mode right now because I switched from 2 WP installations to WP multisite and am cleaning up what was left there, I decided since there are no posts (yet) on it I can put it in maintenance mode until I have something to write about. Probably next week I will write put a post up I had on the old blog.
API is back up running again, might need to fix bugs since I can’t generate for all animes specific test cases. Might need to rethink error handling since how it is now you won’t get an exception but then I don’t know which anime has problems.
I implemented Banners, Covers and Background images from TheTVDB again because it is just nice to have.
Writing the Agent right now and finished the search. Only Update for Movie and TVShow is left.
Wow 6 Days of my last update, time flies, but now I have good news.
I think I fixed the last bug today. Had some problems with the API that it wouldn’t parse the episodes when there is no fix number of episodes.
What that means is that I am close to an release of the Agent. I will test it over the weekend and see how it is running and will release it on Monday. Until then … stay tuned