ZeroQI / Hama.bundle

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

Porn thumbnail for El Melloi Case Files #429

Closed reconman closed 3 years ago

reconman commented 3 years ago

I added https://www.thetvdb.com/series/lord-el-melloi-iis-case-files-rail-zeppelin-grace-note to my library via the anidb ID and the following poster was shown: Screenshot_20201022-225949

Where does it come from?

ZeroQI commented 3 years ago

Where did the HAMA series logs said it came from? It is clearly indicated in logs which source provided it, located in agent data folders

reconman commented 3 years ago

Here's the log: https://pastebin.pl/view/raw/07aff6dc

The series is associated with the porn movie on TheMovieDB via the AniDB mapping. It's linked to TMDB ID 85368. But there are 2 entries with that ID, one is https://www.themoviedb.org/movie/85368-lesbian-legal-4 and the other one is https://www.themoviedb.org/tv/85368.

ZeroQI commented 3 years ago

[x] posters ( 1) Sources: tvdb4, (TheMovieDb), TheTVDB, AniList, FanartTV, AniDB Inside: '['FanartTV', 'TheTVDB', 'AniDB', 'TheMovieDb', 'AniList']' Value: '{'https://image.tmdb.org/t/p/original/f3UVCBf4czRuBX77o0VsiZd1VLU.jpg': ('TheMovieDb/poster/f3UVCBf4czRuBX77o0VsiZd1VLU.jpg', 17, None)}'

So in short, the MovieDB meta for movies instead of series is picked up...

Here is the metadata source log part, confirming the poster issue

=== TheMovieDb.GetMetadata() ================================================================================================================================ TVDBid: '357492', TMDbid: '85368', IMDbid: 'tt9573854' --- tv ------------------------------------------------------------------------------------------------------------------------------------------------------ common.SaveFile() - CachePath: '/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems', file: 'TheMovieDb/json/TMDB-85368.json' common.LoadFile() - File cached locally - Filename: 'TheMovieDb/TMDB_CONFIG_URL.json', Age: '24.98 days', Limit: '30 days', url: 'https://api.tmdb.org/3/configuration?api_key=7f4a0bd0bd3315bb832e17feda70b5cd' [ ] title: [ ] rating: 0.0 [ ] tagline: Legal And Ready For Drama [ ] summary: Legal and ready for drama! In this courthouse no case is left open... just legs. Whether they're the girl in trouble, looking for an internship or going over legal briefs for their next big case, these girls are hot, horny and looking for some satisfaction! Their intimate, tender caresses turn into fondling and finger fucking in no time! Time it right and you'll climax right along with them! [ ] duration: 146 [ ] countries: [ ] originally_available_at: [ ] genres: ['Romance'] [ ] poster: https://image.tmdb.org/t/p/original/f3UVCBf4czRuBX77o0VsiZd1VLU.jpg [ ] art: https://image.tmdb.org/t/p/original/acbet5HBoZlHFz8bUqOdqy3rIRx.jpg [ ] studio: Girlfriends Films --- pictures.more ------------------------------------------------------------------------------------------------------------------------------------------- TMDbid: '85368', TSDbid: '85368', IMDbid: 'tt9573854' --- return -------------------------------------------------------------------------------------------------------------------------------------------------- TheMovieDb_dict: { 'art': { 'https://image.tmdb.org/t/p/original/acbet5HBoZlHFz8bUqOdqy3rIRx.jpg': ('TheMovieDb/artwork/acbet5HBoZlHFz8bUqOdqy3rIRx.jpg', 34, 'https://image.tmdb.org/t/p/w300/acbet5HBoZlHFz8bUqOdqy3rIRx.jpg')}, 'duration': 146, 'genres': [ 'Romance'], 'posters': { 'https://image.tmdb.org/t/p/original/f3UVCBf4czRuBX77o0VsiZd1VLU.jpg': ('TheMovieDb/poster/f3UVCBf4czRuBX77o0VsiZd1VLU.jpg', 17, None)}, 'rating': 0.0, 'studio': 'Girlfriends Films', 'summary': 'Legal and ready for drama! In this courthouse no case is left open... just legs. Whether they\'re the girl in trouble, looking for an internship or going over legal briefs for their next big case, these girls are hot, horny and looking for some satisfaction! Their intimate, tender caresses turn into fondling and finger fucking in no time! Time it right and you\'ll climax right along with them!', 'tagline': 'Legal And Ready For Drama'}

reconman commented 3 years ago

So, is there anything you can do to influence which one gets picked? For example, if the anidb entry is a series, look for the series with that ID?

ZeroQI commented 3 years ago

TheMovieDb API url need to be found for movies and series and Hama code to load the relevant one depending if a movie or series. Am on my phone so taking notes for later, but if I had url pulling the series and movies with the same ID, it would be basically solved

EndOfLine369 commented 3 years ago

There is nothing we can do here. Scudlee mapping is incorrect. They put a series # when it should be a movie # and Scudlee mapping has no current way to differentiate what is a series or movie #. Feel free to open up a new ticket or add to https://github.com/ScudLee/anime-lists/issues/342 .