Code Monkey home page Code Monkey logo

ncf4p's Introduction

Welcome to NCF4P aka New Content Finder 4 Plex!

The idea behind this script was to have the ability to scroll trough Movies and TV Shows that are not already in your PLEX library, something like NETFLIX and other similar services offer.

How it works.

The script is written in Python 3 and I didn't tested it with lower versions (maybe few minimum changes would make it work anyway). Everytime you trigger the script, it will ping TheMovieDB trough their API and get the most popular Movies and TV Shows right now. After getting the mentioned list of popular content, it will create Plex optimized folders and download its Trailer from YouTube with YouTube-DL. This way, you can create a separate Library on your Plex account that will only show Trailers.

example

Requirements

  1. Python 3+
  2. requests>=2.24.0 (install with pip)
  3. youtube-dl>=2020.6.16.1 or higher (install with pip)
  4. TheMovieDB API

Settings.ini file

The settings.ini file contains all the settings that the script needs to work without troubles.

  1. Create folder for "trailers"
  2. Inside of "trailers" folder, create folder "movies"
  3. Inside of "trailers" folder, create folder "tvshows"
  4. Open up settings.ini file and put the full path to the created folders
  5. Register a account on TheMovieDB and request an API (Google it or whatever...)

Settings.ini file

[tmdb]
API_KEY = TheMovieDB API key
LANGUAGE = example: en-US
PAGE_NO = Number of pages to go trough, example: 50

[date]
AGE_YEAR = Year of release, everything above it will be added. Example: 2019

[location]
MOVIE_LOCATION = D:\fake\movies
TV_LOCATION = D:\fake\tvshows

Don't FORGET!!!

Just please, don't forget to add the new libraries into Plex. Name them something like "Movie Trailers" or "TV Show Trailers".

Feel free to pull the script, fix, add, brake, I don't know whatever you want to do with it :)

Let me know and push it if you make something great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.