bstascavage / plexReport

Scripts to generate a weekly email of new additions to Plex
67 stars 17 forks source link

Feature request: Add support for anime tv folders: HTTP Anidb Metadata Agent (HAMA) #20

Open shottothedome opened 9 years ago

shottothedome commented 9 years ago

The default tvdb metadata agent has very poor support for anime. My anime section uses the zeroqi HAMA agent: https://github.com/ZeroQI/Hama.bundle - currently not compatible with plexReport's script.

When running the script plexReport exits with this:

plexReport.rb:126:in getNewTVEpisodes': undefined method[]' for nil:NilClass (NoMethodError) from plexReport.rb:215:in main' from plexReport.rb:232:in

'

bstascavage commented 9 years ago

So I do not watch a lot of anime. Any (smallish) series you'd suggest as a usecase?

shottothedome commented 9 years ago

I needed to use hama mostly for the very large animes like one piece, naruto shippiden and dragon ball z. The default tvdb agentcant deal with 100+ episodes correctly. Since number of episodes probably doesnt matter use my favorite shorter anime: Steins;gate - I used filebot to rename episodes to anidb format for use with hama but you can mix n match with tvdb formatted names as well. Another option would be to get just a single season of one piece like season 16 that has episodes named up in the 500-600+ range. If you put the episodes into season folders, it will still create seasons without having to number episodes like SxxExx. so you can leave the names like: One Piece - xxx - episode

bstascavage commented 9 years ago

BTW, the current version of the script will execute successfully for you, but will just not include your animes. Not the final solution, but at least it is useable for your use case

shottothedome commented 9 years ago

Ran through fine. Even included some of the Anime section. Some stuff was missing but that is to be expected. Very nice script! So as far as what is shows as new, it uses air dates for tv?

bstascavage commented 9 years ago

It does.

Is this still an open ticket?

shottothedome commented 9 years ago

I've just gotten around this by making sure everything is pulled from thetvdb when possible (by manually changing teh matching). Anything being pulled from anidb.net does not show up.

jedimstr commented 8 years ago

Any chance this ticket could be looked at again? Many Anime series and movies need the Hama agent to be managed correctly in Plex and switching to thetvdb.org agent would screw much of the Anime portion of my collection. This is the one part of PlexReport that bugs me, missing a large portion of my library in the update emails I send out.

ZeroQI commented 7 years ago

HAMA maintainer here... If any info is needed i can provide it. I tried to look at this source but i am afraid i don't understand it...