-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not grabbing metadata #59
Comments
Hi @aleung241,
FROM:
error_log['anime-list anidbid missing'].append("anidbid: %s | Title: '%s'" % (anidb_id, name))
TO:
error_log['anime-list anidbid missing'].append("anidbid: %s | Title: 'UNKNOWN'" % (WEB_LINK % (ANIDB_SERIE_URL % anidbid, anidbid))) |
Fix for variable name not found pushed. You can also check the copy of the mapping file saved in agent data folder to confirm it doesn't have the anidbid. If you custom search a serie called "clear-cache" it will clear all http cache for you, then you just cancel the item found |
What is this custom search? I've tried searching for "clear-cache" through plex's normal search bar on top left in web browser, but it returns with no results. |
It's in the agent code. if you search a serie with that name, it calls the plex python defined function that clear the cache |
@ZeroQI, this would only clear the HTTP cache. It would not trigger a reload of the 'ANIDB_TITLES'/'ANIDB_TITLES'/'ANIDB_TITLES'. Should we add in a search option that does that where it clears the cache then reloads those core files? |
While the agent can get the anidbid, with the error "UnboundLocalError: local variable 'name' referenced before assignment" present, it crash. did you replace the agent with the version there https://github.com/ZeroQI/Hama.bundle/blob/3f131531292d4fd1a70eb8bff629205265429856/Contents/Code/__init__.py ? |
Yes, I replaced the agent with that version and it doesn't apply any metadata after refreshing the library. I noticed when I edit each series, the metadata has been downloaded, such as posters, backgrounds and others but it isn't applying the metadata to the series. Is this the issue that the update was supposed to fix? And sorry, I have no idea where the mapping file and agent logs are. Any directions for those? |
the readme mention all filenames and location |
I have the folders within the data folder in plug-in support, I've been using this for a couple of months without any issue. But the past two days it won't load the metadata properly, it will download it, but not apply it to each series. It seems to not be downloading the AniDB posters etc. and downloading TVDB stuff, but not applying those to the series. The "com.plexapp.agents.hama" log is huge, and I don't want to paste it in here to spam. What's a better way of showing it? |
anidb API is down since the 5th of july!!!!!! |
Hey @ZeroQI, This seems to be that even though posters are added, it is not enough to trigger them to be loaded. FROM:
if anime:
### AniDB Title ###
TO:
if not anime:
try:
if not metadata.title and tvdbtitle: metadata.title = tvdbtitle
except Exception as e:
Log.Error(e)
else:
### AniDB Title ### It will update the title of the series with the title from TVDB (If known/available). |
@YoeJates / @aleung241 |
Thanks, this is a big help. When AniDB is back up, will it also refresh series synopsis', year of creation etc. as well? |
Correct. When AniDB is back up. This workaround is for when AniDB is down is to just get the posters loaded from TVDB recognized by Plex. |
I have Berserk (2016) mapped with tvdb2, but it's not pulling down metadata correctly it seems. (This could be scanner related too -- python file does not seem to be compiling - will open another issue (#49)) Also, I believe AniDB is back up now. |
@sven-7, please open up a separate ticket and attach hama logs. |
@YoeJates, with AniDB back up, if you refesh your entries now it should work as usual now and you'll get all metadata. |
Berserk error self-corrected. Not going to open up a ticket. |
EDIT: issue has fixed itself I still have issues even after updating init.py with the most current version and plex server restarted. hama agent log: As in my first post, mapping is there in anime-list-master.xml and anidb's api anime-title.xml, but it the error logs still show it as not found. When anidb's api was down, the newly added anime series had title as anime-title[anidb-xxxxx], but around the time when it went back up, newly added series will have the title, but no longer have the [anidb-xxxxx] part appended. However, in both cases, metadata is still not available. The latest example of no metadata, but no longer having the [anidb-xxxxx] part is Planetarian, but it seems the agent crashes during the first update before it reaches, the UnboundLocalError. All folders are correct and in the right place. In addition, it seems the scanner's python file is not compiling, although that issue, #49, seems to be closed without any resolution |
Cover and metadata not loading for just one series recently added (Masou Gakuen HxH).
Seems like the anidbid is not found even though it exists in the xml files.
anime-list-master.xml:
anime-titles.xml:
Hama log:
Scanner seems to be picking it up though
series.log:
but none of the other logs have it, with ASS - Filelist.log and the ASS.log completely empty
The text was updated successfully, but these errors were encountered: