This is the new and improved Plex Automatic Pre-roll script with a GUI

Overview

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

What is this?

This is a python script with 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

If you are on windows you can download the dist.zip file and run the excecutable. However you will still need to download the PrerollUpdate.py script if you want to have it update automatically in the background This is now packaged in the dist.zip file

First make sure you have Python installed version 3.7 and above. Next run:

pip install -r requirements.txt

That will install all the needed packages

Windows Step by step instructions by Danny at smarthomepursuits.com

https://smarthomepursuits.com/how-to-setup-plex-automatic-pre-roll-gui-in-windows/

Mac OS

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Set Path Variable

export PATH="/usr/local/opt/python/libexec/bin:$PATH"

Set Path Variable 10.12 and below

export PATH=/usr/local/bin:/usr/local/sbin:$PATH

Install Python

 brew install python

Install packages

pip install -r requirements.txt

Run the script

python 
   

   

Linux

Check to make sure you have the correct version

python3 --version

Run the script

python 
   

   

Settings

The config.yml file is created through the script automatically with no user input needed now. All changes are now made through the GUI YAY!

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

macOS or Linux: Ex: Monthly

crontab -e
0 0 * 1-12 * python /path/to/scripts/PrerollUpdate.py 2>&1

Windows:

Verify python is added to the PATH environmental variable Search for task schedular and open it. Click "Create Basic Task" and enter a name and description. Then set the task to run monthly. Choose "Start a program" then for "Program/script" add the full path of the PrerollUpdate.py script Click "Finish" and you are done!

Running For The First Time

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

You might also like...
A hotkey manager that runs in the system tray. Uses PySimpleGUI for the GUI and the system tray.
A hotkey manager that runs in the system tray. Uses PySimpleGUI for the GUI and the system tray.

PySimpleHotkey PySimpleHotkey A hotkey manager that runs in the system tray. Uses PySimpleGUI for the GUI and the system tray. Packages Used This proj

Delphi's FireMonkey framework as a Python module for Windows, MacOS, Linux, and Android GUI development.

DelphiFMX4Python Delphi's FireMonkey framework as a Python module for Windows, MacOS, Linux, and Android GUI development. About: The delphifmx library

Simple GUI python app to show a stocks graph performance. Made with Matplotlib and Tiingo.
Simple GUI python app to show a stocks graph performance. Made with Matplotlib and Tiingo.

stock-graph-python Simple GUI python app to show a stocks graph performance. Made with Matplotlib and Tiingo. Tiingo API Key You will need to add your

A Simple GUI application to organize and store accounts/passwords.
A Simple GUI application to organize and store accounts/passwords.

PyssView A Simple GUI application to organize and store accounts/passwords. Install/Run (Linux) Via script This way will install a binary version and

Advanced GUI Calculator with Beautiful UI and Clear Code.
Advanced GUI Calculator with Beautiful UI and Clear Code.

Advanced GUI Calculator with Beautiful UI and Clear Code.

A simple assistance and with a very basic GUI

J.A.R.V.I.S This is a simple assistance and with a very basic GUI (Graphical User Interface) Download all the dependencies by running the below code p

GUI to enable user selection of measurement and station in kHTConnector module.

kHTGui GUI to enable user selection of measurement and station in kHTConnector module. Helper tool for PowerBI users If you're planning to import data

A GUI frontend for the Kamyroll-API using Python and PySide6
A GUI frontend for the Kamyroll-API using Python and PySide6

Kamyroll-GUI A GUI frontend for the Kamyroll-API using Python and PySide6 Usage When starting the application you will be presented with a list and so

A simple quiz app using API and GUI
A simple quiz app using API and GUI

GUI-Quiz-APP It's a simple quiz app using API and GUI.

Releases(v1.2.1.0)
  • v1.2.1.0(Dec 23, 2021)

    Added a custom date section to store up to 10 custom pre roll dates and fixed error in day selection and low res displays. Moved from storing data in the PySimpleGUI settings to a JSON file for more flexibility.

    Full Changelog: https://github.com/TheHumanRobot/Plex-Automatic-Pre-roll-GUI/compare/v1.2.0...v1.2.1.0

    Source code(tar.gz)
    Source code(zip)
    dist.zip(10.10 MB)
  • v1.2.0(Dec 23, 2021)

    Added a custom date section to store up to 10 custom pre roll dates and fixed error in day selection. Moved from storing data in the PySimpleGUI settings to a JSON file for more flexibility.

    Full Changelog: https://github.com/TheHumanRobot/Plex-Automatic-Pre-roll-GUI/compare/v1.0.2...v1.2.0

    Source code(tar.gz)
    Source code(zip)
    dist.zip(10.10 MB)
  • v1.0.2(Dec 22, 2021)

  • Prod(Dec 22, 2021)

  • v1.0.0(Dec 21, 2021)

Owner
null
A small GUI random roll call program made by Python.

A small GUI random roll call program made by Python.

Yuchen Ren 0 Feb 21, 2022
The GUI application by Python3.8. Using QT Design draw UI and generator UI XML file provides to PySide2 build GUI components

The GUI application by Python3.8. Using QT Design draw UI and generator UI XML file provides to PySide2 build GUI components. Total adopt OOD design class, service, and abstract class. OOP implemented this project.

Jiage 1 Jan 11, 2022
A GUI for designing Python GUI's for PySimpleGUI.

SimpleGUIBuilder A GUI for designing Python GUI's for PySimpleGUI. Installation There is none :) just download the file from a release and run it. Don

Miguel Martins 65 Dec 22, 2022
PyQt5 Sample GUI Program - Python PyQt5 Sample GUI application

Python PyQt5 Sample GUI application Program work like this Designed GUI using De

Dimuth De Zoysa 5 Mar 27, 2022
A quick GUI script to pseudo-anonymize patient videos for use in the GRK

grk_patient_sorter A quick GUI script to pseudo-anonymize patient videos for use in the GRK. Source directory — the highest level folder that will be

Peter Somers 1 Dec 9, 2021
GUI app to read settings and stats from Cloudflare WARP CLI for Linux, and change some settings

warp-cli-gui GUI app to read settings and stats from Cloudflare WARP CLI for Linux, and change some settings. Description Python program that will int

Danie 6 Nov 1, 2022
Build GUI for your Python program with JavaScript, HTML, and CSS

https://pywebview.flowrl.com pywebview is a lightweight cross-platform wrapper around a webview component that allows to display HTML content in its o

Roman 3.3k Jan 1, 2023
This is a GUI based text and image messenger. Other functionalities will be added soon.

Pigeon-Messenger (Requires Python and Kivy) Pigeon is a GUI based text and image messenger using Kivy and Python. Currently the layout is built. Funct

null 4 Jan 21, 2022
My Git GUI version made in Python and Tkinter.

Description My Git GUI version made in Python and Tkinter. How to use Basically, create a folder in your computer, open the software, select the path

Matheus Golzio 4 Oct 10, 2021