Update sample config
This commit is contained in:
@@ -2,9 +2,16 @@
|
|||||||
zurg: v1
|
zurg: v1
|
||||||
token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken
|
token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken
|
||||||
|
|
||||||
|
# each token in RD allows some amount of bandwidth daily
|
||||||
|
# if you need to go over past this limit (e.g. plex extensive analysis)
|
||||||
|
# you can buy a new RD account and specify the token here
|
||||||
|
# download_tokens:
|
||||||
|
# - ANOTHER_RD_API_TOKEN
|
||||||
|
# - ANOTHER_RD_API_TOKEN_2
|
||||||
|
|
||||||
# do not change this if you are running it inside a docker container
|
# do not change this if you are running it inside a docker container
|
||||||
host: "[::]"
|
# host: "[::]"
|
||||||
port: 9999
|
# port: 9999
|
||||||
|
|
||||||
# you can protect your zurg server with username+password auth
|
# you can protect your zurg server with username+password auth
|
||||||
# username: yowmamasita
|
# username: yowmamasita
|
||||||
@@ -15,33 +22,35 @@ port: 9999
|
|||||||
# proxy: "https://[username:password@]host:port"
|
# proxy: "https://[username:password@]host:port"
|
||||||
# proxy: "socks5://[username:password@]host:port"
|
# proxy: "socks5://[username:password@]host:port"
|
||||||
|
|
||||||
# How many requests in parallel should we send to Real-Debrid API?
|
|
||||||
concurrent_workers: 20
|
|
||||||
|
|
||||||
# How often should we check Real-Debrid API for file changes?
|
|
||||||
check_for_changes_every_secs: 15
|
|
||||||
|
|
||||||
# if true, saved rename info (if it exists) will be ignored
|
|
||||||
ignore_renames: false
|
|
||||||
|
|
||||||
# if true, it will strictly follow Real-Debrid API filename property
|
|
||||||
# setting to true should make zurg more compatible with rdt-client
|
|
||||||
retain_rd_torrent_name: false
|
|
||||||
|
|
||||||
# note: this is for cosmetic purposes only
|
|
||||||
# if true, zurg won't drop file extensions from directories
|
|
||||||
retain_folder_name_extension: false
|
|
||||||
|
|
||||||
# if true, zurg will delete Real-Debrid rar'ed torrents
|
|
||||||
# they are always compressed in a rar archive no matter what files you select
|
|
||||||
auto_delete_rar_torrents: false
|
|
||||||
|
|
||||||
# if true, during zurg initialization, it will fetch all downloads to unrestrict links faster
|
|
||||||
# it will also mount your download links in a special directory
|
|
||||||
use_download_cache: true
|
|
||||||
|
|
||||||
# BEWARE! THERE CAN ONLY BE 1 INSTANCE OF ZURG THAT SHOULD REPAIR YOUR TORRENTS
|
# BEWARE! THERE CAN ONLY BE 1 INSTANCE OF ZURG THAT SHOULD REPAIR YOUR TORRENTS
|
||||||
enable_repair: true
|
enable_repair: true
|
||||||
|
# Action to take when encountering RAR files (extract, delete, or none)
|
||||||
|
rar_action: extract
|
||||||
|
# Add file extensions that you want to be considered playable (not moved to the unplayable directory)
|
||||||
|
addl_playable_extensions:
|
||||||
|
- mp3
|
||||||
|
- flac
|
||||||
|
|
||||||
|
# How often should zurg look for broken torrents and repair them?
|
||||||
|
# repair_every_mins: 60
|
||||||
|
|
||||||
|
# How often should zurg remount all your downloads?
|
||||||
|
# downloads_every_mins: 720
|
||||||
|
|
||||||
|
# How often should zurg dump your zurgtorrent files to the dump folder?
|
||||||
|
# dump_torrents_every_mins: 1440
|
||||||
|
|
||||||
|
# RD API timeout setting
|
||||||
|
# api_timeout_secs: 60
|
||||||
|
|
||||||
|
# RD download timeout setting
|
||||||
|
# download_timeout_secs: 10
|
||||||
|
|
||||||
|
# api response failures until considered failed
|
||||||
|
# retries_until_failed: 2
|
||||||
|
|
||||||
|
# Every time zurg runs, it will
|
||||||
|
# cache_network_test_results: false
|
||||||
|
|
||||||
# this is useful for ensuring Plex adds your new content immediately
|
# this is useful for ensuring Plex adds your new content immediately
|
||||||
# uncomment the next line for triggering a partial scan
|
# uncomment the next line for triggering a partial scan
|
||||||
@@ -53,35 +62,30 @@ on_library_update: |
|
|||||||
echo "detected update on: $arg"
|
echo "detected update on: $arg"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# in order to use media_info_* filters, your torrents need to be analyzed first
|
||||||
|
auto_analyze_new_torrents: true
|
||||||
|
|
||||||
# true = send link to rclone and rclone will stream the file
|
# true = send link to rclone and rclone will stream the file
|
||||||
# false = zurg will stream the file
|
# false = zurg will stream the file
|
||||||
serve_from_rclone: false
|
# serve_from_rclone: false
|
||||||
|
|
||||||
# force connect to real-debrid ipv6 addresses
|
# force connect to real-debrid ipv6 addresses
|
||||||
# useful if you are blocked
|
# useful if you are blocked
|
||||||
force_ipv6: false
|
# force_ipv6: false
|
||||||
|
|
||||||
# sleep time after getting a 429 from Real-Debrid API
|
# How many requests in parallel should zurg send to Real-Debrid API?
|
||||||
rate_limit_sleep_secs: 6
|
# concurrent_workers: 20
|
||||||
|
|
||||||
# time to wait before timing out
|
# How often should zurg check Real-Debrid API for file changes?
|
||||||
realdebrid_timeout_secs: 60
|
# check_for_changes_every_secs: 15
|
||||||
|
|
||||||
# api response failures until considered failed
|
# if true, it will strictly follow Real-Debrid API filename property
|
||||||
retries_until_failed: 5
|
# setting to true should make zurg more compatible with rdt-client
|
||||||
|
# retain_rd_torrent_name: false
|
||||||
|
|
||||||
# use the fastest hosts from your location
|
# note: this is for cosmetic purposes only
|
||||||
# Run ./zurg network-test
|
# if true, zurg won't drop file extensions from directories
|
||||||
# preferred_hosts:
|
# retain_folder_name_extension: false
|
||||||
# - 20.download.real-debrid.com
|
|
||||||
# - 21.download.real-debrid.com
|
|
||||||
# - 22.download.real-debrid.com
|
|
||||||
# - 23.download.real-debrid.com
|
|
||||||
# - 30.download.real-debrid.com
|
|
||||||
# - 31.download.real-debrid.com
|
|
||||||
# - 32.download.real-debrid.com
|
|
||||||
# - 34.download.real-debrid.com
|
|
||||||
# - 40.download.real-debrid.com
|
|
||||||
|
|
||||||
# List of directory definitions and their filtering rules
|
# List of directory definitions and their filtering rules
|
||||||
directories:
|
directories:
|
||||||
@@ -107,3 +111,58 @@ directories:
|
|||||||
only_show_the_biggest_file: true # let's not show the other files besides the movie itself
|
only_show_the_biggest_file: true # let's not show the other files besides the movie itself
|
||||||
filters:
|
filters:
|
||||||
- regex: /.*/ # you cannot leave a directory without filters because it will not have any torrents in it
|
- regex: /.*/ # you cannot leave a directory without filters because it will not have any torrents in it
|
||||||
|
|
||||||
|
# media info directories
|
||||||
|
|
||||||
|
# when you use media_info filters group_order doesn't matter anymore
|
||||||
|
# just make sure they are on unique groups
|
||||||
|
# in future versions (0.10rc3+), you can opt to omit group completely
|
||||||
|
|
||||||
|
"4k english shows":
|
||||||
|
filters:
|
||||||
|
- and:
|
||||||
|
- media_info_with_audio_language: eng
|
||||||
|
- media_info_resolution: 4k
|
||||||
|
- has_episodes: true
|
||||||
|
|
||||||
|
"4k foreign shows":
|
||||||
|
filters:
|
||||||
|
- and:
|
||||||
|
- media_info_without_audio_language: eng
|
||||||
|
- media_info_with_subtitle_language: eng
|
||||||
|
- media_info_resolution: 4k
|
||||||
|
- has_episodes: true
|
||||||
|
|
||||||
|
"4k english movies":
|
||||||
|
filters:
|
||||||
|
- and:
|
||||||
|
- media_info_with_audio_language: eng
|
||||||
|
- media_info_resolution: 4k
|
||||||
|
- media_info_duration_gte: 3600 # 60 mins
|
||||||
|
|
||||||
|
"4k foreign movies":
|
||||||
|
filters:
|
||||||
|
- and:
|
||||||
|
- media_info_without_audio_language: eng
|
||||||
|
- media_info_with_subtitle_language: eng
|
||||||
|
- media_info_resolution: 4k
|
||||||
|
- media_info_duration_gte: 3600 # 60 mins
|
||||||
|
|
||||||
|
"1080p movies":
|
||||||
|
filters:
|
||||||
|
- and:
|
||||||
|
- media_info_resolution: 1080p
|
||||||
|
|
||||||
|
"low resolution":
|
||||||
|
filters:
|
||||||
|
- media_info_resolution: 720p
|
||||||
|
- media_info_resolution: 480p
|
||||||
|
- media_info_resolution: 360p
|
||||||
|
- media_info_resolution: 240p
|
||||||
|
- media_info_resolution: 144p
|
||||||
|
|
||||||
|
"audiobooks":
|
||||||
|
filters:
|
||||||
|
- and:
|
||||||
|
- any_file_inside_regex: /\.(mp3|m4b)$/
|
||||||
|
- media_info_duration_gte: 600 # 10 mins
|
||||||
|
|||||||
Reference in New Issue
Block a user