Git Product home page Git Product logo

Comments (7)

sven-7 avatar sven-7 commented on September 27, 2024

Here is another Hama log refresh from just updating Ep 5. The XML that is being pulled from AniDB still has it as "Episode 5" despite it being updated on the actual site by now.

2016-05-01 12:55:26,778 (13ec) : DEBUG (logkit:13) - --- Update Begin -------------------------------------------------------------------------------------------
2016-05-01 12:55:26,778 (13ec) : DEBUG (logkit:13) - Update - metadata source: 'anidb', id: '11739', Title: 'None',([...], [...], True)
2016-05-01 12:55:26,778 (13ec) : DEBUG (logkit:13) - anidbTvdbMapping() - anidbid '11739' not found in file
2016-05-01 12:55:26,779 (13ec) : DEBUG (logkit:13) - Update() - AniDB mode - AniDB Serie XML: http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=11739, AniDB/11739.xml
2016-05-01 12:55:26,779 (13ec) : DEBUG (logkit:13) - xmlElementFromFile() - url: 'http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=11739', filename: 'AniDB/11739.xml'
2016-05-01 12:55:30,825 (13ec) : DEBUG (networking:161) - Fetching 'http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=11739' from the HTTP cache
2016-05-01 12:55:30,859 (13ec) : DEBUG (logkit:13) - xmlElementFromFile() - Loading locally since banned or empty file (result page <1024 bytes)
2016-05-01 12:55:30,861 (13ec) : DEBUG (logkit:13) - Update() - AniDB title: 'My Hero Academia', original title: 'Boku no Hero Academia', metadata.title 'None'
2016-05-01 12:55:30,868 (13ec) : DEBUG (logkit:13) - Update() - AniDB Start Date: '2016-04-03'
2016-05-01 12:55:30,868 (13ec) : DEBUG (logkit:13) - update() - AniDB Ratings: '5.71'
2016-05-01 12:55:30,869 (13ec) : DEBUG (logkit:13) - Update() - genres: [('Action', 100), ('Manga', 0), ('Shounen', 0)] ['Action', 'Manga', 'Shounen']
2016-05-01 12:55:30,869 (13ec) : DEBUG (logkit:13) - AniDB Genres (Weight): Action (100) Manga (0) Shounen (0)
2016-05-01 12:55:30,871 (13ec) : DEBUG (logkit:13) - anidbCollectionMapping() - anidbid is not part of any collection, related_anime_list: '[]'
2016-05-01 12:55:30,871 (13ec) : DEBUG (logkit:13) - AniDB Creator data: Umakoshi Yoshihiko is a director, Horikoshi Kouhei is a writer, Bones is a studio, Kuroda Yousuke is a producer, Nagasaki Kenji is a director,
2016-05-01 12:55:30,871 (13ec) : DEBUG (logkit:13) - Update() - AniDB Poster, url: 'http://img7.anidb.net/pics/anime/183559.jpg'
2016-05-01 12:55:30,874 (13ec) : DEBUG (logkit:13) - metadata_download() - url: 'http://img7.anidb.net/pics/anime/183559.jpg', num: '99', filename: 'AniDB/183559.jpg'
2016-05-01 12:55:30,875 (13ec) : DEBUG (logkit:13) - Update() - AniDB specials title - Season: '0', epNum.text: 'C2', epNumVal: '151', ep_title: 'Ending'
2016-05-01 12:55:30,875 (13ec) : DEBUG (logkit:13) - Update() - AniDB specials title - Season: '0', epNum.text: 'C1', epNumVal: '101', ep_title: 'Opening'
2016-05-01 12:55:30,901 (13ec) : DEBUG (logkit:13) - Update() - AniDB episode title: 'Episode 5'
2016-05-01 12:55:30,903 (13ec) : DEBUG (logkit:13) - Update() - AniDB AirDate '2016-05-01'
2016-05-01 12:55:30,903 (13ec) : DEBUG (logkit:13) - Update() - AniDB duration: '1500000'
2016-05-01 12:55:30,904 (13ec) : DEBUG (logkit:13) - Update() - DURATION: 1500000, numEpisodes: 1
2016-05-01 12:55:30,905 (13ec) : DEBUG (logkit:13) - --- Update end -------------------------------------------------------------------------------------------------

from hama.bundle.

EndOfLine369 avatar EndOfLine369 commented on September 27, 2024

It shows in the log. Looks like your access to the AniDB API has been banned for now. So because of this, the agent is using cached data from the last time it was able to pull down from AniDB. You will have to wait for the ban to be lifted as well as the cache to timeout.

2016-05-01 12:55:30,825 (13ec) : DEBUG (networking:161) - Fetching 'http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=11739' from the HTTP cache
2016-05-01 12:55:30,859 (13ec) : DEBUG (logkit:13) - xmlElementFromFile() - Loading locally since banned or empty file (result page <1024 bytes)

from hama.bundle.

sven-7 avatar sven-7 commented on September 27, 2024

Ah, that makes sense. I did a full refresh yesterday, so that probably upset them a little bit... How long did it take your last ban to get lifted?

Also, if Hama is bringing back cached metadata, but TVDB still has the actual title in their, will it not take the TVDB one at that point?

from hama.bundle.

EndOfLine369 avatar EndOfLine369 commented on September 27, 2024

That is also shown in the log. Looks like it is failing to get the tvdb id from the ScudLee mapping list. This file is loaded at agent startup/restart.

Log :

2016-05-01 11:18:27,039 (11c4) : DEBUG (logkit:13) - anidbTvdbMapping() - anidbid '11739' not found in file
...
2016-05-01 12:55:26,778 (13ec) : DEBUG (logkit:13) - anidbTvdbMapping() - anidbid '11739' not found in file

anime-list-master.xml :

  <anime anidbid="11739" tvdbid="305074" defaulttvdbseason="a" episodeoffset="" tmdbid="" imdbid="">
    <name>Boku no Hero Academia</name>
  </anime>

Looks like i'm also having an issue loading the file...

2016-05-01 12:22:52,145 (-8efd530) :  DEBUG (__init__:106) - ### HTTP Anidb Metadata Agent (HAMA) Started ##############################################################################################################
2016-05-01 12:22:52,146 (-8efd530) :  DEBUG (__init__:749) - xmlElementFromFile() - url: 'http://anidb.net/api/anime-titles.xml.gz', filename: 'anime-titles.xml'
2016-05-01 12:22:56,225 (-8efd530) :  DEBUG (networking:166) - Requesting 'http://anidb.net/api/anime-titles.xml.gz'
2016-05-01 12:22:57,636 (-8efd530) :  DEBUG (__init__:749) - xmlElementFromFile() - url: 'http://rawgithub.com/ScudLee/anime-lists/master/anime-list-master.xml', filename: 'anime-list-master.xml'
2016-05-01 12:22:57,682 (-8efd530) :  DEBUG (networking:166) - Requesting 'http://rawgithub.com/ScudLee/anime-lists/master/anime-list-master.xml'
2016-05-01 12:22:58,264 (-8efd530) :  DEBUG (__init__:749) - xmlElementFromFile() - url: 'http://rawgithub.com/ScudLee/anime-lists/master/anime-movieset-list.xml', filename: 'anime-movieset-list.xml'
2016-05-01 12:22:58,301 (-8efd530) :  DEBUG (networking:166) - Requesting 'http://rawgithub.com/ScudLee/anime-lists/master/anime-movieset-list.xml'
2016-05-01 12:22:58,608 (-8efd530) :  INFO (core:611) - Started plug-in

from hama.bundle.

sven-7 avatar sven-7 commented on September 27, 2024

305047 is definitely the TVDB ID. I'm seeing the same things you are.

I also had this happen for Kabaneri of the Iron Fortress.

from hama.bundle.

EndOfLine369 avatar EndOfLine369 commented on September 27, 2024

The anidbid '11739' not found in file above was from your log posts. I'm not having any issues in the metadata load for the series. You also need to note that not only does Plex cache the url pulls but the AniDB API also stores a cache on their end of no less then 12hrs. So even if your Plex is actively pulling the URL (not from Plex cache) that AniDB is probably giving you their own cached info. This secnerio is actually seen below as i'm not using a Plex cached version but I am getting the "Episode 5".

For new anime series, you basically have the possibility of being required to wait about a minimum a day and a half (Plex 1day + AniDB 12hrs) to get the new metadata.

2016-05-01 13:03:35,476 (-b5e8470) :  DEBUG (__init__:228) - --- Update Begin -------------------------------------------------------------------------------------------
2016-05-01 13:03:35,477 (-b5e8470) :  DEBUG (__init__:609) - Update - metadata source: 'anidb', id: '11739', Title: 'My Hero Academia',([...], [...], True)
2016-05-01 13:03:35,615 (-b5e8470) :  DEBUG (__init__:633) - anidbTvdbMapping() - anidb: '11739', tvbdid: '305074', tmdbid: '', imbdid: '', studio: '', defaulttvdbseason: 'a', name: 'Boku no Hero Academia'
...
016-05-01 13:03:41,069 (-b5e8470) :  DEBUG (__init__:576) - Update() - AniDB mode - AniDB Serie XML: http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=11739, AniDB/11739.xml
2016-05-01 13:03:41,070 (-b5e8470) :  DEBUG (__init__:749) - xmlElementFromFile() - url: 'http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=11739', filename: 'AniDB/11739.xml'
2016-05-01 13:03:45,097 (-b5e8470) :  DEBUG (networking:166) - Requesting 'http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=11739'
2016-05-01 13:03:45,490 (-b5e8470) :  DEBUG (__init__:609) - Update() - AniDB title: 'My Hero Academia', original title: 'Boku no Hero Academia', metadata.title 'My Hero Academia'*
...
2016-05-01 13:03:45,557 (-b5e8470) :  DEBUG (__init__:610) - Update() - AniDB episode title: 'Episode 5'
2016-05-01 13:03:45,558 (-b5e8470) :  DEBUG (__init__:610) - Update() - AniDB AirDate '2016-05-01'
2016-05-01 13:03:45,559 (-b5e8470) :  DEBUG (__init__:610) - Update() - AniDB duration: '1500000'
2016-05-01 13:03:45,561 (-b5e8470) :  DEBUG (__init__:610) - AniDB episode title is missing but TVDB has one availabe so using it.
2016-05-01 13:03:45,644 (-b5e8470) :  DEBUG (networking:166) - Requesting 'http://thetvdb.com/banners/episodes/305074/5570618.jpg'
2016-05-01 13:03:45,812 (-b5e8470) :  DEBUG (networking:198) - Not caching 'http://thetvdb.com/banners/episodes/305074/5570618.jpg' (content type 'image/jpeg' not cacheable in Agent plug-ins)
2016-05-01 13:03:45,814 (-b5e8470) :  DEBUG (__init__:739) - metadata_download() - url: 'http://thetvdb.com/banners/episodes/305074/5570618.jpg', num: '1', filename: 'TVDB/episodes/5570618.jpg'
2016-05-01 13:03:45,815 (-b5e8470) :  DEBUG (__init__:610) - TVDB mapping episode summary - anidb_ep: 's1e5', tvdb_ep: '5', season: '1', epNumVal: '5', defaulttvdbseason: 'a', title: 'What I Can Do for Now', summary: 'It's Izuku's first day of high school, and he stil'

image

from hama.bundle.

sven-7 avatar sven-7 commented on September 27, 2024

Ah, okay. Thanks. Will consider this closed.

from hama.bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.