[Rel] HTTP Anidb Metadata Agent (HAMA)

@ZeroQI said:
The readme includes troubleshooting steps and logs to include which are missing so i guess you didn’t check the readme whose link is in my signature…

If you check agent logs it will confirm you are missing agent folders which the readme indicate will make the agent crash and cause missing series posters.

Please consider a donation if you didn’t follow install instructions in the readme… i recon you missed the agent data folders

Any update on my issue?

@clowncracker: this is a metadata agent. It combines data from thetvdb and anidb. I went to thetvdb and blood trail shows up as one big season of 24 episodes. Agent can’t find summaries or titles for a season 2 that does’t exist in thetvdb…

So two separate choices:
. either follow anidb numbering and create two separate series folder (you can put the two series folder in one grouping folder but need to add it as additional root folder in the library)
. follow thetvdb and put all in one season of 24 episodes.

To avoid getting lost on the thread, the recommended way to raise bugs is on github, but document plenty and test before and follow either anidb or thetvdb. The agent is smart and will follow either source

@ZeroQI said:
@clowncracker: this is a metadata agent. It combines data from thetvdb and anidb. I went to thetvdb and blood trail shows up as one big season of 24 episodes. Agent can’t find summaries or titles for a season 2 that does’t exist in thetvdb…

So two separate choices:
. either follow anidb numbering and create two separate series folder (you can put the two series folder in one grouping folder but need to add it as additional root folder in the library)
. follow thetvdb and put all in one season of 24 episodes.

To avoid getting lost on the thread, the recommended way to raise bugs is on github, but document plenty and test before and follow either anidb or thetvdb. The agent is smart and will follow either source

TVDB has Black Lagoon as a 24 episode 1 season show, but ANIDB has Black Lagoon as two seperate shows (Black Lagoon and Black Lagoon: The Second Barrage). If possible, I would like Plex to see it as a one season show or a two season show (the second barrage being the second season).

I cannot get Roberta’s Blood trail (which is an 5 episode OVA that is an addition to the regular 24 episodes, so 29 files total) to show up in the same folder as Black Lagoon, it always wants to populate separately. Right now, it overlaps in Plex as additional copies of episodes 1-5.

Again anidb convention with a folder per serie (which you don’t want) or tvdb numbering will all 24 eps as season 1 and blood trail is s00e08-12. there is no other choice since tvdb choose to put both half season in the same season

Has anyone gotten it to work on FreeNAS?

I did download the zip, unzipped it, created all the folders in the correct palces and I seem to be able to find the matching series but it takes forever and nothing really happens no matching is basically happening evn though PLEX seems to be scaning/downloading metadata.

Not sure what to more say her.

Did you really read the troubleshooting section in the readme? I see no hama log attached and most people with freenas had right issues. Please check and post the exact command lines if that is the case so i update the readme

@ZeroQI said:
Did you really read the troubleshooting section in the readme? I see no hama log attached and most people with freenas had right issues. Please check and post the exact command lines if that is the case so i update the readme

What logs are you after since there seems to be different logs for hama?, I will post it then :slight_smile:

@ZeroQI - Thank you very much for your help with Black Lagoon, I finally got it configured the way I wanted.

I have one more question about One Piece though. If I use anidb for the series (since I want absolute number ordering), how would I go about naming the movies? If I mark them as S00, they pull in metadata for specific specials associated with the show instead of the actual movies. Is there a way to have the movie metadata correctly pull in?

Log Naming Convention:

S00E01
S00E02
S00E03
S00E04
S00E05
S00E06
S00E07
S00E08
S00E09
S00E010
S00E012

Actual Movie Names:

Movie 1: One Piece: The Movie
Movie 2: Clockwork Island Adventure
Movie 3: Chopper’s Kingdom on the Island of Strange Animals
Movie 4: Dead End Adventure
Movie 5: The Cursed Holy Sword
Movie 6: Baron Omatsuri and the Secret Island
Movie 7: The Giant Mechanical Soldier of Karakuri Castle
Movie 8: Episode of Alabasta: The Desert Princess and the Pirates
Movie 9: Episode of Chopper Plus: Bloom in Winter, Miracle Sakura
Movie 10: One Piece Film: Strong World
Movie 12: One Piece Film: Z



You could put each movie in its own folder with anidb title numbering but would get 13 series then

You use absolute numbering (one season) therefore AniDB numbering therefore the metadata is AniDB
specials which will not list movies but list opening and ending which is predominently present in torrent downloads so i will not change default behaviour.

If you want movies as specials, anidb doesn’t do that so tvdb is the only reference so you have to change the numbering since your numbering for movie list doesn’t correspond to AniDB nor TVDB…

S00E02 Movie 1: One Piece: The Movie
S00E04 Movie 2: Clockwork Island Adventure
S00E06 Movie 3: Chopper’s Kingdom on the Island of Strange Animals
S00E08 Movie 4: Dead End Adventure
S00E11 Movie 5: The Cursed Holy Sword
S00E13 Movie 6: Baron Omatsuri and the Secret Island
S00E15 Movie 7: The Giant Mechanical Soldier of Karakuri Castle
S00E16 Movie 8: Episode of Alabasta: The Desert Princess and the Pirates
S00E17 Movie 9: Episode of Chopper Plus: Bloom in Winter, Miracle Sakura
S00E19 Movie 10: One Piece Film: Strong World
S00E27 Movie 12: One Piece Film: Z

Solution 1

You could use " [tvdb3-81797]" in folder name to keep absolute numbering on disk but display it using tvdb seasons in plex AND keeping absolute numbers for episodes. The specials would be based on tvdb numbering then [thetvdb.com/?tab=season&seriesid=81797&seasonid=31892&lid=7]

I recommend this.

Solution 2

Alternative would be for me to create a tvdb-4 mode with tvdb specials but anidb numbering

@ZeroQI said:
You could put each movie in its own folder with anidb title numbering but would get 13 series then

You use absolute numbering (one season) therefore AniDB numbering therefore the metadata is AniDB
specials which will not list movies but list opening and ending which is predominently present in torrent downloads so i will not change default behaviour.

If you want movies as specials, anidb doesn’t do that so tvdb is the only reference so you have to change the numbering since your numbering for movie list doesn’t correspond to AniDB nor TVDB…

S00E02 Movie 1: One Piece: The Movie
S00E04 Movie 2: Clockwork Island Adventure
S00E06 Movie 3: Chopper’s Kingdom on the Island of Strange Animals
S00E08 Movie 4: Dead End Adventure
S00E11 Movie 5: The Cursed Holy Sword
S00E13 Movie 6: Baron Omatsuri and the Secret Island
S00E15 Movie 7: The Giant Mechanical Soldier of Karakuri Castle
S00E16 Movie 8: Episode of Alabasta: The Desert Princess and the Pirates
S00E17 Movie 9: Episode of Chopper Plus: Bloom in Winter, Miracle Sakura
S00E19 Movie 10: One Piece Film: Strong World
S00E27 Movie 12: One Piece Film: Z

Solution 1

You could use " [tvdb3-81797]" in folder name to keep absolute numbering on disk but display it using tvdb seasons in plex AND keeping absolute numbers for episodes. The specials would be based on tvdb numbering then [ワンピース - TheTVDB.com]

I recommend this.

Solution 2

Alternative would be for me to create a tvdb-4 mode with tvdb specials but anidb numbering

I tried Solution 1 but I couldn’t get it to work correctly. I added [tvdb3-81797] to the folder name in the parent folder and to each subfolder. However, Plex still breaks everything down into seasons. Any recommendations on how I can proceed?



Did you read the part “but display it using tvdb seasons in plex”?

The picture show it works as designed if using tvdb3 mode. It should use tvdb specials metadata now.

Also just need it on the series folder not subfolders.

So you want tvdb specials numbering but anidb numbering on disk and display so no season. You want to follow Anidb or tvdb numbering convention?

Is it possible to use Anidb numbering while using getting the movies to show as specials?

One thing that I forgot to note is that the metadata isn’t pulling in for this new configuration.

Not possible currently
you can create a folder per movie however, or use tvdb3 mode but you will have TVDB seasons in plex
Metadata should be pulling in
I need the agent logs and the scanner filelist to reproduce the issue

@ZeroQI said:
Not possible currently
you can create a folder per movie however, or use tvdb3 mode but you will have TVDB seasons in plex
Metadata should be pulling in
I need the agent logs and the scanner filelist to reproduce the issue

Hi, all. So I recently added HAMA + ASS to my server and it doesn’t seem to be working for me. Although it downloads the TVDB Banners, Posters and Images, it doesn’t grab any meta-data and shows the “Originally Available” date as the title (this is after matching with anniDB). (See Pictures Below)


Here’s my log, the data gets pulled but not applied.

Annnnnnnnnnnnnnnnnnnnnnnnnnnnnnnd never mind. I never realized I had a parity sync running so plex couldn’t connect to anything outside of my home network. This works great.

havent used HAMA in a long time, so is the scanner option in advance in plex gone? I dont see an option to use Absolute

@ninjadudexp : When you are creating a new library, or editing an existing one, you should see “Absolute Series Scanner” in the “Scanner” drop down under “Advanced”.

Alright, I’ve got this up and running, it’s pulling meta data and posters just fine, but try as I might, I can’t figure out how to keep it from changing the English name to the “main name” even though I’ve selected en for the first second and third choices. Am I missing something here?

If you refresh all will it rebuild using the first name option, or do I have to kill the library and have it start again?