- Add optional file path to Unraid template

This commit is contained in:
nwithan8 2024-02-03 20:57:12 -07:00
parent 1e8a6a5226
commit 0d65f1b4bd
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -21,6 +21,7 @@
<Config Name="Cron Schedule" Target="CRON_SCHEDULE" Default="0 0 * * *" Description="How often to update schedules. See https://crontab.guru for help." Type="Variable" Display="always" Required="true" Mask="false" />
<Config Name="Dry Run" Target="DRY_RUN" Default="" Description="Enable dry-run (testing) mode. No changes will be made to Plex." Type="Variable" Display="always" Required="false" Mask="false" />
<Config Name="Timezone" Target="TZ" Default="UTC" Description="Timezone to use when calculating schedules" Type="Variable" Display="always" Required="false" Mask="false">UTC</Config>
<Config Name="Config Path" Target="/config" Default="/mnt/user/appdata/plex_prerolls/config" Mode="rw" Description="Where config file will be stored" Type="Path" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/plex_prerolls/config</Config>
<Config Name="Config Path" Target="/config" Default="/mnt/user/appdata/plex_prerolls/config" Mode="ro" Description="Where config file will be stored" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/plex_prerolls/config</Config>
<Config Name="Log Path" Target="/logs" Default="/mnt/user/appdata/plex_prerolls/logs" Mode="rw" Description="Where debug logs will be stored" Type="Path" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/plex_prerolls/logs</Config>
<Config Name="Files Path" Target="/files" Default="/mnt/user/appdata/plex_prerolls/files" Mode="ro" Description="(Optional) Where preroll files are stored, for local path glob feature" Type="Path" Display="advanced" Required="false" Mask="false">/mnt/user/appdata/plex_prerolls/files</Config>
</Container>