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) - HeresJohnny - 2022-12-07

You mean "Verbose Logging" under "Advanced"? I really don't. That add-on went really bonkers on me. At the moment there is no reliable scraper add-on for TV shows, unfortunately.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2022-12-08

(2022-12-07, 23:55)HeresJohnny Wrote: You mean "Verbose Logging" under "Advanced"? I really don't.
Where did you look?
See Settings blurb here... https://kodi.wiki/view/Add-on:TMDb_TV_Shows#Settings

(2022-12-07, 23:55)HeresJohnny Wrote: At the moment there is no reliable scraper add-on for TV shows, unfortunately.
I'm not having any problems and I am using the same scraper.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - pkscout - 2022-12-08

(2022-12-07, 22:38)HeresJohnny Wrote: WTF? I don't even have deep logging enabled!


The errors go on and on after that...
The scraper is designed to dump that information when it crashes regardless of log level for easier debugging.  In your case it appears you are running a nightly (based on the Git date in the log), and something in the Python bindings for the video tags changed that is a breaking change.  I need to find out from the team if that's on purpose, as it is working fine with the beta1 release I have here which is about a month older than your build.

Edit: Confirmed that there was a change to the python bindings that will break every scraper.  If you use any nightly build after Dec 2, the scrapers won't work, or at least won't work right.  No ETA on a fix, as there are a ton of changes the scrapers have to make to account for this change.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Fuzzard - 2022-12-08

@HeresJohnny if you dont mind, could you test the following zip https://github.com/fuzzard/metadata.tvshows.themoviedb.org.python/archive/refs/heads/nexus.zip
I would test in a portable just so it doesnt butcher anything you value, but the changes are fairly non invasive, so i dont expect any issues.

The PR for its contents is at https://github.com/xbmc/metadata.tvshows.themoviedb.org.python/pull/94

Just looking to confirm its covered everything in the API change.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2022-12-08

@HeresJohnny

Can you do a bit of testing?
Here is a fix for the issue... https://easyupload.io/rmhluh
Official download for v1.6.0... https://github.com/xbmc/metadata.tvshows.themoviedb.org.python/releases/tag/v.1.6.0

Can you install via zip file, over the top of your existing scraper, and that should fix the issue. Let us know if you find any problems.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - HeresJohnny - 2022-12-08

Thanks a lot for the quick fix (and ignoring my aggravated tone), I can confirm that the scraper works now.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - rytomi - 2022-12-16

I'm currently in the process of switching my library from TheTVDB to TMDB for TV Shows on account of Trakt switching their source. It's been mostly painless, but I'm having an issue with the show Firefly (2002). No matter what I do, it always scrapes as the Aired Order, instead of the Intended Order. I've got a tvshow.nfo file in the root of the show directory and the sole contents is the TMDB Episode Group URL https://www.themoviedb.org/tv/1437-firefly/episode_group/5acfb484c3a368738a004068 which has the correct order. But no matter what I do it's like it is ignored and puts them in the aired order.

What am I doing wrong here?

Here is my complete directory listing:
S01E01 - Serenity.mkv
S01E02 - The Train Job.mkv
S01E03 - Bushwhacked.mkv
S01E04 - Shindig.mkv
S01E05 - Safe.mkv
S01E06 - Our Mrs. Reynolds.mkv
S01E07 - Jaynestown.mkv
S01E08 - Out of Gas.mkv
S01E09 - Ariel.mkv
S01E10 - War Stories.mkv
S01E11 - Trash.mkv
S01E12 - The Message.mkv
S01E13 - Heart of Gold.mkv
S01E14 - Objects in Space.mkv
tvshow.nfo


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2022-12-16

@rytomi

Please provide a Debug Log that captures you scraping Firefly.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - pkscout - 2022-12-16

(2022-12-16, 01:30)rytomi Wrote: I'm currently in the process of switching my library from TheTVDB to TMDB for TV Shows on account of Trakt switching their source. It's been mostly painless, but I'm having an issue with the show Firefly (2002). No matter what I do, it always scrapes as the Aired Order, instead of the Intended Order. I've got a tvshow.nfo file in the root of the show directory and the sole contents is the TMDB Episode Group URL https://www.themoviedb.org/tv/1437-firefly/episode_group/5acfb484c3a368738a004068 which has the correct order. But no matter what I do it's like it is ignored and puts them in the aired order.

I am able to duplicate this, so let me see what's going on.  We just pushed out an update to the scraper that shouldn't have affected this, but maybe it did.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - pkscout - 2022-12-16

@rytomi I found the problem.  I updated one of the two identifier names during some updates, so the scraper didn't think it found a valid NFO file.  That's on me.  I'm submitting a fix to the repo now.  It should be there tomorrow.

If you need the fix before the auto update happens, you can download it from:

https://github.com/xbmc/metadata.tvshows.themoviedb.org.python/tree/nexus

@Karellen this only affects the Nexus scraper.  I checked, and the Matrix one is fine.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Little_goliath84 - 2023-01-02

Hi everybody,
Happy New Year!
I was looking into episode groups from Tmdb.org.
I tried Star Wars Rebels (2014) and it worked finally with the parsing nfo file and the Special Episodes integrated at the right place. Episode naming was initially by first aired date, no change afterwards.

So I tried Star Wars the Clone Wars (2008) (7 Seasons in total) by Chronological Order.
It seems that only S01 (till S01E22) is scraped and added to the library. Finally I should have 1 season with 134 Episodes.
Do I have also adapt the naming of the episodes? I thought thats why those episode groups exists. Episode Naming initially by first aired date.

Full debug log

Thank you for your help.


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

(2023-01-02, 22:10)Little_goliath84 Wrote: Do I have also adapt the naming of the episodes?
Yes. The numbering of your episodes needs to match the episode group you will be scraping.


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Little_goliath84 - 2023-01-02

(2023-01-02, 22:56)Karellen Wrote:
(2023-01-02, 22:10)Little_goliath84 Wrote: Do I have also adapt the naming of the episodes?
Yes. The numbering of your episodes needs to match the episode group you will be scraping.
Okido, Ill try with filebot then, thx


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

Have been using this scraper for a long time but it seems to get slower and slower.
Running Kodi 19.4 on a Vero 4k+.
Have a large TV show collection and each time I do Update Library it will scan for about 30 minutes.
Is that normal?

Seeing a lot of warnings and errors in the log during a scan

[huge dump of log removed by moderator and new link provided below]

https://paste.kodi.tv/owesihepix.kodi


RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Dangelus - 2023-01-03

@Rouzax I have taken the liberty to put your massive dump of log into paste.kodi.tv site as you should have done in the first place.

I would expect a user with over 200 posts that has been here over 10 years to know better. Please make sure you do this in future.