[Rel] HTTP Anidb Metadata Agent (HAMA)

I gave and explained all ways to do…
Inuyasha [tvdb3-71361]
Did that solve the issue?

@ZeroQI said:
@guillaumejay Thanks for the test, it is what i was afraid of. You see, I loaded the fr xml from tvdb instead of the english one, plain and simple. English is pretty documented for episode summaries on thetvdb…
If i were to do what you imply, i need to load 2 xmls for every serie, which i would like to avoid and I believe people would be less inclined to update thetvdb then…

Ah, I did not know tvdb was sending all summaries in only one request ! It’s a bit problematic.

I’m not sure people would be less inclined ( I think for most people, blank or foreign language summaries are both disturbing, so …)

Anyway, do as you want.

And thanks for the detailled (re-) explanation you did for clowncracker about tvdb2, tvdb3, and especially tvdb4… even if all ll was already explained in readme.md, shame on me !

and BTW, I think the read.md is quite clear, it’s just that it’s a big wall of text.

I don’t get why you said “shame on me”…
I modified the readme each time i had a question to answer all. if i make it short people will post even more questions.
You read and confirmed the readme is clear and didn’t ask a question whose answer is in it.
I think the different modes allow to display as you want without renaming the files, just folders, but it can be tricky at times

@ZeroQI said:
I don’t get why you said “shame on me”…

:slight_smile:

“shame on me”, because in your explanation two post above you (re-)told how to sort by Arcs, which I wanted to do two weeks ago, and then abandoned the idea because it was not working by creating “arc folders” => I had not read (completely) the readme :slight_smile: - I should have taken 5 minutes to read it fully rather than just browse it quickly for installation details :slight_smile:

Ah ok… Thanks for explaining, make perfect sense now.
You can also create a layer of “Ark xxx” folders which don’t hinder the scanner but using sagas as seasons uing tvdb4 mode force keeping the absolute series number, but work best i found for long series and use meaninfull seasons
We used a file on github to create standard tvdb4 seasons for some series too

I renamed my Arks to Season 0x - Ark Title (with tvdb4/absolute numbering) Is there any reason to use Ark instead ?
(it works, but it’s also a serie which is in https://github.com/ZeroQI/Absolute-Series-Scanner/blob/master/tvdb4.mapping.xml, so maybe i should have done nothing and it would have worked too)

When I used tvdb-xxx, I gotI got french summaries when available, or english if not… so it works perfectly it seems ( logged url : http://thetvdb.com/api/A27AD9BE0DA63333/series/252322/all/fr.xml )

ark xxx is a blank folder without meaning that is skipped. It means you can do Serie/Arx ccc/serie e0xx - title.ext and the ark part is transparent. I prefer tvdb as it create a meaningful display without moving any files
Yep it would have worked. you can create your custom mappings locally too to override.
EndOfLine396 helped quite a bit adding some modes to mine, and now we basically can present the data any way we want, group series too, and is is so much better than the default scanner now, but also we have functionality that exist nowhere else at the moment :smiley:

Scanner wise, the only improvement is to remove the reliance on"from lxml import etree" as it cause isseus with latest buggy plex version on windows, but dunno what to replace it with (without needing other libraries if possible)…

Happy days. Thanks for the descriptive feedback.
Have included the main patch in the code thanks to your feedback.

@ZeroQI said:
I gave and explained all ways to do…
Inuyasha [tvdb3-71361]
Did that solve the issue?

It looks like Season 8 was added to Season 1. I didn’t want Plex to show all 8 seasons, but to just have the Final Act appear as one season.


Inuyasha [tvdb-71361-s02e160]
I gave this already with all possible case scenarios… tvdb4 needs absolute numbering so eps can’t start back at 1, but doesn’t care about seasons. This will make it season 2 but ep 160+ so will get proper metadata. You have to use tvdb numbering and have >159 eps season 1 so you don’t follow tvdb numbering

My inuyasha settings:

Hey,

i have sometimes a problem with naming of the series for example
Ghost in the Shell: Stand Alone Complex 2nd GIG (a1176)

I get the main title of the show in plex “Koukaku Kidoutai S.A.C. 2nd GIG” and i want to get the official or englisch one.
I tried to chaning EN to first possition in HAMA but it still applies the main name.

Is there a easy way?

Edit:
OK looks like server reboot fixed the problem :wink:

@ZeroQI said:
Have included the main patch in the code thanks to your feedback.

Glad to have be helpful. And yes, you can be quite proud of your job.

The only thing now missing is to make Plex display arc names of Season 1, Season 2… :slight_smile:

But is it possible ?

Season title doesn’t exist but season summary does but will show only when displaying the season, so no.

I’m trying to write up a list of commands that installs HAMA and ASS on Ubuntu server, where thinking I would post in the GitHub wiki when its done.

Only snag I have is the Plug-Ins.support.folders.7z since you have to install stuff to unpack .7z files. Any chance you could post that file as a zip so it’s easy to unpack using the command line without installing stuff? Then you can do the whole thing as a list of commands without ftp’ing files over and also update hama via git.

@F0rcen awakens, a new hope, but not a rogue one…
Updated https://github.com/ZeroQI/Hama.bundle/releases/tag/v1.0
Only the folders are mandatory since i cannot create them from the agent side, the files can all be skipped,
Files were there to show the logs name and location since users will have to decompress

@ZeroQI said:
@7gartner : http://lmgtfy.com/?q="ImportError%3A+DLL+load+failed%3A+The+specified+module+could+not+be+found"+etree
try to install the following, try again and report which solved the issue
https://www.microsoft.com/en-us/download/details.aspx?id=48145
https://www.microsoft.com/en-us/download/details.aspx?id=5555
https://www.microsoft.com/en-us/download/details.aspx?id=40784

Having this same problem and none of those files will install for me because I already have newer versions installed.

Might be worth noting that it seems to happen when the number of files in the library goes over a certain amount (unable to pin down the exact number though)

Having a lot of confusion. I am trying to add the Gall Force OVAs, 10 in total. I keep OVAs in a Movie library (is that what you recommend?) but have also tried scanning them in TV.
Here is a shot of how the Movie library is configured:

Is that correct?

First I had the issue from several pages ago, where no posters, descriptions, etc. were downloaded. Fixed by changing all instances of rawgithub.com to rawgit.com in init.py.

Now when I try to match a video under Movie I get a great selection of Gall Force OVA search results, but no matter which I choose it downloads the same poster and fan art (from the GF TVDB page), and no release date, description, etc.

A good example is The Ten Little Gall Force, which has a nice AndiDB page. But ASS never seems to grab data from there when the library type is Movie. Instead it just pulls in the same generic TVDB poster it grabs for every Gall Force OAV. (Looking at anime-list-master.xml, all Gall Force entries do have the same tvdbid, 138691, but unique anidbids.)

When I put Ten Little Gall Force in a TV library it does grab the AniDB description, release date, etc. but no poster or any other images. TV library settings:

I’ve also tried putting the videos in different folder names in each library.

Totally stuck. Did I make any obvious mistakes? Thanks for your time.

Was the agent readme followed?
I mean the install part with the agent data folders which also tells to use github code that already got rawgit.com fix (so which version do you run if not the latest?) and also to use latest DefaultPrefs.json as it changed recently… The part where it says posters missing are due to agent data folders missing? Also if followed, the troubleshooting section advise to attach the agent logs but also filelist for me to reproduce the issue…
Also i explain in the readme of the scanner and agent the agent gather the metadata, not the scanner, leading me to suspect you didn’t read tge readme…
Please document exactly which part of the readme is unclear so i rewrite it. The links are in my signature…