Git Product home page Git Product logo

plex-scripts's Introduction

Plex-scripts

This repository is a collection of scripts that I made targeted at applications like Plex, the arr's and Tautulli. It is inspired by the JBOPS repo. The scripts were made after requests, made by other people, in this reddit post. The target of most scripts is to expand the functionality of the applications. These scripts often fulfill a request for a feature made by many users of the applications a long time ago.

Info about the use case of every script can be found at the top inside the file. Info about how to setup the scripts can be found in the wiki. Eventhough it all started with making requests using comments under a reddit post, now we make requests using GitHub issues for which you can find info here.

Favourites

A few of my personal favourites:

  1. audio_sub_changer.py: change audio/subtitle streams based on desired language for an episode, season, series, movie or complete library
  2. plex_sync.py, keep two plex instances synced where you can sync collections, posters (e.g. custom posters set for media), watch history and playlists. You can select, for the last two, which users you want to sync it for as those are user specific.
  3. stream_upgrader.py: upgrade the stream's video (resolution) or audio (channel count) when there is a better one available wherever it may be (e.g. you start streaming a 1080p movie but you have a 4k version in a different library so the script will change the stream to that version).
  4. plex_exporter_importer.py: export metadata of plex media and save it to a file alongside the media file. Then you can do the reverse with importing, where the file is read and the values are applied to the plex item. This way you can "carry" custom metadata between plex servers (including posters and watched status).
  5. advanced_playlists.py: create playlists containing (multiple) series in custom orders like shuffled, semi-shuffled (series sequential but episodes shuffled) and staggered.

Great scripts, but why?

I've noticed that plex, the arr's and tautulli all are great applications but they have their flaws. Often, people say "Plex is great, but..." or "Sonarr is cool but I hate that...". Now ofcourse software can't be perfect for everyone as everyone want's to do something different, but the amount of but's that these applications have is a little too much.

I have quite a bit of experience, working with these applications and thus I thought "why not help out?" I know their api's well, what is possible and not, etc. So I started the reddit thread found above where people could tell their but's and I would fix them in the form of a script. This repository is the result of that post (and a few scripts made after my own but's). I just want everyone to enjoy these great applications to their fullest. It's also great practise for me as I'm learning new languages and this ofcourse helps me getting comfortable in them.

BASH

There are a few scripts in the repository that are written in BASH. I'm slowly converting all those scripts to python scripts.

Donations

I don't accept money. I'm literally 16. You can "pay" me by sharing the repository with other people.

Browse around and take a look! Happy "but's"-removing

plex-scripts's People

Contributors

casvt avatar aelfa avatar robdplatt 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.