diff --git a/.env.sample b/.env.sample index 5ecec54..5c89fb6 100644 --- a/.env.sample +++ b/.env.sample @@ -3,11 +3,8 @@ ## Do not mark any shows/movies as played and instead just output to log if they would of been marked. DRYRUN = "True" -## Additional logging information -DEBUG = "False" - ## Debugging level, "info" is default, "debug" is more verbose -DEBUG_LEVEL = "info" +DEBUG_LEVEL = "INFO" ## If set to true then the script will only run once and then exit RUN_ONLY_ONCE = "False" @@ -16,7 +13,7 @@ RUN_ONLY_ONCE = "False" SLEEP_DURATION = "3600" ## Log file where all output will be written to -LOGFILE = "log.log" +LOG_FILE = "log.log" ## Mark file where all shows/movies that have been marked as played will be written to MARK_FILE = "mark.log" @@ -24,26 +21,24 @@ MARK_FILE = "mark.log" ## Timeout for requests for jellyfin REQUEST_TIMEOUT = 300 -## Generate guids -## Generating guids is a slow process, so this is a way to speed up the process -## by using the location only, useful when using same files on multiple servers -GENERATE_GUIDS = "True" - -## Generate locations -## Generating locations is a slow process, so this is a way to speed up the process -## by using the guid only, useful when using different files on multiple servers -GENERATE_LOCATIONS = "True" - ## Max threads for processing -MAX_THREADS = 2 +MAX_THREADS = 1 + +## Generate guids/locations +## These are slow processes, so this is a way to speed things up +## 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 = "True" +GENERATE_LOCATIONS = "True" ## Map usernames between servers in the event that they are different, order does not matter ## Comma separated for multiple options -#USER_MAPPING = { "testuser2": "testuser3", "testuser1":"testuser4" } +USER_MAPPING = { "Username": "User", "Second User": "User Dos" } ## Map libraries between servers in the event that they are different, order does not matter ## Comma separated for multiple options -#LIBRARY_MAPPING = { "Shows": "TV Shows", "Movie": "Movies" } +LIBRARY_MAPPING = { "Shows": "TV Shows", "Movie": "Movies" } ## 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 @@ -52,7 +47,7 @@ MAX_THREADS = 2 #BLACKLIST_LIBRARY_TYPE = "" #WHITELIST_LIBRARY_TYPE = "" #BLACKLIST_USERS = "" -WHITELIST_USERS = "testuser1,testuser2" +#WHITELIST_USERS = "" # Plex @@ -96,7 +91,7 @@ EMBY_BASEURL = "http://localhost:8097" ## Emby api token, created manually by logging in to the Emby server admin dashboard and creating an api key ## Comma seperated list for multiple servers -EMBY_TOKEN = "ed9507cba8d14d469ae4d58e33afc515" +EMBY_TOKEN = "SuperSecretToken" # Syncing Options @@ -113,4 +108,4 @@ SYNC_FROM_JELLYFIN_TO_EMBY = "True" SYNC_FROM_EMBY_TO_PLEX = "True" SYNC_FROM_EMBY_TO_JELLYFIN = "True" -SYNC_FROM_EMBY_TO_EMBY = "True" \ No newline at end of file +SYNC_FROM_EMBY_TO_EMBY = "True"