Quantcast
Channel: Kodi Community Forum - Information Providers (scrapers)
Viewing all articles
Browse latest Browse all 707

Bug - script.module.metahandler

$
0
0
All ish I'm trying to point out an issue with the metahandler version 2.9.0. Please keep it civil or just remove this thread. I'm not here to say I told you so or anything like that. I just want to get the metahandler issues addressed so myself and others can use it as intended. I don't care who fixes the issues as long as someone does. I'm not hear to talk about my "poor code" or anything like that either.

I'm going to post 4 text files. 3 files that show the issues with retrieving tv shows using the current version 2.9.0 which are not working correctly and one using the version 3.0.3 which is working correctly.

Title = Show title without year
Year = 4 digit year(yyyy) as string

First test using version 2.9.0, meta = metaget.get_meta('tvshow', name='Title').
Notice Empire and The Flash. It retrieves the wrong shows because there are multiple shows with that title from different years. These are only 2 examples of many shows I have come across that match incorrectly or dont match at all.
https://paste.ubuntu.com/p/k9tXzpBWfc/

Second test using version 2.9.0, meta = metaget.get_meta('tvshow', name='Title (Year)').
Barely anything matches but does match Empire and The Flash correctly.
https://paste.ubuntu.com/p/HzHFRcWH6D/

Third test using version 2.9.0, meta = metaget.get_meta('tvshow', name='Title', year='Year').
Barely anything matches but does match Empire and The Flash correctly.
https://paste.ubuntu.com/p/Nr6b4XyJWx/

Fourth test using my updated version 3.0.3, meta = metaget.get_meta('tvshow', name='Title', year='Year').
Notice all shows match correctly including Empire and The Flash.
https://paste.ubuntu.com/p/gHPXMNjcgY/

I would like to also point out in version 2.9.0 the log is plagued with errors like these below.
Quote:18:49:25.413 T:22904   DEBUG: metahandler:  Some info missing in TVdb for TVshow *** Married at First Sight (AU) ***. Will search imdb for more
18:49:25.413 T:22904   DEBUG: metahandler: Requesting IMDB : http://www.omdbapi.com/?i=tt4771108
18:49:25.490 T:22904   ERROR: metahandler: Error connecting to IMDB: HTTP Error 401: Unauthorized
18:49:53.279 T:41304   DEBUG: metahandler:  Some info missing in TVdb for TVshow *** Freak Encounters ***. Will search imdb for more
18:49:53.279 T:41304   DEBUG: metahandler: Requesting IMDB : http://www.omdbapi.com/?t=Freak%20Encounters
18:49:53.352 T:41304   ERROR: metahandler: Error connecting to IMDB: HTTP Error 401: Unauthorized
18:53:15.882 T:19808   ERROR: metahandler: ************* Error attempting to insert into tvshow_meta cache table: UNIQUE constraint failed: tvshow_meta.imdb_id, tvshow_meta.tvdb_id, tvshow_meta.title
18:53:15.921 T:19808   ERROR: metahandler: ************* Error attempting to insert into tvshow_meta cache table: UNIQUE constraint failed: tvshow_meta.imdb_id, tvshow_meta.tvdb_id, tvshow_meta.title
I think Brian over at omdbapi.com would appreciate someone doing something about all the denied requests to his site. Version 2.9.0 is inadvertently ddos'ing his site and api.

Viewing all articles
Browse latest Browse all 707

Trending Articles