[Rel] HTTP Anidb Metadata Agent (HAMA)

This message is just telling that the scanner doesn’t know the library this directory is a part of. It’s not an error, but rather an informational message.

If you have issues with scanning, you can create that file at the root of the library, the instructions for finding the token is in support documents. You don’t need it for normal use.

I’m just trying to figure out my issue. For whatever reason posters aren’t pulling in to individual episodes for DBZ and Attack on Titan isn’t getting metadata updates.

I’m not sure about DBZ, but I remember having issues with attack on Titan due to the funny Season 3.5 thing they have going on there. Your issues could be related…

I’m just having issues with TVDB4 in general, was hoping to get input from @ZeroQI.

Also items that have tvdb-xxxxx aren’t even showing up in the scanner, such as Darker than Black (hopefully the issue can be identified in the log in my previous comment).

@clowncracker scanner log gives me the files added to Plex. Hama logs is unreadable due to log redirection… I need the update.log for one impacted series per type of bug

@ZeroQI

DBZ: Posters for individual episodes are not pulling in. Dragon Ball Z.agent-update.log (976.3 KB)

Attack on Titan: Metadata not uploading for episodes 26+. Attack on Titan.agent-update.log (325.0 KB)

Darker Than Black: Not in my library at all. Folder is named Darker Than Black [tvdb-80042]. There is no update.log file. Darker Than Black.filelist.log (12.2 KB) Darker Than Black.scanner.log (6.1 KB) com.plexapp.agents.hama.log (47.7 KB) Plex Media Scanner.log (1.7 MB) Plex Media Server.log (3.4 MB) root.scanner.log (1.2 KB)|attachment root.agent.log (873.5 KB)|attachment

@ZeroQI any chance you’ve looked at my logs?

  • json <64 bytes are blocked for now, explains tvdb posters blocked, Just corrected it now, alredy created bug report https://github.com/ZeroQI/Hama.bundle/issues/321
  • tvdb4 issues after tvdb season 1 if no mapping files, needs to be corrected
  • scanner must have crashed the first time, now won’t run as folder didn’t change, do the plex dance,You have a single folder in a grouping folder, which makes no sense but shoulf be supported. Let me know if the plex dance fixes it…
  1. Doesn’t look like the update worked correctly. ex: Episode 40 still has no episode description or poster. Did the plex dance, etc. Dragon Ball Z.agent-update.log (1.0 MB)
    I also tried adding specials back in and they ended up removing the series from my library. I had to remove the specials to get season 1 to populate in my library again.

  2. What do I need to do to correct this? Based on “https://rawgit.com/ZeroQI/Absolute-Series-Scanner/master/tvdb4.mapping.xml” it looks like Attack on Titan isn’t supported for TVDB4. Can I get Attack on Titan to just look like one long season in Plex? Attack on Titan.scanner.log (25.0 KB)

  3. Plex dance hasn’t solved this. I’ve removed the folder from my library, cleared cache on the server, emptied trash, rescanned, etc. Isn’t this how the folders should be set up?

\Darker Than Black
\\Darker Than Black [tvdb-80042]
\\\Season 1
\\\Season 2
\\\Specials

Please see updated post with new logs.

@ZeroQI Any chance you’ve looked at my new logs?

I am not sure why but some of my anime are showing up with no metadata as the title poster for my anime. Then for some others it shows a “tag” after some of the anime names. I am not sure if anyone is also getting these bugs._Logs.rar (582.8 KB) PMS Plugin Logs HAMA.rar (160.9 KB) PMS Plugin Logs.rar (185.0 KB)

its unrelated to this. its a plex bug in the most recent release

@ZeroQI

Just following up - my issue isn’t just related to posters not populating correctly. However, I did notice that http error 219 is the source of posters and not updating correctly. Not sure how to correct that.

Still unsure why some folders aren’t populating in my library. Going to continue to use Darker Than Black as an example. Cleaned cache, emptied trash, optimized library, plex danced, etc.

root.agent.log|attachment (1.1 MB) root.log|attachment (205 Bytes) root.scanner.log|attachment (2.1 KB) root-anime.filelist.log|attachment (28.6 KB) root-anime.scanner.log|attachment (260.4 KB) com.plexapp.agents.hama.log (101.5 KB) com.plexapp.system.log (210.5 KB) Darker Than Black.filelist.log (18.3 KB) Darker Than Black.scanner.log (9.1 KB) Plex Media Scanner.log (1.6 MB) Plex Media Server.log (387.0 KB)

Seem like thetvdb fails loading

If file don’t show up in plex that’s a scanner issue
Plex media scanner log looks good, folder not skipped, files added

Seem like you have a grouping folder with a single folder inside, while it should be supported, it’s more complicated and there’s a bug currently in the scanner in this setting exactly…
=> Using latest scanner code?

@ZeroQI

For the TVDB issues, is that something with their API or something on the HAMA end?

Should I cross-post the other issue to the scanner thread? If not - I am definitely using the latest scanner code. When you say grouping folder with a single folder inside does this fit that discription:

\Anime
\\Darker Than Black
\\\Darker Than Black [tvdb-80042]
\\\\Season 1
\\\\Season 2
\\\\Specials

That’s how I have it set up, which is how I’ve always done it. Is there another way I should be labeling these folders?

Yep. Series folder “Darker Than Black [tvdb-80042]” inside library root/grouping folder “Darker Than Black”
Now it exit but should let single folder in grouping folder pass so your folder structure trigger a bug

Grouping folders skip , unless single series folder ### [return]

Here is without any tests the possible fix: (considering any transparent and season folder at the end, test if grouping folders as reverse_path has more than one entries, then if folder at root has more than 1 subfolders)

      parent_dir    = os.path.dirname(os.path.join(root, reverse_path[-1]))  # folder at root fullpath
      parent_dir_nb = len([file for dir in os.listdir(parent_dir) if os.path.isdir(os.path.join(parent_dir, dir))]) #How many folders in folder at root
      if len(reverse_path)>1 and parent_dir_nb>1 and "Plex Versions" not in parent_dir and "Optimized for " not in parent_dir:

Please test and update (no plex dance since in grouping folder so plex cache not used for folder content)

It looks like that fix removed all tvdb4 folders from my server. Using Golden Kamuy as an example.

Golden Kamuy.scanner.log (13.5 KB) Absolute Series Scanner.zip (26.7 KB)

Also didn’t fix the Darker Than Black bug.

Darker Than Black.scanner.log (9.1 KB)

Hi there,

I’ve looked everywhere for hours on how to fix this, and can’t seem to find anything. I’ve been trying to change a theme song for one series (One Piece, specifically). With the recent change to Television Tunes, it pulls the English theme (the pirate rap one) and I would very much like to change that. I’ve tried downloading the proper theme from Television Tunes and replacing it in the “AppData\Local\Plex Media Server\Plug-in Support\Data\com.plexapp.agents.hama\DataItems\TelevisionTunes” folder, as well as enabling Local Media Assets and placing a “theme.mp3” inside the folder for my episodes. I’m not sure how I would go about changing this, and that theme is driving me insane, so any help would be greatly appreciated!!

Just fixed tvdb failing to load in Hama since recent changes with dynamic cache.
Please update if running recent version

@ JamesStGermain unfortunately once the theme song is imported it is in Plex Metadata. Update the mp3 in Hama cache, and do the plex dance: move the serie out of the library folder, rescan, put it back, rescan, and it should pick the theme locally.

You could try also local media assets and putting it as themes.mp3 in the series folder, not sure if it will update an already present theme song though…

@ clowncracker Do the plex dance, scanner changes cause funky behavior

I recently tried to change the settings agent on my plex. I tried to put “myanimelist” for summary and genres and they always come up blank anyway to fix that??