Releases: nwithan8/plex-prerolls
v3.0.1
v3.0.0
What's Changed
[BREAKING] Path Globbing moving from single global to multiple per-schedule setting
Previously, multiple path glob patterns could be set on each individual schedule, but all relied on a single global root_path
/plex_path
pair set in Advanced configuration.
Now, the root_path
/plex_path
is customizable on a per-schedule basis, supporting multiple glob patterns per root_path
/plex_path
pair, and multiple root_path
/plex_path
pairs per schedule.
Example:
date_range:
enabled: true
ranges:
- name: "New Years" # Optional name for logging purposes
start_date: 2020-01-01 # Jan 1st, 2020
end_date: 2020-01-02 # Jan 2nd, 2020
paths:
- "remote/path/to/video1.mp4"
path_globbing:
enabled: true
pairs:
- root_path: /local/root/1
plex_path: /path/to/local/root/1/in/plex
patterns:
- "pattern/1/*.mp4"
- "pattern/2/*.mkv"
- root_path: /local/root/2
plex_path: /path/to/local/root/2/in/plex
patterns:
- "pattern/3/*.mp4"
- "pattern/4/*.mkv"
Above, the single "New Years" date range schedule has multiple path glob pairs and subsequent patterns. This will find anything in /local/root/1/pattern/1/*.mp4
, /local/root/1/pattern/2/*.mkv
, /local/root/2/pattern/3/*.mp4
, and /local/root/2/pattern/4/*.mkv
, map them to their corresponding remote (Plex) paths and include them along with any specified traditional paths
.
As a result, legacy path globbing is no longer supported. Any legacy path_globs
settings on schedules and the global path_globbing
settings under Advanced will be ignored. Users should migrate to the new per-schedule configuration instead.
- path_globs:
- - "local/path/to/prerolls/*.mp4"
+ path_globbing:
+ enabled: true
+ pairs:
+ - root_path: /files
+ plex_path: /path/to/prerolls/in/plex
+ patterns:
+ - "local/path/to/prerolls/*.mp4"
...
advanced:
- path_globbing:
- enabled: true # If true, use globbing to match paths
- root_path: /files # The root folder to use for globbing
- plex_path: /path/to/prerolls/in/plex # The path to use for the Plex server
Related PRs
- [feat] Move path globbing from single global root/remote pair to multiple per-schedule by @nwithan8 in #10
Full Changelog: 2.0.0...3.0.0
v2.0.0
What's Changed
- [CHANGED] App is now intended as Docker-only. Running standalone Python script is unsupported.
- [ADDED] Webserver running to allow for webhooks + API calls
- [ADDED] Optional auto-generated prerolls (for recently added content via Plex webhooks)
Related PRs
Full Changelog: 1.3.0...2.0.0
1.3.0
What's Changed
- [FEAT] New advanced option to use glob patterns to find local files and translate to remote paths.
Related PRs
Full Changelog: 1.2.1...1.3.0
1.2.1
- [FIX] Bug where non-active schedules with
disable_always: true
were causing Always to be disabled, even though the schedule was not valid. - [IMPR] Cron variable on Unraid Docker template is no longer masked
Full Changelog: 1.2.0...1.2.1
1.2.0
- Account for crossing month and year boundaries when using wildcards
Full Changelog: 1.1.0...1.2.0
1.1.0
Add disable_always
optional flag to disable the always
pre-rolls on a per-schedule basis, e.g. do not include the always
pre-rolls if a Christmas schedule is enabled.
Full Changelog: 1.0.3...1.1.0
v1.0.3
- Remove invalid testing code that kept Docker container always in dry-run (testing) mode
Full Changelog: 1.0.2...1.0.3
v1.0.2
- Fix invalid Docker container paths
- Add debugging output to Docker logs
Full Changelog: 1.0.1...1.0.2
v1.0.1
Small patch to Docker build process
Full Changelog: 1.0.0...1.0.1