From e8e6d6469f970577ffb5f4c97a843d8c8a86f16e Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Thu, 25 Sep 2025 14:40:30 -0400 Subject: [PATCH] at least it bombs now --- .env | 8 ++++---- run.sh | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.env b/.env index c7804c8..0c5e622 100644 --- a/.env +++ b/.env @@ -10,7 +10,7 @@ DEBUG_LEVEL = "DEBUG" RUN_ONLY_ONCE = "True" ## How often to run the script in seconds -SLEEP_DURATION = "3600" +SLEEP_DURATION = "60" ## Log file where all output will be written to LOG_FILE = "/mnt/log.log" @@ -29,17 +29,17 @@ MAX_THREADS = 1 ## If media servers are using the same files then you can enable only generate locations ## If media servers are using different files then you can enable only generate guids ## Default is to generate both -GENERATE_GUIDS = "False" +GENERATE_GUIDS = "True" GENERATE_LOCATIONS = "True" ## Map usernames between servers in the event that they are different, order does not matter ## Comma separated for multiple options # jellyfin: plex,plex -USER_MAPPING = { "belandbroc": "debila,belan49" } +USER_MAPPING = { "belandbroc": "debila,belan49", "debila,belan49": "belandbroc", "debila": "belandbroc", "belan49": "belandbroc" } ## Map libraries between servers in the event that they are different, order does not matter ## Comma separated for multiple options -LIBRARY_MAPPING = { "TV Shows": "Scratch TV Shows" } +LIBRARY_MAPPING = { "TV Shows": "Scratch TV Shows", "Scratch TV Shows": "TV Shows" } ## Blacklisting/Whitelisting libraries, library types such as Movies/TV Shows, and users. Mappings apply so if the mapping for the user or library exist then both will be excluded. ## Comma separated for multiple options diff --git a/run.sh b/run.sh index 5f007e2..5562662 100644 --- a/run.sh +++ b/run.sh @@ -1,3 +1,5 @@ #! /usr/bin/env bash -docker run --rm -it -v "$PWD/.env:/app/.env" luigi311/jellyplex-watched:latest +d=/tmp/jellyplex.d +mkdir -p $d +docker run --rm -it -v "$d":/mnt -v "$PWD/.env:/app/.env" luigi311/jellyplex-watched:latest