-
Notifications
You must be signed in to change notification settings - Fork 105
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
Feature request: Add HAMA provider #532
Comments
Add edit description to links and description what is Hama, anidb |
I've updated the description to include links to HAMA and AniDB. |
@eduardlleshi Are you willing to add a section to README.md on how to install and use this plugin? |
@eduardlleshi can you please also paste example filenames for movies and series in form that plex understands. so could test the agent with empty files locally. |
@glensc I've followed the instructions on the HAMA repo to get both Absolute Series Scanner (as a scanner) and HAMA (as an agent) installed. I'm running the Plex Server on an Nvidia Shield TV which had its complexities to get these installed. My Library setup looks like this: I've added the filenames to the series here. What's interesting is that with a previous version (0.15.0) the errors contained more info on the GUIDs, including IMBD and TVDB. Would that help in matching the animes without the need for AniDB API?
|
do share what is the current version and current outcome? also, looks like your initial issue description lacks version information, please fill that in as well. also, when i asked about writing documentation: I meant adding it to readme.md via pull request. |
You talk about a sync error :
Here we have logs about a provider error :
But episodes have many guids, so this error about one guid should not prevent the sync. Other guids (imdb, tvdb) should match and make the sync work. |
@eduardlleshi please add examples of HAMA movies. Run inspect command, for example:
the number is plex key from url:
|
Added some hack based on local tests with no media: but could do better with inspect output of speciic items, as I get just guid=xxx with empty guids with agent setup I did locally: |
Ran Movie 'The Cat Returns' with
Show 'Samurai Champloo' with
Episode 'Samuai Champloo Ep 1' with
Hope this helps |
Seems the examples all have only one guid, and in form of |
Is there a library for anidb? Is there api documentation? first one to answer gets a 👍🏿 :D |
If such translation exists, the anidb would be useless. @eduardlleshi |
@glensc do you still want me to make a PR for HAMA/ASS install instructions? Currently, I do not have any Movies using the HAMA agent. Appreciate @Frazzer951 for jumping in and sending over some inspect examples! @twolaw I have 8 anime shows, where 5 are on TVDB and 3 on AniDB:
I do not know the reason why HAMA decides to go with AniDB over TVDB. On my HAMA agent settings, TVDB is set as the first choice, while AniDB is a fallback. I believe AniDB contains more data on a given Anime show like better season/arc grouping, season covers, music, English titles/descriptions, cast and so on. Something that caught my eye is that the AniDB shows are more recent, and it could be that the info on TVDB is missing at the time a show gets released. I can inspect HAMA logs on this if that's valuable information for you. I believe @glensc is right on finding a translation from AniDB IDs to something that Trakt understands. At the end of the day, we'd want to be able to log these as watched on Trakt, while Plex can still use AniDB as the source of information for the show. @glensc this seems to be the official AniDB HTTP API. |
Those 8 anime shows are on TMDB. Can you use TMDB as first HAMA source choice ?
TVDB is not recommanded as source, TMDB is recommanded by Plex and Trakt. |
TLDR; Using Plex TV Agent worked better than HAMA for the sync. There is one show with absolute episode numbers on TMDB that is failing. Renaming the show episodes to work with TMDB results in a PlexTraktSync exception. I first set TMDB as the first source on HAMA. Deleted show "Record of Ragnarok", emptied trash on Plex, and re-added the show. The right data was populated on Plex, however it seems like AniDB was chosen again based on the inspect:
I then changed the Anime library to use "Plex TV Agent". Deleted the show, emptied Plex trash, and re-added it. The show data populated on Plex, and PlexTraktSync worked fine on marking the episodes as watched from Trakt -> Plex. I can verify that marking from Plex -> Trakt also worked.
Finally, moved all Anime shows to a different directory on the server, kept "Plex TV Series" as the Anime agent. All shows except 1 were matched against TMDB and data was being synced Plex <-> Trakt. The only show I had problems with was "One Piece. Plex was not able to match the episodes using TMDB. File named as S21E01 - no metadata found from Plex. PlexTraktSync inspect shows:
File renamed to S21E892 - metadata matched against TMDB on Plex. The sync doesn't work still though:
I ran
|
Ok so except for
This looks strange because on TMDB season 21 have 109 episodes only. About the last bug |
Not sure if these are exactly what you need but this is what i found with a quick search API Definitions: AniDB Software: |
I don't have any local data stored for this show, only the video files. Kept the names as S21E01... and Plex is not able to match any metadata with "Plex TV Agent", so no episode titles or anything like that. Renaming them with absolute episode numbers S21E892 (this is the 892nd One Piece episode) and it does pull the metadata from TMDB, but no trakt sync. I'm okay missing a few shows though. I'll wait on the #487 fix and see if I'd be able to sync it with S21E892. |
@twolaw I wasn't aware of that option. Using "TheTVDB (Aired)" worked for me. It was able to pull the info from TMDB for every episode, thus making the sync work as well. It seems like HAMA/ASS was not needed, and with your help, I got to use the default Plex agent and match everything. Do we still need to look into the AniDB matching? |
Great!
In my opinion, it's not needed and too complicated. |
Feature description
It seems like any anime Movie or TV Show is not able to be synced to Trakt due to HAMA being its provider.
I'm not sure if that's a limitation on Plex or Trakt, but it would be awesome this is something that can be added on PlexTraktSync in the near future.
HAMA stands for HTTP AniDB Metadata Agent: https://github.com/ZeroQI/Hama.bundle
AniDB is an Anime Database that contains more anime than TVDB: https://anidb.net/
These are two sample errors (one fetching from AniDB and another from TVDB). I can provide more debugging if necessary.
Use case
Running
sync
orwatch
would match Anime media and sync the status to Trakt.Plan to implement
I'd love to contribute, but unfortunately, I don't have experience with Python.
The text was updated successfully, but these errors were encountered: