Broken TVDB Scraper Broken? Kodi 18.2 & 18.3 Crashes during Scan
#1
**** Update - 8 August 2019 ****
TheTVDB.com have completed their rollback to v2 and all cloudflare caches have been purged of v3 data

Most users should have received the updated scraper version through automatic updates, and scraping using TheTVDB.com is now working correctly.

If you do not have the update yet, see Option 3 below to confirm the correct scraper version and methods to download and install it.





This thread relates to the problem caused by the use of the TVDB Scraper after updates performed at TheTVDB.com site on the 2 August 2019.

This issue applies to TheTVDB.com only. TheMovieDB is not affected by this issue

TheTVDB.com are introducing a number of new features as well as some well overdue bug fixes. The most important new feature is adding Movies to their database. This required a redesign of their database and infrastructure which is being rolled out incrementally. The website went live earlier in the week and yesterday the new API was released. The API has caused problems.

For information on the changes to TVDB, read the blog post here... https://beta.thetvdb.com/blog/something_new
For more information on the rollback of the TVDB api changes see this thread on their forum.


The Problem
If you are using the TVDB and attempt to run an Update Library, Refresh or Scan To Library Kodi will crash. This includes Automatic library updates at startup.

This issue has highlighted two problems:
Problem 1- A problem with the new API released by TheTVDB.com which is providing corrupted data
Problem 2- A previously unknown problem within Kodi that causes Kodi to crash Fixed. See option 3 below

In addition to Kodi, the following may also be affected by the change at TheTVDB.com
  • Artwork Beef
  • Skin Helper Services and skins that use them to access extended information from TheTVDB.com
  • Add-ons that access TheTVDB.com to obtain extended informaiton
  • Media Managers


The Fix
There is currently no fix available to allow you to continue scraping using TheTVDB.com (problem 1). This will be investigated once TheTVDB.com make fixes to the API.
The developers are looking into problem 2.


The fixes are still in process as of 4 August
Problem 1- We are awaiting TheTVDB.com to complete their rollback to a point before this issue started.
Problem 2- Fixed. Kodi has released an updated version of the TVDB scraper. See Option 3 below


The Workaround
The following are temporary solutions to allow you to continue using Kodi and to scrape tv shows.

Problem 2- If you have Update library on startup enabled you may be unable to access Kodi. Two solutions are available
Option 1
  • Disconnect from the Internet by removing your wired connection or temporarily switching off WiFi.
  • Restart Kodi
  • Once you have access to Kodi disable Update library on startup in the settings page here... Update library on startup

Option 2
If you have repeatedly attempted to start Kodi, the above solution may not work. Instead you will need to edit the guisettings.xml file to disable Update library on startup.
 
  • The guisettings.xml file is located in your Userdata (wiki) folder
  • Open the file using Notepad++ or similar text editor. Avoid using word processor type applications like MS Word
  • Search for this entry <setting id="videolibrary.updateonstartup">true</setting>
  • Replace with this <setting id="videolibrary.updateonstartup">false</setting>. You are simply changing the >true< to >false<
  • Save the file
  • Restart Kodi. You should now have access.

Option 3
For those not afraid to dive into the .xml files, see this quick fix posted by the developer of the scraper... https://forum.kodi.tv/showthread.php?tid...pid2873832

metadata.tvdb.com v3.0.16 is now available in the official Kodi repository for v17, v18 & v19.
metadata.tvdb.com v2.0.19 is now available in the official Kodi repository for v16 and older
  • If you have not already received the update, then force a repository update by selecting "Check for updates" from the left sideblade menu in My Add-ons.
  • Alternatively you can download and install from zip here... http://mirrors.kodi.tv/addons/
  • Earlier versions of Kodi will still need to manually edit the xml file.

Note: This update will prevent Kodi from crashing. It will also allow normal scraping except no artwork is scraped as this is an API issue at TheTVDB. If you have local artwork, then this will not be a concern for you as Kodi will continue to scan local artwork.


Problem 1- You cannot use TheTVDB.com to scrape new episodes or tv shows into your library. There is limited scraping. See the note for option 3 above
TheMovieDB TV Show scraper is still a viable alternative to add new TV Shows and Episodes to your library.

To change the scraper from TheTVDB.com to TheMovieDB for TV Shows,
  • Navigate to Videos>Files and highlight your Source
  • Call up the Context Menu (wiki)
  • Select Change content
  • Select TheMovieDB for TV Shows scraper
  • Adjust the scraper settings as required
  • Select OK

Notes:
  • If adding new episodes to existing shows, then you will need to Refresh the show first from the Information Page (wiki) to replace the TVDB <epidodeguide> URL with the one from TheMovieDB.
  • If you then revert back to TVDB at a later stage, the show will need to be refreshed again to download the <episodeguide> URL from TheTVDB.com
  • Other Kodi add-ons which deal with artwork (for example Artwork Beef and the Artwork Helper Script used in some skins) also refer to TVDB and can cause crashes too. If you see crashes when starting playback or when idle (ie not when doing a scrape), please check if you have such add-ons installed (some may be installed as skin dependencies) and try temporarily disabling them until the TVDB rollback is completed and the issue resolved.

How to force an update to the latest scraper (v3.0.16 for Jarvis and newer, 2.0.19 for older versions) with the crash fix in place if it does not happen automatically:
  • Go to add-ons > add-on browser and then click left to open the blade menu. On there do "check update" and see if triggers things.
  • If not go to add-ons > add-on browser > my add-ons > add-on repository > Kodi add-on repository and select update. After that try the above again.

Note the fix is only to prevent the scraper crashing Kodi. There are still some issues with the provision of artwork to the scraper, but those are at the TVDB end and are beyond our control (they are working on it).
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


Messages In This Thread
TVDB Scraper Broken? Kodi 18.2 & 18.3 Crashes during Scan - by Karellen - 2019-08-02, 07:40
Logout Mark Read Team Forum Stats Members Help
TVDB Scraper Broken? Kodi 18.2 & 18.3 Crashes during Scan6