You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
TheHumanRobot 54cb733aa7
Update README.md
3 years ago
LICENSE Initial commit 3 years ago
Preroll.py web version 3 years ago
PrerollUpdate.py web version 3 years ago
README.md Update README.md 3 years ago
requirements.txt Create requirements.txt 3 years ago

README.md

Rollarr

This is the new and improved Automatic Pre-roll script with a GUI for Plex now called Rollarr! It should be stable but if you find a bug please let me know

Docker Edition

What is this?

This is a python script with web GUI that allows you to automate your Plex Server Pre-roll. You can find out more about Plex Pre-roll here: https://support.plex.tv/articles/202920803-extras/ You can specify if you would like your pre-roll updated monthly, weekly, daily, or for specific holidays. For example you can have this setup to apply a standard Pre-roll during regular times of the year and then during holidays update the pre-roll automatically!

Requirements

-Python 3.7+ (Probably works on a lower version haven't tested)

-PlexAPI

Installation

Simply install like any other docker and expose the port 3100 and map the location of your pre-roll files

docker pull thehumanrobot/rollarr:latest

Usage

Setting Plex Preroll

You need to schedule a job for updating the preroll each day, week, or month depending how you want your pre-rolls updated. You will now point this at the PrerollUpdate.py script This no longer required for the docker container since I have written some code to ensure the pre-roll is synced ever 60s

Running For The First Time

Connect to the IP of your docker system on port 3100

The first time you run it you will see this:

image

Fill in all the fields for your plex IP and Token

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

You can then setup a default pre-roll if you want or leave it blank

To set specific pre-roll fuctions select which type you want (Monthly, Weekly, Daily, Holiday Custom), You will then see more fields on the right

The path to the videos must be reachable by your Plex Server!

Monthly: image

Weekly: image

Daily: image

Holiday (If you want another holiday you can add that by using the weekly function and setting a date) : image

Custom: image

Once you finish setting that up whatever you select in the Schedule section will be what the script will run on

For example in this photo

image

I have selected Holiday and enabled the Christmas list therefore it will run through my Christmas list. If it does not find one enabled, finds empty strings, or does not match the holiday dates set in the system it will attempt to pull from the Default files.

I hope this is useful for some people and feel free to post any ideas or bugs