Solved TVDB scraper stopped working - it queries TVDB, no info returned
#1
Hi all,

On my OE 8.0.3 / Kodi 17.3 the TVDB scraper (add-on version 3.0.1) stopped working. All TV show episodes (including ones that were scraped correctly before) suddenly return a "no information found" message. I checked for a TVDB scraper add-on update, found none (it looks like 3.0.1 is the most recent one) and I'm not sure what else to try.

Relevant debug log snippet:

Code:
16:20:11.164 T:1946677440   DEBUG: GetEpisodeId (/media/Toshiba2/Video/Series/The Grand Tour (2016)/Season 01/The.Grand.Tour.S01E02.PROPER.720p.WEBRiP.x265.ShAaNiG.mkv), query = select idEpisode from episode where idFile=4719
16:20:11.180 T:1946677440   DEBUG: VideoInfoScanner: No NFO file found. Using title search for '/media/Toshiba2/Video/Series/The Grand Tour (2016)/Season 01/The.Grand.Tour.S01E02.PROPER.720p.WEBRiP.x265.ShAaNiG.mkv'
16:20:11.183 T:1946677440   DEBUG: DialogProgress::Open called
16:20:11.183 T:1946677440   DEBUG: ------ Window Init (DialogConfirm.xml) ------
16:20:11.496 T:1946677440   DEBUG: VideoInfoScanner: Found episode match /media/Toshiba2/Video/Series/The Grand Tour (2016)/Season 01/The.Grand.Tour.S01E02.PROPER.720p.WEBRiP.x265.ShAaNiG.mkv (s1e2) [s([0-9]+)[ ._x-]*e([0-9]+(?Sad?:[a-i]|\.[1-9])(?![0-9]))?)([^\\/]*)$]
16:20:11.532 T:1946677440   DEBUG: LIRC: Update - NEW at 93245745:166 0 KEY_INFO_UP devinput (KEY_INFO_UP)
16:20:11.553 T:1946677440   DEBUG: GetEpisodeId (/media/Toshiba2/Video/Series/The Grand Tour (2016)/Season 01/The.Grand.Tour.S01E02.PROPER.720p.WEBRiP.x265.ShAaNiG.mkv), query = select idEpisode from episode where idFile=4719
16:20:11.553 T:1946677440   DEBUG: VideoInfoScanner: No NFO file found. Using title search for '/media/Toshiba2/Video/Series/The Grand Tour (2016)/Season 01/The.Grand.Tour.S01E02.PROPER.720p.WEBRiP.x265.ShAaNiG.mkv'
16:20:11.577 T:1946677440   DEBUG: GetEpisodeList: Searching 'http://thetvdb.com/api/439DFEBA9D3059C6/series/314087/all/en.zip' using The TVDB scraper (file: '/storage/.kodi/addons/metadata.tvdb.com', content: 'tvshows', version: '3.0.1')
16:20:11.606 T:1946677440   DEBUG: scraper: GetEpisodeList returned <episodeguide><url function="GetEpisodeList" post="yes" cache="auth.json">https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6","id":314087}|Content-Type=application/json</url></episodeguide>
16:20:11.609 T:1946677440   DEBUG: scraper: GetEpisodeList returned <episodeguide><url function="GetEpisodeListAuth" cache="episodes-314087-1-en.json">https://api.thetvdb.com/series/314087/episodes|Authorization=Bearer%20eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1MTM2MDYyODcsImlkIjoiS29kaSIsIm9yaWdfaWF0IjoxNTEzNTE5ODg3fQ.dDc4GrK_L8kUcg4gb_Ac2nE8oTFkDXmig5zsIUm9SMt60ZHanusQCt5TG9L9sLVhhVGD68YcvlXXzCYZbvrGmslQnpp3zVY2dm-JesG53zlXFoJfxIJWrhRAUrZPlq69PuOuHTRlMqCW01FJ0YkEF3tT6_ySu9W5Vf_5jxx7bw46Pn0y9rlRxtBhM2aejTNppRxsI3IkHqxNrOr8XBk8-mTMYcqUd0jLTs-Sm-XTfSD6Njz-XBXM4DQX0icNDhnQoAF6Fhy-oXZ8m3tpOihzr1jAZfqAoMzOcQdK515HAiBmFu8KjW1g6uFSV4uyNEQA06kx0A1F5GnnDLMgZli31Q&accept-language=en</url></episodeguide>
16:20:11.611 T:1946677440   DEBUG: scraper: GetEpisodeListAuth returned <episodeguide></episodeguide>
16:20:11.611 T:1946677440 WARNING: No information found for item '/media/Toshiba2/Video/Series/The Grand Tour (2016)/Season 01/The.Grand.Tour.S01E02.PROPER.720p.WEBRiP.x265.ShAaNiG.mkv', it won't be added to the library.

(Full log here: http://sprunge.us/INGH)

The TVDB server is contacted without any network errors occuring; the request appears to be properly formed, but the result set the server returns in response appears to be empty:
Quote:scraper: GetEpisodeListAuth returned <episodeguide></episodeguide>

However, I did find the contents of the proper response in ~/.kodi/temp/scrapers/metadata.tvdb.com where there are three files with time/date stamps matching the time of the TVDB query:
314087-en.xml
auth.json
episodes-314087-1-en.json

Content snippet of episodes-314087-1-en.json:
Code:

    {
      "absoluteNumber": 2,
      "airedEpisodeNumber": 2,
      "airedSeason": 1,
      "airedSeasonID": 681139,
      "dvdEpisodeNumber": null,
      "dvdSeason": null,
      "episodeName": "Operation Desert Stumble",
      "firstAired": "2016-11-25",
      "id": 5751272,
      "language": {
        "episodeName": "en",
        "overview": "en"
      },
      "lastUpdated": 1512764000,
      "overview": "Jeremy Clarkson, Richard Hammond and James May pitch their travelling tent in Johannesburg, South Africa [...]
    },

(Final line truncated by me)

Complete file here: http://sprunge.us/GcYS

So the correct info is received from the TVDB but somehow not recognized or processed correctly. At least that would be my guess.

Suggestions, anyone? All response would be appreciated!
Reply
#2
Search the forum and install LibreElec like the rest if you want a working scraper.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#3
(2017-12-17, 17:05)Martijn Wrote: Search the forum and install LibreElec like the rest if you want a working scraper.
 Apart from the fact that for a variety of reasons I don't want to migrate to LE at this point in time, that still doesn't tell me what's going on and why a scraper that worked perfectly well now suddenly has stopped working. What's going on here?
Reply
#4
(2016-02-19, 09:45)Martijn Wrote: Search the forum
I already told you.

If you don't want to then live with it
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#5
(2017-12-17, 17:25)Martijn Wrote:
(2016-02-19, 09:45)Martijn Wrote: Search the forum
I already told you.

If you don't want to then live with it 
 That still doesn't tell me what's going on here. I didn't update anything between the time it worked and the time it broke. Which is what I was asking.
Reply
#6
The scraper updated and you now need a working installation. So you need either libreelec or start complaining on the OE website.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#7
Thread marked solved.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#8
The explanation you are after is in the Important Threads section of this sub-forum... https://forum.kodi.tv/showthread.php?tid=323588
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
TVDB scraper stopped working - it queries TVDB, no info returned0