Merge pull request #32 from StuffAnThings/master

Update to latest Master
This commit is contained in:
bobokun 2021-11-09 14:16:26 -05:00 committed by GitHub
commit 62a791d00b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 23 deletions

View file

@ -61,7 +61,7 @@ chmod +x qbit_manage.py
wget -O requirements.txt 'https://raw.githubusercontent.com/StuffAnThings/qbit_manage/master/requirements.txt' wget -O requirements.txt 'https://raw.githubusercontent.com/StuffAnThings/qbit_manage/master/requirements.txt'
pip install -r requirements.txt pip install -r requirements.txt
wget -O config.yml.sample 'https://raw.githubusercontent.com/StuffAnThings/qbit_manage/master/config.yml.sample' wget -O config.yml.sample 'https://raw.githubusercontent.com/StuffAnThings/qbit_manage/master/config.yml.sample'
dff -ui config.yml config.yml.sample diff -ui config.yml config.yml.sample
``` ```
#### Other Local Installation #### Other Local Installation

View file

@ -1,40 +1,43 @@
# qBittorrent parameters # qBittorrent parameters
qbt: qbt:
host: 'localhost:8080' host: "localhost:8080"
user: 'username' user: "username"
pass: 'password' pass: "password"
directory: directory:
# Do not remove these # Do not remove these
# Cross-seed var: </your/path/here/> #Output directory of cross-seed # Cross-seed var: </your/path/here/> #Output directory of cross-seed
# root_dir var: </your/path/here/> #Root downloads directory used to check for orphaned files # root_dir var: </your/path/here/> #Root downloads directory used to check for orphaned files
# <OPTIONAL> remote_dir var: </your/path/here/> # Path of docker host mapping of root_dir # <OPTIONAL> remote_dir var: </your/path/here/> # Path of docker host mapping of root_dir
cross_seed: '/your/path/here/' cross_seed: "/your/path/here/"
root_dir: '/data/torrents/' root_dir: "/data/torrents/"
remote_dir: '/mnt/user/data/torrents/' remote_dir: "/mnt/user/data/torrents/"
# Category/Pathing Parameters # Category/Pathing Parameters
cat: cat:
# <Category Name> : <save_path> #Path of your save directory. Can be a keyword or full path # <Category Name> : <save_path> #Path of your save directory. Can be a keyword or full path
movies: '/data/torrents/Movies' movies: "/data/torrents/Movies"
tv: 'TV' tv: "TV"
# Tag Parameters # Tag Parameters
tags: tags:
# <Tracker URL Keyword>: <Tag Name> # <Tracker URL Keyword>: <Tag Name>
beyond-hd: Beyond-HD
privatehd: PrivateHD
animebytes.tv: AnimeBytes animebytes.tv: AnimeBytes
avistaz: Avistaz avistaz: Avistaz
landof.tv: BroadcasTheNet beyond-hd: Beyond-HD
passthepopcorn: PassThePopcorn
torrentleech: TorrentLeech
tleechreload: TorrentLeech
gazellegames: GGn
blutopia: Blutopia blutopia: Blutopia
hdts: HDTorrents
tv-vault: TV-Vault
cartoonchaos: CartoonChaos cartoonchaos: CartoonChaos
digitalcore: DigitalCore
gazellegames: GGn
hdts: HDTorrents
landof.tv: BroadcasTheNet
myanonamouse: MaM
passthepopcorn: PassThePopcorn
privatehd: PrivateHD
tleechreload: TorrentLeech
torrentdb: TorrentDB
torrentleech: TorrentLeech
tv-vault: TV-Vault
#Tag Movies/Series that are not hard linked #Tag Movies/Series that are not hard linked
nohardlinks: nohardlinks:
@ -45,6 +48,7 @@ nohardlinks:
exclude_tags: exclude_tags:
- Beyond-HD - Beyond-HD
- AnimeBytes - AnimeBytes
- MaM
#<OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag #<OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false cleanup: false
#<OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading #<OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading

View file

@ -387,7 +387,8 @@ def rem_unregistered():
pot_unr += (f'\n - Torrent: {torrent.name}') pot_unr += (f'\n - Torrent: {torrent.name}')
pot_unr += (f'\n - Message: {x.msg}') pot_unr += (f'\n - Message: {x.msg}')
if ('UNREGISTERED' in msg_up or \ if ('UNREGISTERED' in msg_up or \
'NOT FOUND' in msg_up or \ 'TORRENT NOT FOUND' in msg_up or \
'TORRENT IS NOT FOUND' in msg_up or \
'NOT REGISTERED' in msg_up or \ 'NOT REGISTERED' in msg_up or \
'HTTPS://BEYOND-HD.ME/TORRENTS' in msg_up or \ 'HTTPS://BEYOND-HD.ME/TORRENTS' in msg_up or \
'NOT EXIST' in msg_up or \ 'NOT EXIST' in msg_up or \