Kodi Community Forum
Release TMDb TV Show scraper (Python - Default Matrix Scraper) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147)
+----- Forum: TV Show Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=305)
+----- Thread: Release TMDb TV Show scraper (Python - Default Matrix Scraper) (/showthread.php?tid=357232)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Rouzax - 2023-01-21

(2023-01-21, 10:05)Karellen Wrote: @Rouzax

If you have nfo files for all your episodes, can you also try using the Local Information Scraper as suggested by @jepsizofye. It will help narrow down the issue.
You'll need to delete the <episodeguide> tag out of the tvshow.nfo file first, though.

Will try to test that as well.
There is already no episodeguide in the TV show.nfo.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Rouzax - 2023-01-21

Deleted Looney Tunes from Library and did a database clean.

Put only 2 episodes in the folder and the 3 nfo files Scaped with the tmdb python scraper, result is E14 is scanned while E15 is not.

Debug log

PS: The library clean is not working properly as it still has all the old paths in the path table, although that is not important I think Smile
Code:

2023-01-21 10:01:55.507 T:3050    ERROR <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAMETongue[email protected]/Data/Kids/TV/Looney%20Tunes%20(1929)/Season%201968'
                                                   unix_err:'2' error : 'No such file or directory'
2023-01-21 10:01:55.507 T:3050    ERROR <general>: GetDirectory - Error getting smb://HYPERV/Data/Kids/TV/Looney Tunes (1929)/Season 1968/



RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Rouzax - 2023-01-21

Exact same procedure but setup local scan as scrapper, this will result in both episodes scanned into the library
debug.log

Was there anything else you wanted me to test?
I think you also wanted me to do this with the tvdb scraper, which one should I pick:
  • The TVDB (new)
  • The TVDB v4

If I run a regex remove on all my nfo files and delete all uniqueids from the nfo files the tmdb python scraper does scan all episodes.
(\R)?.*(?:uniqueid).*(?(1)|\R)

So it looks like the tmdb scraper if it find uniqueids in the nfo will try to lookup the data even if all information is in the nfo.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2023-01-21

(2023-01-21, 11:21)Rouzax Wrote: Exact same procedure but setup local scan as scrapper, this will result in both episodes scanned into the library
debug.log
I think this might be the way to go. Use the local information scraper as long as you have all your nfo files in place.
I don't think there is a need to test any further, thank you.
I have posted the issue on the developers channel. Lets see what comes of it. It looks like either Kodi or the scraper is unnecessarily calling scraper routines when they are not needed. I especially don't see the need to be checking episode ID's.
Co-incidentally I ran into the same issue this afternoon while I was moving across to my new v20 install. So I just needed your confirmation to see they were the same issue.
I ended up using Local Information scraper, and my library rebuilt in less than 15 minutes


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Rouzax - 2023-01-21

For now I'll use the tmdb scraper but remove the uniqueids from the nfo files as that will still scan everything into the library.
Hopefully they are able to fix this.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2023-01-21

(2023-01-21, 11:39)Rouzax Wrote: For now I'll use the tmdb scraper but remove the uniqueids from the nfo files
Hmm, best not to. It may cause the scraper to error as it can't find what is meant to be there.
Use Local Information scraper.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2023-01-22

@Rouzax

Don't know how far you have got with scraping, but there is a test build of the scraper here... https://github.com/xbmc/metadata.tvshows.themoviedb.org.python/tree/test-nfo
Download and install via zip. Do you still experience any problems scanning your library?


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Rouzax - 2023-01-22

(2023-01-22, 11:12)Karellen Wrote: @Rouzax

Don't know how far you have got with scraping, but there is a test build of the scraper here... https://github.com/xbmc/metadata.tvshows.themoviedb.org.python/tree/test-nfo
Download and install via zip. Do you still experience any problems scanning your library?

Can I install the beta as additional scraper or will it overwrite my current tmdb scraper?


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2023-01-22

(2023-01-22, 11:16)Rouzax Wrote: Can I install the beta as additional scraper or will it overwrite my current tmdb scraper?
It will overwrite. But you can install the original again from the repo.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Rouzax - 2023-01-25

(2023-01-22, 11:50)Karellen Wrote:
(2023-01-22, 11:16)Rouzax Wrote: Can I install the beta as additional scraper or will it overwrite my current tmdb scraper?
It will overwrite. But you can install the original again from the repo.
Between work and home responsibilities have not been able to test test, sorry


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - LeshaRB - 2023-01-25

Hi how I can uninstall this addon or full disable it?
It get it without vpn
So I have such error
https://paste.kodi.tv/jipopoqofu.kodi


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Klojum - 2023-01-25

(2023-01-25, 20:27)LeshaRB Wrote: So I have such error

The "Calling URL" line works here in a simple web browser.
Does it work on your web browser? If not, then you have may have a DNS problem.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - LeshaRB - 2023-01-25

Thank for your answer

No I cant open it in my web browser
I try different Internet provider's

But all work with VPN ( for example with Psiphon )
Maybe because of the sanction, I'm from Belarus 

So can I disable this addon?


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Klojum - 2023-01-25

(2023-01-25, 21:19)LeshaRB Wrote: So can I disable this addon?

You can choose a different scraper for your media content. No need to disable. I'm just not sure if you'll run into the same problems when using a different scraper.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2023-01-25

How to change scrapers... https://kodi.wiki/view/Changing_Scrapers