From 0d65f1b4bdb1cae975d4958437985670fb3a3d43 Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Sat, 3 Feb 2024 20:57:12 -0700 Subject: [PATCH] - Add optional file path to Unraid template --- README.md | 5 ++++- config.yaml.example | 2 +- templates/plex_prerolls.xml | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b2e7f94..68b1dcc 100644 --- a/README.md +++ b/README.md @@ -239,7 +239,10 @@ at `/media/prerolls`, you would set the `root_path` to `/mnt/user/media/prerolls to `/media/prerolls`. If you are using the Docker container, you can mount the preroll directory to the container at any location you would -prefer (recommend: `/media/prerolls`) and set the `root_path` accordingly. +prefer (recommended: `/files`) and set the `root_path` accordingly. + +If you are using the Unraid version of this container, the "Files Path" path is mapped to `/files` by default; you +should set `root_path` to `/files` and `plex_path` to the same directory as seen by Plex. #### Usage diff --git a/config.yaml.example b/config.yaml.example index 1887d45..049acc1 100644 --- a/config.yaml.example +++ b/config.yaml.example @@ -93,5 +93,5 @@ monthly: advanced: path_globbing: enabled: true # If true, use globbing to match paths - root_path: /path/to/prerolls/in/this/container # The root folder to use for globbing + 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 diff --git a/templates/plex_prerolls.xml b/templates/plex_prerolls.xml index 394f0d1..a0dc55a 100644 --- a/templates/plex_prerolls.xml +++ b/templates/plex_prerolls.xml @@ -21,6 +21,7 @@ UTC - /mnt/user/appdata/plex_prerolls/config + /mnt/user/appdata/plex_prerolls/config /mnt/user/appdata/plex_prerolls/logs + /mnt/user/appdata/plex_prerolls/files