2020-09-23, 00:41
This is the Python version of the TV show scraper for The Movie Database. There are versions available for both Kodi 18 (Leia) and Kodi 19 (Matrix), and this is the default scraper for Kodi 19. PLEASE NOTE THAT THE LAST VERSION FOR LEIA IS 1.1.34. THERE WILL BE NO FURTHER UPDATES TO THE LEIA VERSION.
For more details on using this scraper, visit the wiki page... https://kodi.wiki/view/Add-on:TMDb_TV_Shows
There are some settings if you want to adjust the behavior of the scraper.
GENERAL SETTINGS
Preferred language (default en-US)
The default language for searching and displaying results.
Preferred certification country (default en)
The content ratings to return (the scraper will return US ratings if none are found for the country you select)
Include certification prefix (default True)
Tells the scraper whether or not to include something before the rating.
Certification prefix (default Rated)
The text to prepend to the returned ratings.
Keep original title (default False)
Some TV shows have both English and original titles. Selecting this will give you the original title instead of the English one.
RATINGS SETTINGS
Default rating from (default: TMdb)
Scrape ratings for TMDb, IMDb, or Trakt and put them in the default ratings position. To scrape IMDb or Trakt ratings, the show/episode must have the IMDb ID in TMDb.
Also add IMDb ratings (default: False)
Add the IMDb ratings as well. Only enabled if IMDb is not set as the default.
Also add Trakt ratings (default: False)
Add the Trakt ratings as well. Only enabled if Trakt is not set as the default.
Also add TMDb ratings (default: True)
Add the TMDb ratings. Only enabled if TMDb is not set as the default. Note that this defaults to True because the scraper already has the TMDb ratings, so there is no "cost" to including them as secondary ratings.
FANART.TV SETTINGS
You can supplement the art provided by TMdB with art from fanart.tv by enabling the specific types you want, and you can also add your fanarttv client API key for more current results.
ADVANCED SETTINGS
Verbose debug logging (default: False)
The various APIs can return a metric crap ton of data (during testing it was not unusual to end up with a log file of over 10mb while scraping just a couple shows). Most of the time that extra info is not needed, so even with Kodi debug logging enabled the addon won't log the really long stuff. But if we need it for troubleshooting, we may ask you to enable this option. DO NOT ENABLE THIS UNLESS ASKED TO DO SO.
A couple things to note. First, the entry at themoviedb.org must have the tvdb ID to be able to get art from fanart.tv (yes, that's a lot of different site acronyms). Second, there is a limit to the amount of data that can be stored in the Kodi database regarding artwork. To ensure a show scrapes, the scraper limits the number of images you can download. Specifically, 350 fanart images and 350 of all other kind of images (including season images). My suggestion is to not enable artwork you don't need, but even if you do, the limit should still allow you access to all art except in the most extreme cases.
For more details on using this scraper, visit the wiki page... https://kodi.wiki/view/Add-on:TMDb_TV_Shows
There are some settings if you want to adjust the behavior of the scraper.
GENERAL SETTINGS
Preferred language (default en-US)
The default language for searching and displaying results.
Preferred certification country (default en)
The content ratings to return (the scraper will return US ratings if none are found for the country you select)
Include certification prefix (default True)
Tells the scraper whether or not to include something before the rating.
Certification prefix (default Rated)
The text to prepend to the returned ratings.
Keep original title (default False)
Some TV shows have both English and original titles. Selecting this will give you the original title instead of the English one.
RATINGS SETTINGS
Default rating from (default: TMdb)
Scrape ratings for TMDb, IMDb, or Trakt and put them in the default ratings position. To scrape IMDb or Trakt ratings, the show/episode must have the IMDb ID in TMDb.
Also add IMDb ratings (default: False)
Add the IMDb ratings as well. Only enabled if IMDb is not set as the default.
Also add Trakt ratings (default: False)
Add the Trakt ratings as well. Only enabled if Trakt is not set as the default.
Also add TMDb ratings (default: True)
Add the TMDb ratings. Only enabled if TMDb is not set as the default. Note that this defaults to True because the scraper already has the TMDb ratings, so there is no "cost" to including them as secondary ratings.
FANART.TV SETTINGS
You can supplement the art provided by TMdB with art from fanart.tv by enabling the specific types you want, and you can also add your fanarttv client API key for more current results.
ADVANCED SETTINGS
Verbose debug logging (default: False)
The various APIs can return a metric crap ton of data (during testing it was not unusual to end up with a log file of over 10mb while scraping just a couple shows). Most of the time that extra info is not needed, so even with Kodi debug logging enabled the addon won't log the really long stuff. But if we need it for troubleshooting, we may ask you to enable this option. DO NOT ENABLE THIS UNLESS ASKED TO DO SO.
A couple things to note. First, the entry at themoviedb.org must have the tvdb ID to be able to get art from fanart.tv (yes, that's a lot of different site acronyms). Second, there is a limit to the amount of data that can be stored in the Kodi database regarding artwork. To ensure a show scrapes, the scraper limits the number of images you can download. Specifically, 350 fanart images and 350 of all other kind of images (including season images). My suggestion is to not enable artwork you don't need, but even if you do, the limit should still allow you access to all art except in the most extreme cases.