ZeroQI / Hama.bundle

Plex HTTP Anidb Metadata Agent (HAMA)
GNU General Public License v3.0
1.19k stars 110 forks source link

Naruto Arcs not being correctly named, I think my tvdb4.mapping file is being ignored and is using the online xml file? #562

Closed AdamZane closed 4 months ago

AdamZane commented 4 months ago

I put this issue in ASS, and because my files are actually in the right spot, I think it may be a hama issue, I won't rewrite all the details though: https://github.com/ZeroQI/Absolute-Series-Scanner/issues/484

Here are all the logs I think: com.plexapp.agents.hama.log com.plexapp.system.log Naruto [tvdb4-78857].agent-update.log Naruto [tvdb4-78857].agent-search.log root.agent.log

ZeroQI commented 4 months ago

What metadata do you have that is wrong, and what did you expect it to be?

Is it about the season title / arc name?

AdamZane commented 4 months ago

This is what I would like my Arcs to be: image

This is the Metadata for season 2 I have received in plex: image

As you can see in that picture, say episode 13, it should be getting this metadata: "https://thetvdb.com/series/naruto/episodes/296987" but instead it gets this metadata: "https://thetvdb.com/series/naruto/episodes/297022"

I think it is pulling from the tvdb4.mapping.xml file rather than matching to my tvdb4.mapping file.

Let me know if further elaboration is needed

AdamZane commented 4 months ago

I am going to move these comments to the other thread and keep everything there so this does not get confusing

ZeroQI commented 4 months ago

Ep s01e13 abs number 13 "Haku's Secret Jutsu: Demonic Mirroring Ice Crystals" getting s02e13 abs number 48 metadata "Gaara vs. Rock Lee: The Power of Youth Explodes!" metadata... Clearly a metadata hence agent issue.. Mapping file is to put eps in the right season

AdamZane commented 4 months ago

So I was right, it is an agent issue, thus everything should be within this thread? Dang it?

ZeroQI commented 4 months ago

https://github.com/ZeroQI/Hama.bundle/blob/master/Contents/Code/tvdb4.py absolute_map: {'1': ('1', '1'), '2': ('1', '2'), '3': ('1', '3'), '4': ('1', '4'), '5': ('2', '5'), '6': ('2', '6'), '7': ('2', '7'), '8': ('2', '8'), '9': ('2', '9'), '10': ('2', '10'), '11': ('2', '11'), '12': ('2', '12'), '13': ('2', '13'), '14': ('2', '14'), '15': ('2', '15'), '16': ('2', '16'), '17': ('2', '17'), '18': ('2', '18'), '19': ('2', '19'), '20': ('3', '20'), 'max_season': '3', 'unknown_series_length': True} TVDB4_dict: {} Tvdb4 s02e13 (real s01e13) got data from real s02e13. Need to locate where the mistage is. Seem like it can only happen if first saga folder have less episodes than the real folder and absolutely numbered eps overlaps real episode in subsequent seasons

AdamZane commented 4 months ago

I ended up just using the anidb ordering, I realized I don't really care much for arcs in Naruto. On another note, you said that in regards to One Piece 0.5 arcs wouldn't work, but I actually did some clever renaming and got it to work! image image

01|0001|0003|Romance Dawn Arc 02|0004|0008|Orange Town Arc 03|0009|0017|Syrup Village Arc 04|0018|0018|Gaimon Arc 05|0019|0030|Baratie Arc 06|0031|0044|Arlong Park Arc 07|0045|0046|Buggy Arc 08|0047|0053|Loguetown Arc 09|0055|0063|Reverse Mountain Arc 10|0064|0067|Whiskey Peak Arc 11|0068|0069|Coby Arc 12|0070|0077|Little Garden Arc 13|0078|0091|Drum Island Arc 14|0092|0130|Arabasta Arc 15|0144|0152|Jaya Arc 16|0153|0195|Skypiea Arc 17|0196|0206|G8 Arc 18|0207|0228|Long Ring Long Land Arc 19|0229|0263|Water Seven Arc 20|0264|0312|Enies Lobby Arc 21|0313|0325|Post-Enies Lobby Arc 22|0337|0381|Thriller Bark Arc 23|0385|0405|Sabaody Archipelago Arc 24|0408|0421|Amazon Lily Arc 25|0422|0451|Impel Down Arc 26|0452|0489|Marineford Arc 27|0490|0516|Post-War Arc 28|0517|0522|Return to Sabaody Arc 29|0523|0574|Fishman Island Arc 30|0579|0625|Punk Hazard Arc 31|0629|0746|Dressrosa Arc 32|0747|0776|Zou Arc 33|0777|0877|Whole Cake Island Arc 34|0878|0889|Reverie Arc 35|0890|1085|Wano Arc 36|1086|1086|Egghead Arc (unknown length)