Comments (21)
Hi @aleung241,
- Looks like your cached scudlee file is not repulled from Github
anidbTvdbMapping() - anidbid '11638' not found in file
. You will need to wait for the 1day cache of the file to expire for it to get repulled and your agent to get reloaded for it to get repulled. - AniDB API is currently down https://twitter.com/AniDBStatus
- Looks like there is a minor issue in variable usage. @ZeroQI please fix this line now or in your reduction pull.
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)))
from hama.bundle.
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
from hama.bundle.
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.
from hama.bundle.
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
from hama.bundle.
Its the search when you do a match/fix match search.
from hama.bundle.
@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?
Is there a way we can clear the cache of just these files as well and not all cached data? I can see a possibility of AniDB ban people from repeated calls of the same item in <1day.
from hama.bundle.
I'm still having this issue, is there any way for me to fix it?
Slightly annoying having to manually go through newly added anime and include the poster, background, etc. myself.
Greatly appreciate your work on this though!
from hama.bundle.
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 ?
Please paste the content of the locally saved mapping file
Since ANIDB API[https://twitter.com/AniDBStatus] is down, the code might crash like above.
Please attach the agent log, so if the agent can't handle anidb down, we correct that
from hama.bundle.
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?
from hama.bundle.
the readme mention all filenames and location
You NEED to copy in the agent data folder the empty folders or metadata will not be loaded as per the readme instructions
from hama.bundle.
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?
from hama.bundle.
anidb API is down since the 5th of july!!!!!!
Link https://twitter.com/AniDBStatus confirming this has been pasted twice
You could have deleted the file, then matched a single serie and the log would be small...
from hama.bundle.
Hey @ZeroQI,
I think the complaint at this point is that with AniDB down but TVDB is still up, posters/backgrounds are still being pulled but they are not being applied even if we couldn't get core metadata from AniDB.
This seems to be that even though posters are added, it is not enough to trigger them to be loaded.
By simply changing:
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).
This triggers the images to be loaded into Plex. And once AniDB is back up, a refresh will fix the title as this initial setting has the test of not metadata.title
so even if AniDB goes out again, it will not override the AniDB title.
from hama.bundle.
@YoeJates / @aleung241
Master has been updated and you should at least be able to now get posters while AniDB is currently down. ea29c41
https://raw.githubusercontent.com/ZeroQI/Hama.bundle/master/Contents/Code/__init__.py
from hama.bundle.
Thanks, this is a big help. When AniDB is back up, will it also refresh series synopsis', year of creation etc. as well?
from hama.bundle.
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.
from hama.bundle.
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.
from hama.bundle.
@sven-7, please open up a separate ticket and attach hama logs.
For this ticket, AniDB is indeed back up, we got the ability to make sure to get posters from TVDB while AniDB is down, and fixed 'anime-list anidbid missing' variable issue.
from hama.bundle.
@YoeJates, with AniDB back up, if you refesh your entries now it should work as usual now and you'll get all metadata.
from hama.bundle.
Berserk error self-corrected. Not going to open up a ticket.
from hama.bundle.
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:
http://www.paste.org/flat/81126
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.
Permissions have been set to 775 as the installation instructions have said.
In addition, it seems the scanner's python file is not compiling, although that issue, #49, seems to be closed without any resolution
from hama.bundle.
Related Issues (20)
- Movies agent not confident enough to match without intervention HOT 1
- i want to have two Hama agents HOT 3
- Seasons posters not showing HOT 1
- HAMA is no longer working! HOT 29
- Scudlee Files Out-of-Date? How to force update? HOT 5
- Trakt scrobbler not working HOT 2
- Missing Genre entries HOT 3
- Adding to TrueNAS SCALE containers HOT 4
- Japanese Summaries HOT 2
- Make Discover Credits functionality compatible with HAMA HOT 1
- Locked (edited) fields are overwritten when applying anidb mapping HOT 5
- "Refresh Metadata" removes customizations HOT 10
- Not finding the newer series HOT 9
- Newly added episodes of a specific series no longer receive metadata HOT 9
- One Piece [tvdb4-81797] is not downloading any metadata. HOT 2
- Naruto Arcs not being correctly named, I think my tvdb4.mapping file is being ignored and is using the online xml file? HOT 7
- ASS + Hama not correctly identifying Show HOT 9
- Hama Parsing Errors degrading server performance HOT 5
- Movies broken into "episodes" with AniDB HOT 7
- Two shows refuse to load/fetch metadata even after doing a plex dance. Had metadata prior to losing it. HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hama.bundle.