### GENERAL

debug = false
quiet = false
activity = false
log_queues = "1m"
# log_file = '/tmp/unpackerr.log'
log_files = 10
log_file_mb = 10
interval = "2m"
start_delay = "5m"
retry_delay = "5m"
parallel = 1
file_mode = "0777"
dir_mode = "0777"


### SONARR

# Primary Sonarr
[[sonarr]]
url = "http://sonarr:8989"
api_key = "7f0dfeea4b9f410d96b5ffa2f809d1e8"
paths = ['/mnt/store/Torrent/FINISHED/SONARR']
protocols = "torrent"
timeout = "10s"
delete_delay = "15m"
delete_orig = false
syncthing = false

# Anime Sonarr
[[sonarr]]
url = "http://sonarr_anime:8989"
api_key = "a2f10e70559c4ee3b8ff1d6cdc5a41f1"
paths = ['/mnt/store/Torrent/FINISHED/SONARR-ANIME']
protocols = "torrent"
timeout = "10s"
delete_delay = "15m"
delete_orig = false
syncthing = false

# Documentary Sonarr
[[sonarr]]
url = "http://sonarr_documentaries:8989"
api_key = "3ed988c3731b45ad8124b7d55b620d6b"
paths = ['/mnt/store/Torrent/FINISHED/SONARR-DOCU']
protocols = "torrent"
timeout = "10s"
delete_delay = "15m"
delete_orig = false
syncthing = false


### RADARR

# Primary Radarr
[[radarr]]
url = "http://radarr:7878"
api_key = "e6e3d6f4aafe4e499d970cfcbf042db9"
paths = ['/mnt/store/Torrent/FINISHED/RADARR']
protocols = "torrent"
timeout = "10s"
delete_delay = "5m"
delete_orig = false
syncthing = false

# Anime Radarr
[[radarr]]
url = "http://radarr_anime:7878"
api_key = "fb126bad31d64d43bb669ad81329954d"
paths = ['/mnt/store/Torrent/FINISHED/RADARR-ANIME']
protocols = "torrent"
timeout = "10s"
delete_delay = "5m"
delete_orig = false
syncthing = false

# Art Radarr
[[radarr]]
url = "http://radarr_art:7878"
api_key = "32365893c4234f8a9ad96d68d6e7a520"
paths = ['/mnt/store/Torrent/FINISHED/RADARR-ART']
protocols = "torrent"
timeout = "10s"
delete_delay = "5m"
delete_orig = false
syncthing = false

# Documentary Radarr
[[radarr]]
url = "http://radarr_documentaries:7878"
api_key = "fd03f47363324096a56d0a453623420b"
paths = ['/mnt/store/Torrent/FINISHED/RADARR-DOCU']
protocols = "torrent"
timeout = "10s"
delete_delay = "5m"
delete_orig = false
syncthing = false

# Stand Up Radarr
[[radarr]]
url = "http://radarr_standup:7878"
api_key = "c7c425b3fbcf4112895aceec7729f4d1"
paths = ['/mnt/store/Torrent/FINISHED/RADARR-SU']
protocols = "torrent"
timeout = "10s"
delete_delay = "5m"
delete_orig = false
syncthing = false


### LIDARR

# Primary Lidarr
[[lidarr]]
url = "http://lidarr:8686"
api_key = "d25bd6d24f4e4b90a21fc5b70bcb9fd9"
paths = ['/mnt/store/Torrent/FINISHED/LIDARR']
protocols = "torrent"
timeout = "10s"
delete_delay = "5m"
delete_orig = false
syncthing = false


### READARR

# Readarr Books
[[readarr]]
url = "http://readarr_books:8787"
api_key = "1c1b9d5e69ec4b2aa1a85301d48d1573"
paths = ['/mnt/store/Torrent/FINISHED/READARR-BOOKS']
protocols = "torrent"
timeout = "10s"
delete_delay = "5m"
delete_orig = false
syncthing = false

# Readarr Audio
[[readarr]]
url = "http://readarr_audio:8787"
api_key = "3be1176f6e6b461fa4f5eab9d39fd29f"
paths = ['/mnt/store/Torrent/FINISHED/READARR-AUDIO']
protocols = "torrent"
timeout = "10s"
delete_delay = "5m"
delete_orig = false
syncthing = false


### OTHER

#[[folder]]
# path = '/some/folder/to/watch'
## Path to extract files to. The default (leaving this blank) is the same as `path` (above).
# extract_path = ""
## Delete extracted or original files this long after extraction.
## The default is 0. Set to 0 to disable all deletes. Uncomment it to enable 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
## Set this to true if you want this app to extract ISO files with .iso extension.
# extract_isos = 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.