GithubHelp home page GithubHelp logo

elsewherr's Introduction

DISCLAIMER: This was thrown together by me late at night with limited python skills. Use it at your own risk. I provide zero warranty. If this nerfs your Radarr library I am really sorry, but theres nothing I can do.

Elsewherr

What is it?

Elsewherr will see if your movies from Radarr are available on a streaming service, and add a tag against the movie if it is.

How does it work?

The script will check The Movie Database (https://www.themoviedb.org/) via their API, which in turn uses Just Watch (https://www.justwatch.com/), to get all streaming services each movie is on. If it matches one of your chosen list to monitor, it then adds this tag in Radarr.

Why?

Why not? What you do with this information is up to you. You might want to remove movies that are on Netflix to save space, or just like to know theres an option availble other than your local library.

How do I use it?

  • Download, clone, or otherwise obtain this repo and put it somewhere
  • Run python -m pip install -r requirements.txt or pip install -r requirements.txt
  • Get an account at TMDb (https://www.themoviedb.org/) and grab an API key
  • Rename config.yaml.example to config.yaml
  • Edit config.yaml as per the table below
  • Run python elsewherr.py, or run.bat to run the script.

You might want to setup a scheduled task or something to run this regularly to keep the list up to date as moves are added to or drop off streaming services.

Parameters

Parameter Description
tmdbApiKey API Key for The Movie Database
providerRegion 2 digit region code to use to check the availability of movies on that regions streaming service. The providers.txt file contains a list of codes
radarrApiKey Your API key for Radarr
radarrUrl Full URL including port to Radarr
requiredProviders List of the providers you would like to search for. Providers must be entered exactly as they appear in the Providers list from TMDb to work.
tagPrefix Prefix that will be included in the tags added to Radarr

A list of Regions and Providers is available in providers.txt, but you can also run the providers.py script to grab an up to date list.

Logging/Debugging

By default Elsewherr will log all INFO logs out to elsewhere.log. If you incluide the '-d' or '--debug' argument when running the script (i.e. python elsewherr.py -d or python elsewherr.py --debug) it will up the logging to DEBUG and output much more information to the logs.

The log file is overwritten each time the script is run.

Note: The prefix is important, its used to remove all tags before re-adding to catch movies being removed from services. If you don't use a prefix, this script will remove all your tags from your movies. You can change it from the default elsewherr-, just make sure its unique.

elsewherr's People

Contributors

adman1020 avatar javirln avatar oilervoss avatar jpdsc avatar

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.