[Rel] HTTP Anidb Metadata Agent (HAMA)

I am assuming your talking about the “Plex Media Scanner Custom.log” file if so that thing has not been updated since 30 July 2014. Attached is the com.plexapp.agents.hama.log file

Tested creating a new lib with just pokemon advanced in and it shows all episodes, weird how the main lib would be skipping those eps.

It is created in logs folder if you did update the scanner… maybe the scanner crashes… “plex media scanner.log” would have a trace of the error then. Since hte scanner decide the serie name season and episode number, its logs are mandatory…can’t t/s without scanner logs i am afraid

I can upload the normal scanner log tonight its only the custom scanner log thats not getting updated. I recreated the entire lib again now showing all pokemon episodes, but I added 5 new series to the library. 4 added correctly the 5th one is not showing up, added it to my test lib that only has pokemon advanced in and its showing “No game no life” correctly along with its specials. Something weird is definitely going on.

Do you only want the scanner log or the hama log again as well?

for files not showing the agent log is useless… I need the custom scanner Logs and normal scanner logs to figure out what’s happening or correct the scanner code to generate logs for you.

if you can confirm:
. your Plex absolute log path + os
. last scanner code or version that did create custom logs for you
. Plex Media scanner.log + Plex Media Scanner (custom).log

Ok so I didnt know your custom log file’s location was hard coded. My Plex runs off my D drive not the default windows directory. I changed it so it now creates the log file where the rest of plex’s logs are.

OS is windows 10 x64

edit: 51 pokemon advanced episodes missing again.

It’s all in python, the code is not compiled and directly readable, and i went to great length to keep it short and readable…
I had to code the bloody thing to put the logs there since the original scanner log is non existent… not perfect but works. If you give me the path you had in D: drive will add it so it doesn’t happen to somebody else…

What i found:
. “Rurouni Kenshin [Movies]\1. Samurai X - The Movie” +> “Rurouni Kenshin[01] Samurai X - The Movie”
. “Rurouni Kenshin [Movies]\2. Samurai X - Trust and Betrayal” => “Rurouni Kenshin[02] Samurai X - Trust and Betrayal”
. Rurouni Kenshin [Movies]\3. Samurai X - Reflection" => Rurouni Kenshin[03] Samurai X - Reflection"
. “Pokemon advance” not in custom log but in normal scanner log only “E:\Anime And Manga\Pokemon Movie 14 - Black - Victini and Reshiram” is present from pokemon.
. “Buso renkin” not in log…

please scan library with items that have issue, and include custom log showing them scanner or normal “Plex Media Scanner.log” showing the scanner crashing. the way the scanner logs shows i cannot troubleshoot pokemon not showing if not in logs…

its there in the folders that are added. If i create a second library and point to only the pokemon advance and no game no life folders like i did with my test library it shows up. Its the exact same folders that the main library is pointing to.

If the log is nog picking them up or showing them then I don’t know what else I can do. When I recreated the main library last night it showed all the pokemon advance episode. This afternoon when I fixed the location so it would put the custom log in the same place as all the other logs and did a rescan so it would create the log file the 51 episodes went missing again. Still no sign of the “no game no life” title.

I can put the path in manually every time I update now since I know i have to. The location is not the same on my main pc as the path I use on my media pc.

Buso renkin is fine now since I rebuild the library. The only issue I am experiencing at the moment is the missing 51 episodes and “no game no life” no showing at all in the main lib

Attached is screen show of main lib as you can see missing eps and the other title not showing. and test lib showing them fine. Those 2 folders are within the main folders added to the main lib so no reason why they shouldn’t be picking up especially since it can see the other 140 eps

re-scan and check if there is an error in “Plex Media Server.log” and if not check “Plex Media Server (custom)xxx.log”. can you give me both filelist so i can reproduce ?

I use the magic of symlinks

Open CMD and run this command (modify as needed)

mklink /j Origin Destination

Example:

mklink /j "C:\Users\Vorador\AppData\Local\Plex Media Server" "d:\Plex Media Server\"

Do it once and forget. Since my Plex folder is several gigabytes worth and i run my OS and profile off an SSD, it’s worth doing it.

1º Close Plex
2º Move Plex Media Server folder to your place of choice
3º Create symbolic link pointing to the new place.
4º Run Plex again.

See attached. Checked the server log and everything looks fine. Can’t see any errors/failures or crashes

@Vorador thanks I didn’t even think of that. Will make it easier to manage both plex servers or atleast one less thing to keep track off

ignore the previous post. with attachments sorry i copied them away too soon it seems

You have the following issues if i understood:
. pokemon advance 58-109 missing but NOT in filelist “anime-2” NOT in custom log “anime-2”. They seem to be in “ani est”.
. “no game no life” no showing at all

All libraries needs re-creating IF you had my code with anidbid as metadata id and is using latest code which use anidb-xxxx as metadata id. You can also add several root folders per library…

The filelist doesn’t show the files. The scanner custom logs doesn’t show the files. Are you sure the files are part of Anime 2 or did you last attach the wrong files? The last logs given scanned only E:\Anime And Manga.

Previous logs show F:\Anime New and they are not in there neither… but agent logs show F:/Anime/Pokemon Advanced/Pokemon Advanced - 193 - Home Is Where The Start Is! [C-W][DTV].avi’
2015-09-13 20:07:08,973 (368c) : DEBUG (logkit:13) - search() - AniDB - temp score: ‘100’, id: ’ 1041’, title: ‘Pokemon Advanced’

Can you please give me logs for the library that contain your folders ? It seems they are in F:/Anime and it seems all the other scan log you give me are for “E:\Anime And Manga” and “F:\Anime New”…

Please delete all logs, libraries impacted, create again, scan again, check the files in question are showing in the filelist AND in scanner logs and please attach these logs. if it is not showing try https://gist.github.com/ZeroQI/26d26f91af04c876b1a0 to see if files listed then

Okay will do and upload once done. My anime on my main pc is split among 4 folder over 3 drives. I usually sort them out and them move them to my media pc once every couple of months since I need to log a change with the boss aka GF…to get down time on that machine to do updates and all the necessary maintenance

I am consolidating everything into 2 folders over 2 drives before I create a new lib. will take roughly 20min to move everything from one drive to the other.

Okay so recreated everything and got the same result. Busy running with the alpha scanner. Still busy but thus far the “Plex Media Scanner (custom ass) - Anime.log” is twice the size it was previously and has records for both main folders on both drives unlike the previous one, but its not creating the “Plex Media Scanner (custom ass) - Anime - filelist.log” file like the non alpha one was

Ill check what its doing once the thing is done scanning and loading metadata and give feedback/logs if needed

correct the new doesn’t create filelist because of the way it works, and does not support plexignore files, but should be faster and does process folders differently. i have a batch file to create filelist if needed

So far everything looks good. Scanned the lib a few times eps didn’t go missing and the one that wasn’t showing up previously is now displaying fine

Okay I must be making some really dumb mistake. I can get the Absolute Series scanner to show up when creating a new library, but the HAMA agent is not appearing. I checked that all the folders are there, checked _init_.py, restarted the server and the computer.

Edit: Not sure what I did, got it to show up

Check agent folders. Since the scanner is detected its the right plex folder
On 19 Sep 2015 21:10, “paranoidkiwie” forums+d77636@plex.tv wrote:

I must be making some sort of dumb mistake. Using Ubuntu, copied the
whole folder structure to /var/lib/plexmediaserver/Library/Application
Support/Plex Media Server/ where it has the Plug-ins, Plug-in Support,
Scanners folders. However, in the Server/Agents/TV Shows list, nothing new
pops up. If I create a new library, I see “Absolute Series Scanner” but
just the standard agents. What am I doing wrong?


Reply to this email directly or follow the link below to check it out:
https://forums.plex.tv/discussion/comment/1021861#Comment_1021861

Note: Your signature will be included when replying directly by email
unless you remove it first. Attachments will not be included when replying.