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) |
RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - jbinkley60 - 2023-08-11 (2023-08-11, 20:01)jepsizofye Wrote: so my question is - is there another way i can call this scraper from my addon that will return the info tags that i can then present to kodi allowing my addon to be set as 'metadata.local' Get your own key. It is easy for TMDB and free. Not so much for IMDB. I have a TMDB API key for my Mezzmo artwork and trailer checkers. I have an IMDB key for my own use through a third party. It is cheap and works pretty good for personal uses. I wouldn't recommend this IMDB approach for broad public use. TMDB will also allow you to see usage stats on your key. Thanks, Jeff RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - izprtxqkft - 2023-08-11 (2023-08-11, 23:29)pkscout Wrote: There is not. And it's honestly kind of an abuse of our API key to try and do it that way. You risk our API getting revoked. You should get your own API key to do whatever it is you're trying to do. thanks for the reply i will find another way re: abuse - i dont see it that way, i want to use it to scan items into kodi manually - as opposed to kodi doing it itself, the end result is the same, the scraper is being used to add items to kodi's database the process is just different RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - jbinkley60 - 2023-08-12 (2023-08-11, 23:58)jepsizofye Wrote: thanks for the reply i will find another way If you are just calling the Kodi scraper as part of inserting things into the Kodi database for playback like other content then I tend to agree. If you are using the TMDB key as part of your addon to make direct TMDB calls (as I do in mine) then that could constitute abuse. Thanks, Jeff RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - roidy - 2023-08-22 @pkscout For the past few days the scraper hasn't worked. Here's a full log:- https://pastebin.com/smCKHJUK But the short is it seems to be throwing an error in ssl.py Code: 2023-08-22 08:39:26.674 T:5991 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- This doesn't seem to be an issue with tmdb's api as both JellyFin and Plex are still scanning files ok. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - pkscout - 2023-08-22 (2023-08-22, 09:52)roidy Wrote: @pkscout For the past few days the scraper hasn't worked. Here's a full log:- https://pastebin.com/smCKHJUK Looks like the error was when attempting to connect to IMDB for the ratings. I can look at trapping for that error and either do a retry or just skip the ratings, but that's about it. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - roidy - 2023-08-22 That's odd, I don't even have IMDb rating turned on:- RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - roidy - 2023-08-22 Ok, so I removed the code to lookup IMDb ratings and now things scan into the library fine:-
I'm just not sure why the scrapper is even trying to lookup IMDb ratings when the setting is turned off. This also doesn't explain why it's suddenly just started erroring during IMDb lookups. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - pkscout - 2023-08-22 (2023-08-22, 13:37)roidy Wrote: Ok, so I removed the code to lookup IMDb ratings and now things scan into the library fine:-Remember that every source ends up with it's own set of scraper settings, so if you change the settings in the add-on, you're really only changing the "default" settings for a new source. You have to go to each source and change the scraper settings for the change to actually apply. If you've done that and are still seeing IMDB lookups, post something here and I'll take a look. It definitely shouldn't be looking at IMDB if you don't ask it to. IMDB goes through phases where the block and unblock things depending on what kind of day the site admins are having. If it was my choice, I would just not have the IMDB ratings at all, but they are important to enough people that I won't fight about it. When it doesn't work I mostly just tell folks to try again a few days later and see if it's better. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - roidy - 2023-08-23 Quote:Remember that every source ends up with it's own set of scraper settings Right, sorry totally forgot that, yep IMDb ratings where turned on for my actual source. Quote:IMDB goes through phases where the block and unblock things depending on what kind of day the site admins are having. If it was my choice, I would just not have the IMDB ratings at all Yep I don't even use them, I didn't realise I had turned them on when I set up the source. Turned them off now so all is good. Thanks for the reply. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - twolaw - 2023-10-16 I have read this : https://kodi.wiki/view/Add-on:TMDb_TV_Shows#Episode_Orders But it makes me loose the xml content of tvshow.nfo . Is there a way to edit an xml tvshow.nfo to use a specific episode order from tmdb ? Can we write the episode_group URL directly in the json ?
Also, do I have to force a full show update when I change the episode order with the same scraper ? Does Kodi read first the episodeguide from nfo or the one from its database ? Thanks. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2023-10-16 (2023-10-16, 12:08)twolaw Wrote: Is there a way to edit an xml tvshow.nfo to use a specific episode order from tmdb ?What exactly do you want to save from the nfo file? Maybe you could try this... https://kodi.wiki/view/NFO_files/Combination (2023-10-16, 12:08)twolaw Wrote: Can we write the episode_group URL directly in the json ?No (2023-10-16, 12:08)twolaw Wrote: Also, do I have to force a full show update when I change the episode order with the same scraper ?Yes. And don't forget to renumber your episode files so they match the new order. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - twolaw - 2023-10-16 (2023-10-16, 20:16)Karellen Wrote:(2023-10-16, 12:08)twolaw Wrote: Is there a way to edit an xml tvshow.nfo to use a specific episode order from tmdb ?What exactly do you want to save from the nfo file? I save all my tvshows with xml export in shows folders, to be able to rescan my library when needed (reinstall) with perfect matching. But when a tv show starts to have strange episode numbering because of tmdb rules differs from tvdb rules, I need to change the episodeguide source to keep Kodi getting metadata. If I leave only the episode_group url in the tvshow.nfo I won't be able to change my scraper in the future (ex. use tvdb). If I use combinaison nfo, I will have to remove/edit the url in the nfo to change my scraper in the future. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Fehritale - 2023-10-19 After I updated today to Kodi Omega Beta 1, I have problems with the addon. With version Alpha3 everything worked fine. The problem seems to be in the Python script called by the addon to scrape. Extraction of the kodi log: https://paste.kodi.tv/koveyivore.kodi RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Karellen - 2023-10-19 (2023-10-19, 10:19)Fehritale Wrote: Extraction of the kodi log:Please post the full log to Kodi Paste Site and provide the link. RE: TMDb TV Show scraper (Python - Default Matrix Scraper) - Fehritale - 2023-10-19 Updated my post. Thanks Needed to left some things not related to the plugin out of the log, because it is about 60MB big and was to big to post it full. |