Skip to content

Releases: nwithan8/plex-prerolls

v3.0.1

15 Nov 19:12
42c85d8
Compare
Choose a tag to compare

What's Changed

Related PRs

  • [bug] Fix path globbing not being parsed for non-Always schedules by @nwithan8 in #13

Full Changelog: 3.0.0...3.0.1

v3.0.0

14 Nov 20:14
4677279
Compare
Choose a tag to compare

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_pathpair, 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_globbingsettings 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

24 Oct 16:34
172bbd9
Compare
Choose a tag to compare

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

  • [feat] Auto-generate "Recently Added" prerolls via webhooks by @nwithan8 in #6

Full Changelog: 1.3.0...2.0.0

1.3.0

04 Feb 04:07
Compare
Choose a tag to compare

What's Changed

  • [FEAT] New advanced option to use glob patterns to find local files and translate to remote paths.

Related PRs

  • [feat] Use glob patterns to auto-find local paths, translate to remote paths by @nwithan8 in #3

Full Changelog: 1.2.1...1.3.0

1.2.1

22 Jan 06:45
Compare
Choose a tag to compare
  • [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

01 Jan 19:02
Compare
Choose a tag to compare
  • Account for crossing month and year boundaries when using wildcards

Full Changelog: 1.1.0...1.2.0

1.1.0

14 Dec 08:09
Compare
Choose a tag to compare

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

09 Dec 08:24
Compare
Choose a tag to compare
  • 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

09 Dec 08:17
Compare
Choose a tag to compare
  • Fix invalid Docker container paths
  • Add debugging output to Docker logs

Full Changelog: 1.0.1...1.0.2

v1.0.1

09 Dec 00:57
Compare
Choose a tag to compare

Small patch to Docker build process

Full Changelog: 1.0.0...1.0.1