Plex Prerolls

Automates scheduling and generation of Plex preroll videos

91 stars 2 forks last commit first released

Actively maintained

Last commit 6 Apr 2026.

Plex Prerolls is a Python-based tool to automate management of preroll (intro/trailer) listings for Plex Media Server. It builds Plex-compatible preroll lists on a schedule, can glob local files to remote Plex paths, and can auto-generate prerolls from media metadata via Plex webhooks.

Key Features

  • Multiple scheduling types: always, date_range (with wildcards), weekly, monthly; selectable entries are aggregated at run time
  • Weighting and disable_always options to influence random selection probability and section precedence
  • Path globbing to translate local filesystem paths to Plex-visible remote paths for bulk preroll inclusion
  • Docker-friendly with a provided container image and docker-compose support; recommended deployment via container
  • Webhook ingestion and auto-generation of prerolls (recently added media) using Plex webhooks, YouTube assets, and configurable rendering/storage
  • Configurable filesystem layout and config.yaml-driven settings; runtime exposes an HTTP endpoint for webhook callbacks
  • Logging to a file and configurable cron/scheduling frequency for periodic execution

Use Cases

  • Schedule themed or seasonal prerolls (holidays, events) with date_range and weight controls
  • Auto-generate trailer-style prerolls for recently added items using Plex webhooks to drive generation
  • Maintain a curated or randomized set of prerolls for large Plex libraries using path globbing and weighted lists

Limitations and Considerations

  • Auto-generation and path globbing require the prerolls service to run on the same host or have access to the Plex filesystem view
  • Plex webhook features require a Plex Pass subscription to deliver webhooks to the application
  • Generating prerolls from online sources relies on external tools and cookies (e.g., YouTube extraction) which must be configured and maintained
  • There is no built-in graphical management UI; configuration is file-based (config.yaml) and operated via container/CLI

Plex Prerolls is a focused utility for administrators who want deterministic and automated control over Plex preroll behavior. It is optimized for container deployment and for setups where the service can access Plex media paths and webhook events.

Categories:

Tags:

Tech Stack:

Share:

Similar to Plex Prerolls

ChannelTube logo

ChannelTube

Scheduled YouTube channel downloader using yt-dlp

325
25
Last commit

Fetch and synchronize video or audio from YouTube channels on a schedule using yt-dlp. Runs in Docker and can trigger Plex/Jellyfin library scans.

GPL-3.0Actively maintained
Alternative to:
iTubeGo logo
iTubeGo
+2

Boxarr

Automated box office tracker that integrates with Radarr

294
13
Last commit

Tracks weekly box office charts and automatically adds trending theatrical releases to Radarr with filters, scheduling, and a web dashboard.

GPL-3.0Actively maintained
Alternative to:
Radarr logo
Radarr

ydl_api_ng

HTTP API wrapper for yt-dlp to manage downloads and scheduling

239
27
Last commit

Self-hosted HTTP API wrapping yt-dlp for automated video/audio downloads, presets, queue management, hooks and scheduled recordings.

GPL-3.0Actively maintained
Alternative to:
4K Video Downloader logo
4K Video Downloader
+11
TubeSync logo

TubeSync

PVR for syncing YouTube channels to your media server

2.8k
170
Last commit

TubeSync is a YouTube PVR that automatically indexes channels or playlists, downloads new videos, and updates Plex or Jellyfin with organized local media.

AGPL-3.0Actively maintained
Alternative to:
iTubeGo logo
iTubeGo
+2

Youtarr

Automated YouTube downloader and organizer for media servers

1.5k
64
Last commit

Self-hosted web app to auto-download YouTube channels, organize media with metadata, and schedule downloads for Plex, Jellyfin, Emby, and Kodi.

ISCActively maintained
Alternative to:
PlayOn Cloud logo
PlayOn Cloud
+2
MeTube logo

MeTube

Web GUI for yt-dlp to download videos from YouTube and other sites

14.5k
1.1k
Last commit

A lightweight web interface for yt-dlp (youtube-dl fork) that manages queued downloads, playlists, and filename templates via Docker or local Python/Angular setup.

AGPL-3.0Actively maintained
Alternative to:
4K Video Downloader logo
4K Video Downloader
+10