@minkintn said:
Thank you for taking your time fixing it. All the show that was having problem pulling data is now pulling the correct stuff.
I have a quick question involving episode title and summary stuff. I’ve been getting mixed result, and I don’t know if it was my error naming files or MAL having no data on that. So how can I check if it was my fault or MAL’s fault?
my agent, or rather the API behind, it only pulls the name of the episode not the summary (just because I would need a single request for each episode which would be astronomical if you just would want to match One piece for example and its 750-ish episodes). If you have uncomplete data you can check myanimelist.net. if the data is there then wait a week for the cache in my API to refresh on the next request (while prior clearing the cache of plex). If it is still not there then maybe my API has a problem but so far it worked fine.
@minkintn said:
Thank you for taking your time fixing it. All the show that was having problem pulling data is now pulling the correct stuff.
I have a quick question involving episode title and summary stuff. I’ve been getting mixed result, and I don’t know if it was my error naming files or MAL having no data on that. So how can I check if it was my fault or MAL’s fault?
my agent, or rather the API behind, it only pulls the name of the episode not the summary (just because I would need a single request for each episode which would be astronomical if you just would want to match One piece for example and its 750-ish episodes). If you have uncomplete data you can check myanimelist.net. if the data is there then wait a week for the cache in my API to refresh on the next request (while prior clearing the cache of plex). If it is still not there then maybe my API has a problem but so far it worked fine.
I see, the show which have episodic summaries must be pulled from another plugin then. I only care about episodes name anyway so it’s good enough for me. Thanks for the reply!
I have been using this agent for a while now and it has been working fantastically. Thank you for your time working on this.
I am having a little bit of an issue that for some anime, even though metadata is correctly downloaded but episode titles are not present at all. All other anime have episode titles except for some e.g. Assasination classroom s1, Code geass Lelouch R2, Digimon adventure 02, dragon ball super, fate stay night Unlimited blade works s1, naruto shippuuden, magi the kingdom of magic, magi the labyrinth of magic, one piece, shingeki no kyojin, shokugeki no souma s1…
log file is also attached… it just says that episode not found using dummy data. Thank you
I have been using this agent for a while now and it has been working fantastically. Thank you for your time working on this.
I am having a little bit of an issue that for some anime, even though metadata is correctly downloaded but episode titles are not present at all. All other anime have episode titles except for some e.g. Assasination classroom s1, Code geass Lelouch R2, Digimon adventure 02, dragon ball super, fate stay night Unlimited blade works s1, naruto shippuuden, magi the kingdom of magic, magi the labyrinth of magic, one piece, shingeki no kyojin, shokugeki no souma s1…
log file is also attached… it just says that episode not found using dummy data. Thank you
As far as I can see you have no Errors in the log file. I checked my API and Assassination Classroom for example returns Episodes, Code geass on the other hand has episodes but are not available in my API (no error).
A while back I noticed that sometimes Plex is to eager to display some information and will “skip” other even though the information is fully downloaded and cached (a quick match should fix this). I also noticed that, after deleting the cached entry in my API that the server apparently has another cache for the requests on which I have unfortunately no Influence.
All in all, IF myanimelist has the information available, then my API will deliver all the information to the Agent (when all caches are refreshed). So, at this point, I can only say that you need to be patient.
Thank you for the reply.
Its just that a while back, say in the case of Naruto Shippuuden, i used to get episode titles, but it hasn’t been so for the last 2-3 weeks i guess… It just says in the log file that it couldn’t find episode and will use dummy data…
@adeelshuaib said:
Thank you for the reply.
Its just that a while back, say in the case of Naruto Shippuuden, i used to get episode titles, but it hasn’t been so for the last 2-3 weeks i guess… It just says in the log file that it couldn’t find episode and will use dummy data…
Yeah. Since myanimelist.net is blocking too many requests in a specific timeframe it can be possible that anime with a long episode count will run in this problem. The agent doesn’t care so far if you have already a few episodes, if the request has no episodes well then too bad for you all your episodes are gone now … this is a design flaw I made and didn’t thought about just yet (and possibly easy to fix)
This fix won’t just overwrite your existing episode titles as it does right now but rather checks if the title is the default value I specified (Episode X) if that is the case it will replace it. But that means that if the title itself changed the changes aren’t carried over. I need to think about a possible better solution but this will be better than it is right now.
@adeelshuaib said:
Thank you for the reply.
Its just that a while back, say in the case of Naruto Shippuuden, i used to get episode titles, but it hasn’t been so for the last 2-3 weeks i guess… It just says in the log file that it couldn’t find episode and will use dummy data…
Yeah. Since myanimelist.net is blocking too many in a specific timeframe it can be possible that anime with a long episode count will run in this problem. The agent doesn’t care so far if you have already a few episodes, if the request has no episodes well then too bad for you all your episodes are gone now … this is a design flaw I made and didn’t thought about just yet (and possibly easy to fix)
This fix won’t just overwrite your existing episode titles as it does right now but rather checks if the title is the default value I specified (Episode X) if that is the case it will replace it. But that means that if the title itself changed the changes aren’t carried over. I need to think about a possible better solution but this will be better than it is right now.
Thank you for explaining all this… Looking forward to the better solution… Thanks once again
Thank you for explaining all this… Looking forward to the better solution… Thanks once again
So I did some changes to the Agent
merged Log messages to reduce lines in the log file
fixed a warning in which the agent tried to request more banners, covers, backgrounds but there were none
Episode Title: Will only be set when there is an actual value from the API if there is no API value available and the title is empty it will be set to the Default title (Episode: X)
Episode Date: Will only be set when there is an actual value from the API if there is no API value available and the title is empty it will be set to the current date (so that it still appears on the “next episode”)
So far my tests went very well and I will test it a bit more over the Weekend and if nothing dramatically pops up a new version is ready on Sunday.
Keep an eye out on my twitter on which I will post the new version (and edit this post so that I don’t double post)
After I have followed the outlined procedure to add the Agent to Plex, I find the Agent listed in the dropdown menu. However, when I try to select it and save changes (or create a new library with the MAL Agent selected), Plex says “The changes could not be saved.” As far as I can tell, there is nothing in the logs about the MAL Agent. Please let me know what I should try to troubleshoot this.
Try a different browser and use the IP of the server rather the name. Last reply says by updating to 1.3.3.3148 has fixed the problem. Is your server version up to date?
I have tried the new version of the agent. Most of my issues with episode titles have been resolved. Thank you for that. But there are still some remaining. Assassination classroom s1, fate stay night unlimited blade works, one piece, shokugeki no soma s1 still don’t have episode titles. Another show Hellsing, it had episode titles before the new agent but after using the new agent, episode titles are gone for this show too.
I have tried the new version of the agent. Most of my issues with episode titles have been resolved. Thank you for that. But there are still some remaining. Assassination classroom s1, fate stay night unlimited blade works, one piece, shokugeki no soma s1 still don’t have episode titles. Another show Hellsing, it had episode titles before the new agent but after using the new agent, episode titles are gone for this show too.
Like I said before some of your issues could be of not up to date caches of my api the server the api is running on or your plex server (last is pretty easy to fix because you just need to delete it).
Please try and delete the cache and the log files and refresh the metadata of your missing anime. After you have done that and they still have no episode titles attach the log file so I can take a look
I have tried the new version of the agent. Most of my issues with episode titles have been resolved. Thank you for that. But there are still some remaining. Assassination classroom s1, fate stay night unlimited blade works, one piece, shokugeki no soma s1 still don’t have episode titles. Another show Hellsing, it had episode titles before the new agent but after using the new agent, episode titles are gone for this show too.
Like I said before some of your issues could be of not up to date caches of my api the server the api is running on or your plex server (last is pretty easy to fix because you just need to delete it).
Please try and delete the cache and the log files and refresh the metadata of your missing anime. After you have done that and they still have no episode titles attach the log file so I can take a look
Thank you for the reply. After going through the steps mentioned, only one show is left without episode titles i.e Assassination classroom s1… Attached is the log file after clearing all other shows…
On another note, i am not getting any background and poster images as well for this show…
@adeelshuaib said:
Thank you for the reply. After going through the steps mentioned, only one show is left without episode titles i.e Assassination classroom s1… Attached is the log file after clearing all other shows…
On another note, i am not getting any background and poster images as well for this show…
First of: My Agent can only display what is available in the API, the API can only grab information that are A: available and B: not blocked by “too many requests”. That means that when myanimelist doesn’t has it my API can’t grab it. Background images are for example requested from TheTVDB and only if the name is found, which is, because of spelling or title correlation (I think my API requires a 75 or 80% match) sometimes not possible.
That being said In your Particular case is the issue a simple miss match. You named it not wrong but the search request returned the ID 19759 which is in fact the ID of the Manga and not the Anime. The Anime actually has the ID 24833 and is titled “Ansatsu Kyoushitsu (TV)” if you name your Anime this way you will get all the information that are available (as of now episode backgrounds, banners and covers)
@adeelshuaib said:
Thank you for the reply. After going through the steps mentioned, only one show is left without episode titles i.e Assassination classroom s1… Attached is the log file after clearing all other shows…
On another note, i am not getting any background and poster images as well for this show…
First of: My Agent can only display what is available in the API, the API can only grab information that are A: available and B: not blocked by “too many requests”. That means that when myanimelist doesn’t has it my API can’t grab it. Background images are for example requested from TheTVDB and only if the name is found, which is, because of spelling or title correlation (I think my API requires a 75 or 80% match) sometimes not possible.
That being said In your Particular case is the issue a simple miss match. You named it not wrong but the search request returned the ID 19759 which is in fact the ID of the Manga and not the Anime. The Anime actually has the ID 24833 and is titled “Ansatsu Kyoushitsu (TV)” if you name your Anime this way you will get all the information that are available (as of now episode backgrounds, banners and covers)
Oooooh, so that was the case. No wonder, i wasn’t getting anything. Yup, its all sorted now.
Thank you for your patience in helping me solve the issues.
Try a different browser and use the IP of the server rather the name. Last reply says by updating to 1.3.3.3148 has fixed the problem. Is your server version up to date?
I don’t have any other custom agents, but it works fine when I use any of the other agents already bundled with Plex. Saw those same links when I was searching for a solution. I’ve tried 127.0.0.1, my router assigned ip address, localhost, and my server’s hostname on the following browsers: Chrome, Safari, Edge, IE, and Opera. I’ve checked to make sure everything is up-to-date as well. I read through those links and tried those suggestions again. Still no luck. Haven’t even been able to figure out if it’s a server issue or a client issue because there isn’t anything relevant in the logs.
@vinayputreddi@gmail.com said:
I don’t have any other custom agents, but it works fine when I use any of the other agents already bundled with Plex. Saw those same links when I was searching for a solution. I’ve tried 127.0.0.1, my router assigned ip address, localhost, and my server’s hostname on the following browsers: Chrome, Safari, Edge, IE, and Opera. I’ve checked to make sure everything is up-to-date as well. I read through those links and tried those suggestions again. Still no luck. Haven’t even been able to figure out if it’s a server issue or a client issue because there isn’t anything relevant in the logs.
I’m really at a loss here and I can only guess what the problem could be, try to download the agent again, maybe you had a corrupted file or something, use a different scanner (as recommended BABS), reinstall plex, check your permissions on the folder you want to add (so that plex actually has access to it). If you use Lastpass in Chrome maybe try to deactivate it which could prevent it from saving the changes. There also could be an issue as described here of where your installation origin was. So if you installed it from the package center of Synology it wouldn’t work but with the installer from plex.tv it would.
@Akamaru92 said:
Hi Daraku,
It seems that your agent have currently problems to load the metadata for animes. I’m using the latest version of your agent.
Thanks for reporting this, There were two problems here and one still persists that I can’t fix and need you to be patient.
My API had problems requesting Data from the database …
Myanimelist is blocking requests for the moment even searches are blocked
So far requests should be available again and too many requests should resolve itself (hopefully) in a bit. Just don’t go all crazy and refresh the data, clear the cache of plex and wait for the next refresh.
On another Note:
I thought about this too many requests “Issue” and dig through my emails and found the timespan I need to have each request … 20 seconds (15 requests in 5 minutes). So the Option I have is to rework the API so that every request made is looked up in the Database and returned, and in the background a thread is running and does one request every 20 seconds.
Pros: I can get episode synopsis’s and no more too many requests (in theory because searches still need to be looked up directly)
Cons: The Amount of time for One anime for example One Piece 772 request as of now means for One piece alone I would need 15440 seconds (4.2888889 HOURS)
I don’t know if the time is worth the additional Data or the time you won’t get any results because of the too many requests (which should be reduced now) …