Files
zurg/config.example.yml
2023-11-21 18:43:38 +01:00

53 lines
2.2 KiB
YAML

# Zurg configuration version
zurg: v1
token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken
host: "[::]" # do not change this if you are running it inside a docker container
port: 9999 # do not change this if you are running it inside a docker container
concurrent_workers: 200
check_for_changes_every_secs: 15
info_cache_time_hours: 12
enable_repair: true # BEWARE! THERE CAN ONLY BE 1 INSTANCE OF ZURG THAT SHOULD REPAIR YOUR TORRENTS
retain_folder_name_extension: false # if true, zurg won't modify the filenames from real-debrid
on_library_update: |
echo "hook"
network_buffer_size: 1048576 # 1 MiB
preferred_hosts: # Run the script here https://github.com/debridmediamanager/real-debrid-network-test
- 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
# curl https://raw.githubusercontent.com/debridmediamanager/real-debrid-network-test/main/real-debrid-network-test.sh | bash
# List of directory definitions and their filtering rules
directories:
# Configuration for anime shows
anime:
group: media # directories on different groups have duplicates of the same torrent
group_order: 10 # group order = priority, it defines who eats first on a group
filters:
- and: # you can use nested 'and' & 'or' conditions
- has_episodes: true # intelligent detection of episode files inside a torrent
- any_file_inside_regex: /^\[/ # usually anime starts with [ e.g. [SubsPlease]
- any_file_inside_not_regex: /s\d\de\d\d/i # and usually anime doesn't use SxxExx
shows:
group: media
group_order: 20
filters:
- has_episodes: true # intelligent detection of episode files inside a torrent
movies:
group: media # because anime, shows and movies are in the same group,
group_order: 30 # and anime and shows has a lower group_order number than movies, all torrents that doesn't fall into the previous 2 will fall into movies
filters:
- regex: /.*/ # you cannot leave a directory without filters because it will not have any torrents in it