• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 21
Release TheMovieDB movie scraper - PYTHON version
#1
Image Python Scraper for Movies

Site used: https://www.themoviedb.org/
Status: Working for Kodi v18 and later.

About
Python TheMovieDB scraper for Movies is a Python scraper (wiki) for Movies and Movie Collections used by KODI.
The scraper relies on matching your folder and filenames to movie titles at TheMovieDB site. For this reason, it is important to ensure your folders and files are correctly and cleanly named for an accurate scrape.

It is available in the official Kodi repo for Leia.

This scraper will download the following:
Artwork: Poster and Fanart URLs for Movie and Movie Sets, Actor image URLs.
Metadata: Numerous.

Known Issues
Nil known.

Download
This scraper is available from the Kodi Official Repository for v18 and later
Find it in Settings>Add-ons>Install from repository>Information providers>Movie information

Source
On GitHub: https://github.com/xbmc/metadata.themoviedb.org.python

Guides
Visit the wiki for an explanation of the scraper settings and other features...
The Movie DB Python (wiki)

The following links may assist with setting up your library:
How to Create your Video Library (wiki)

Troubleshooting
Solutions to common scraping problems (wiki)
Read Me before posting in this thread
Reply
#2
reserved
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
#3
Couple of things after testing:

- Maybe the old XML scraper should be renamed from "The Movie Database" to "The Movie Database XML" so its obvious which one is being used.
- Choosing GB as the certification rating doesn't seem to work. I still get US ratings.
- Basic settings on the scraper settings should really show the Language and (and possibly preferred country certification) I think.

Nice to haves:

- More of a feature request, but can the IMDB and TMDB ratings be scraped independently to something like ratingIMDB and ratingTMDB database fields? It would reduce the scraper options. Maybe even add rotten tomatoes as well. Skins would look awesome with these 3 ratings. I don't see why there needs to be endless options for these.
- Would also love to see the IMDB top250 added to this

Everything else worked as expected with my simple test library, other than the known issues already mentioned.
Reply
#4
@docwra

(2019-06-10, 11:03)docwra Wrote: - Choosing GB as the certification rating doesn't seem to work. I still get US ratings.
I was caught out by this as well, as I am sure many others will. The Settings option on the Set Content screen of the Source has no affect.
You need to adjust your settings in the Add-ons screen- Settings>Add-ons>My Add-ons>Information Providers>Movie information

I am sure this will be fixed further down the track.

(2019-06-10, 11:03)docwra Wrote: - Basic settings on the scraper settings should really show the Language and (and possibly preferred country certification) I think.
Maybe I misunderstand, but they are shown- Preferred Language and Preferred Certification Country
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
#5
(2019-06-10, 11:29)Karellen Wrote: - Basic settings on the scraper settings should really show the Language and (and possibly preferred country certification) I think.
Maybe I misunderstand, but they are shown- Preferred Language and Preferred Certification Country 

I meant on basic settings level view:

Image
Reply
#6
Weird... I do not have Setting Levels. Using v18.3 nightly
EDIT- Levels are in v19 nightlies

Image
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
#7
Yeh I thought it was a bit weird. Not sure that granularity is needed on the scrapers.
Reply
#8
(2019-06-10, 11:03)docwra Wrote: - Choosing GB as the certification rating doesn't seem to work. I still get US ratings.

Can you double check that you are changing this setting from Settings>Add-ons>My Add-ons>Information Providers>Movie information?

Others are on the list.

Cheers.
Reply
#9
(2019-06-12, 04:22)rmrector Wrote:
(2019-06-10, 11:03)docwra Wrote: - Choosing GB as the certification rating doesn't seem to work. I still get US ratings.

Can you double check that you are changing this setting from Settings>Add-ons>My Add-ons>Information Providers>Movie information?

Others are on the list.

Cheers.   

Just tested and same result, I still get US ratings.

EDIT: Actually on re adding the source and removing nfo files it appears to be working now. Sorry for the noise.
Reply
#10
Took down some easy ones this weekend.

First PR fixes IMDB info. Resolves "1. IMDB Ratings not retrieved" and "6. IMDB Top 250", and "7. IMDB and TMDB ratings scraped independently" mostly worked anyhow once "1." was fixed.

Second PR "adds" a setting for the "Certificate Prefix", resolving "5. Allow user edit MPAA prefix". The setting and code for this already existed, this PR just shows the setting and adds a label.

Third PR adds an option for single or multiple studios for studio logo matching, resolving "3. Multiple Studios returned that breaks Studio Icon lookup".
Reply
#11
Tested the three PR's and all worked as advertised Smile Thanks!!
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
#12
Nice! Loving the possibilities python is now giving scrapers Smile
Reply
#13
Updated to 0.6.0. It generally has feature parity with the XML scraper.
Reply
#14
@rmrector

Feature Request:

We suggest members use a Parsing NFO file when the correct movie cannot be found by the scraper. This requires a user to leave and work outside of the Kodi GUI. Easy on a Windows pc, not so easy for those using dedicated boxes.

Is it possible to enter the IMDB ID or TMDB ID in the Enter the movie name screen and the scraper to search on the ID? (I actually thought this was possible at one time, but seems not. Maybe there was a regression at some point?)

Image

I imaging most people will have a smart phone or tablet on the couch next to them with the IMDB app installed. It would be quick and easy to look up the ID.
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
#15
(2019-09-18, 05:46)Karellen Wrote: Is it possible to enter the IMDB ID or TMDB ID in the Enter the movie name screen and the scraper to search on the ID? (I actually thought this was possible at one time, but seems not. Maybe there was a regression at some point?)

That definitely used to be possible.

Edit: quick search turns up https://forum.kodi.tv/showthread.php?tid...pid2626662
Edit2: still works with Universal Scraper not working with TMDB xml
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 21

Logout Mark Read Team Forum Stats Members Help
TheMovieDB movie scraper - PYTHON version0