Some logistic changes

This commit is contained in:
Ben Sarmiento
2023-11-19 03:34:15 +01:00
parent 81d1df9bb5
commit 49bdb810e3
4 changed files with 44 additions and 8 deletions

59
config.example.yml Normal file
View File

@@ -0,0 +1,59 @@
# 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: 10
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, the folder name will contain the file extension when it is a torrent for a single file
# use this to update your Plex library for example
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
# List of directory definitions and their filtering rules
directories:
# Configuration for TV shows
shows:
group: media # directories on different groups have duplicates of the same torrent
group_order: 1
filters:
- regex: /season[\s\.]?\d/i # Capture torrent names with the term 'season' in any case
- regex: /saison[\s\.]?\d/i # For non-English namings
- regex: /stagione[\s\.]?\d/i # if there's french, there should be italian too
- regex: /s\d\d/i # Capture common season notations like S01, S02, etc.
- regex: /\btv/i # anything that has TV in it is a TV show, right?
- contains: complete
- contains: seasons
- any_file_inside_regex: /s\d\d/i
- any_file_inside_regex: /\-\s\d\d\s\-/i
- any_file_inside_regex: /episode.?\d{1,4}/i
- any_file_inside_regex: /ep.?.?\d{1,4}/i
# Configuration for movies
movies:
group: media # because movies and shows are in the same group,
group_order: 2 # and shows has a lower group_order number than movies, all torrents that doesn't fall into shows will fall into movies
filters:
- regex: /.*/ # you cannot leave a directory without filters because it will not have any torrents in it
"ALL MY STUFFS":
group: all # notice the group now is "all", which means it will have all the torrents of shows+movies combined because this directory is alone in this group
filters:
- regex: /.*/