Skip to content

ookla-ariel-ride/TMDB-Collection-Data-Retriever

 
 

Repository files navigation

TMDB Collection Data Retriever

This script collects metadata (summary and images) for your plex collection that were created based on TheMovieDB.

How does it work?

The script collects all collections from your movie library that do not have a summary yet. It does this by looking the movies within the collection. The movies have a reference to the collection on TheMovieDB. If a valid collection reference can be found it will pull the summary as well as download posters/background images (and use the same web calls as if you were manually updating it over the web interface).

A sample on a small test library looks like this:

Example

Attention

Currently this has only been tested with a couple of libraries, so I would recommend to do a database backup before starting the process (even though I don't think the script can do any real harm).

Installation

Step 1 Configuration

Add your server ip and your plex token to the setting.ini

https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

Additionally you can:

  1. enable/disable the preference to prefer local art (if you have a non english library and want to get images in that langauge)
  2. change the limit of posters/backgrounds you want to download

Step 2 Install requirements

The following additional python libraries are used

requests (https://pypi.python.org/pypi/requests/2.18.4) plexapi (https://pypi.python.org/pypi/PlexAPI/3.0.6) progress (https://pypi.python.org/pypi/progress)

Requirements

Python (tested with 3.6.3)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%