mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
184 lines
8.9 KiB
Plaintext
184 lines
8.9 KiB
Plaintext
## Unpackerr Example Configuration File ##
|
|
## The following values are application defaults. ##
|
|
## Environment Variables may override all values. ##
|
|
####################################################
|
|
|
|
# [true/false] Turn on debug messages in the output. Do not wrap this in quotes.
|
|
# Recommend trying this so you know what it looks like. I personally leave it on.
|
|
debug = false
|
|
|
|
# Disable writing messages to stdout. This silences the app. You should set a log
|
|
# file below if you set this to true. Recommended when starting with systemctl.
|
|
quiet = false
|
|
|
|
# Setting activity to true will silence all app queue log lines with only zeros.
|
|
# Set this to true when you want less log spam.
|
|
activity = false
|
|
|
|
# The application queue data is logged on an interval. Adjust that interval with this setting.
|
|
# Default is a minute. 2m, 5m, 10m, 30m, 1h are also perfectly acceptable.
|
|
log_queues = "1m"
|
|
|
|
# Write messages to a log file. This is the same data that is normally output to stdout.
|
|
# This setting is great for Docker users that want to export their logs to a file.
|
|
# The alternative is to use syslog to log the output of the application to a file.
|
|
# Default is no log file; this is unset. log_files=0 turns off auto-rotation.
|
|
# Default files is 10 and size(mb) is 10 Megabytes; both doubled if debug is true.
|
|
# Windows paths must use two backslashes: "C:\\Some\\Path\\Unpacker.log" (true everywhere).
|
|
#log_file = "/downloads/unpackerr.log"
|
|
log_files = 10
|
|
log_file_mb = 10
|
|
|
|
# How often to poll sonarr and radarr.
|
|
# Recommend 1m-5m. Uses Go Duration.
|
|
interval = "2m"
|
|
|
|
# How long an item must be queued (download complete) before extraction will start.
|
|
# One minute is the historic default and works well. Set higher if your downloads
|
|
# take longer to finalize (or transfer locally). Uses Go Duration.
|
|
start_delay = "1m"
|
|
|
|
# How long to wait before removing the history for a failed extraction.
|
|
# Once the history is deleted the item will be recognized as new and
|
|
# extraction will start again. Uses Go Duration.
|
|
retry_delay = "5m"
|
|
|
|
# How many files may be extracted in parallel. 1 works fine.
|
|
# Do not wrap the number in quotes. Raise this only if you have fast disks and CPU.
|
|
parallel = 1
|
|
|
|
# Use these configurations to control the file modes used for newly extracted
|
|
# files and folders. Recommend 0644/0755 or 0666/0777.
|
|
file_mode = "0644"
|
|
dir_mode = "0755"
|
|
|
|
##-Notes-#######-READ THIS!!!-##################################################
|
|
## The following sections can be repeated if you have more than one Sonarr, ##
|
|
## Radarr or Lidarr, Readarr, Folder, Webhook, or Command Hook. ##
|
|
## You MUST uncomment the [[header]] and api_key at a minimum for Starr apps. ##
|
|
################################################################################
|
|
|
|
#[[sonarr]]
|
|
# url = "http://127.0.0.1:8989"
|
|
# api_key = "0123456789abcdef0123456789abcdef"
|
|
## File system path where downloaded Sonarr items are located.
|
|
# paths = ["/downloads"]
|
|
## Default protocols is torrent. Alternative: "torrent,usenet"
|
|
# protocols = "torrent"
|
|
## How long to wait for a reply from the backend.
|
|
# timeout = "10s"
|
|
## If you use this app with NZB you may wish to delete archives after extraction.
|
|
## General recommendation is: do not enable this for torrent use.
|
|
## Setting this to true deletes the entire original download folder after import.
|
|
# delete_orig = false
|
|
|
|
#[[radarr]]
|
|
# url = "http://127.0.0.1:7878"
|
|
# api_key = "0123456789abcdef0123456789abcdef"
|
|
## File system path where downloaded Radarr items are located.
|
|
# paths = ["/downloads"]
|
|
## Default protocols is torrents. Alternative: "torrent,usenet"
|
|
# protocols = "torrent"
|
|
## How long to wait for a reply from the backend.
|
|
# timeout = "10s"
|
|
## If you use this app with NZB you may wish to delete archives after extraction.
|
|
## General recommendation is: do not enable this for torrent use.
|
|
## Setting this to true deletes the entire original download folder after import.
|
|
# delete_orig = false
|
|
|
|
#[[lidarr]]
|
|
# url = "http://127.0.0.1:8686"
|
|
# api_key = "0123456789abcdef0123456789abcdef"
|
|
## File system path where downloaded Lidarr items are located.
|
|
# paths = ["/downloads"]
|
|
## Default protocols is torrent. Alternative: "torrent,usenet"
|
|
# protocols = "torrent"
|
|
## How long to wait for a reply from the backend.
|
|
# timeout = "10s"
|
|
## If you use this app with NZB you may wish to delete archives after extraction.
|
|
## General recommendation is: do not enable this for torrent use.
|
|
## Setting this to true deletes the entire original download folder after import.
|
|
# delete_orig = false
|
|
|
|
#[[readarr]]
|
|
# url = "http://127.0.0.1:8787"
|
|
# api_key = "0123456789abcdef0123456789abc"
|
|
## File system path where downloaded Readarr items are located.
|
|
# paths = ["/downloads"]
|
|
## Default protocols is torrent. Alternative: "torrent,usenet"
|
|
# protocols = "torrent"
|
|
## How long to wait for a reply from the backend.
|
|
# timeout = "10s"
|
|
## If you use this app with NZB you may wish to delete archives after extraction.
|
|
## General recommendation is: do not enable this for torrent use.
|
|
## Setting this to true deletes the entire original download folder after import.
|
|
# delete_orig = false
|
|
|
|
|
|
##################################################################################
|
|
### ### STOP HERE ### STOP HERE ### STOP HERE ### STOP HERE #### STOP HERE ### #
|
|
### Only using Starr apps? The things above. The below configs are OPTIONAL. ### #
|
|
##################################################################################
|
|
|
|
##-Folders-#######################################################################
|
|
## This application can also watch folders for things to extract. If you copy a ##
|
|
## subfolder into a watched folder (defined below) any extractable items in the ##
|
|
## folder will be decompressed. This has nothing to do with Starr applications. ##
|
|
##################################################################################
|
|
[[folder]]
|
|
## Windows paths must use two backslashes: "C:\\Some\\Folder\\To\\Watch"
|
|
path = "/share/downloads_packed"
|
|
## Path to extract files to. The default (leaving this blank) is the same as `path` (above).
|
|
extract_path = "/share/downloads_unpacked"
|
|
## Delete extracted or original files this long after extraction. Set to 0 to disable all deletes. Uses Go Duration.
|
|
# delete_after = "10m"
|
|
## Delete extracted files after successful extraction? true/false, no quotes. Honors delete_after.
|
|
# delete_files = false
|
|
## Delete original items after successful extraction? true/false, no quotes. Honors delete_after.
|
|
# delete_original = false
|
|
## Disable extraction log (unpackerred.txt) file creation? true/false, no quotes.
|
|
# disable_log = false
|
|
## Move extracted files into original folder? If false, files go into an _unpackerred folder.
|
|
# move_back = false
|
|
|
|
|
|
################
|
|
### Webhooks ###
|
|
################
|
|
# Sends a webhook when an extraction queues, starts, finishes, and/or is deleted.
|
|
# Created to integrate with notifiarr.com.
|
|
# Also works natively with Discord.com, Telegram.org, and Slack.com webhooks.
|
|
# Can possibly be used with other services by providing a custom template_path.
|
|
###### Don't forget to uncomment [[webhook]] and url at a minimum !!!!
|
|
#[[webhook]]
|
|
# url = "https://notifiarr.com/api/v1/notification/unpackerr/api_key_from_notifiarr_com"
|
|
# name = "" # Set this to hide the URL in logs.
|
|
# silent = false # do not log success (less log spam)
|
|
# events = [0] # list of event ids to include, 0 == all.
|
|
## Advanced Optional Webhook Configuration
|
|
# nickname = "" # Used in Discord and Slack templates as bot name, in Telegram as chat_id.
|
|
# channel = "" # Also passed into templates. Used in Slack templates for destination channel.
|
|
# exclude = [] # list of apps to exclude, ie. ["radarr", "lidarr"]
|
|
# template_path = "" # Override internal webhook template for discord.com or other hooks.
|
|
# template = "" # Override automatic template detection. Values: notifiarr, discord, telegram, gotify, pushover, slack
|
|
# ignore_ssl = false # Set this to true to ignore the SSL certificate on the server.
|
|
# timeout = "10s" # You can adjust how long to wait for a server response.
|
|
# content_type = "application/json" # If your custom template uses another MIME type, set this.
|
|
|
|
|
|
#####################
|
|
### Command Hooks ###
|
|
#####################
|
|
# Executes a script or command when an extraction queues, starts, finishes, and/or is deleted.
|
|
# All data is passed in as environment variables. Try /usr/bin/env to see what variables are available.
|
|
###### Don't forget to uncomment [[cmdhook]] and url at a minimum !!!!
|
|
#[[cmdhook]]
|
|
# command = "/my/cool/app" # Path to command or script.
|
|
# shell = false # Runs the command inside /bin/sh ('nix) or cmd.exe (Windows).
|
|
# name = "" # Provide an optional name for logging.
|
|
# silent = false # Hides command output from logs.
|
|
# events = [0] # list of event ids to include, 0 == all.
|
|
## Optional Command Hook Configuration
|
|
# exclude = [] # list of apps to exclude, ie. ["radarr", "lidarr"]
|
|
# timeout = "10s" # You can adjust how long to wait for a server response.
|