Commit graph

322 commits

Author SHA1 Message Date
buthed010203 dfbb1c6c5d
Allow defining multiple announce urls for one tracker 2023-06-09 17:11:50 -04:00
bobokun 148a1a2176
increase log size and backup count 2023-06-05 22:38:05 -04:00
bobokun 0a85c8c5d4
better trace logging in share_limits 2023-06-05 16:40:46 -04:00
bobokun 9572f68e4b
fixes bug in group notifications
adds trace logs for share limits
2023-06-05 15:27:49 -04:00
bobokun 24eb05bd89
adjust skip_qb_version_check to not notify if true 2023-06-05 10:36:43 -04:00
bobokun dbf8b6a87f
fixes bug in webhooks 2023-06-04 16:42:01 -04:00
bobokun 44f69c7e55
updates remove_unreg to use group notifications 2023-06-04 16:10:36 -04:00
bobokun bde5edfec8
adds tag_nohl to use group notifications 2023-06-04 15:33:27 -04:00
bobokun f56c1e3220
adds recheck to use group notifications 2023-06-04 15:13:31 -04:00
bobokun 3f42ee5262
updates cross seed to use group notifiactions 2023-06-04 14:32:52 -04:00
bobokun 99eebb7c10
Updated run_end stats to include share limits 2023-06-04 10:31:06 -04:00
bobokun 40eea41a29
fix cleanup bug 2023-06-04 07:44:17 -04:00
bobokun 38c8ab9c11
refactor webhook to group notifications 2023-06-03 23:24:56 -04:00
bobokun 2ce622f6b9
minor fixes 2023-06-03 20:43:42 -04:00
bobokun b00c69a33e
rename torrent_name to torrents for notifications 2023-06-03 20:14:10 -04:00
bobokun c013ff755b
updates categories to use group notifications 2023-06-03 20:03:38 -04:00
bobokun e936e4526f
updates tags to use group notifications 2023-06-03 19:38:41 -04:00
bobokun b5384dc915
adds notification grouping to share_limits 2023-06-02 20:40:05 -04:00
bobokun 9cd3949362
fixes share limits bug
- Fixes rounding issue with upload limit
- Check cleanup on every run
- Don't send notification when no updates being made
- Fix torrent removing grouping tag when tag changes
2023-06-01 19:54:33 -04:00
bobokun cf3cfc4470
Updates include/exclude tags to be more flexible 2023-05-31 17:01:40 -04:00
bobokun 8e842761fc
fix minor bug in nohardlink config 2023-05-30 23:01:18 -04:00
bobokun 58ecbcfe2e
update nohardlinks config 2023-05-30 22:38:46 -04:00
bobokun 580351f6d5
Adds rate limit to Notifiarr 2023-05-30 21:42:57 -04:00
bobokun fbf9cb59e9
Adds new command share_limits to update share limits based on tags/categories specified per group
(Closes #88, Closes #306, Closes #259, Closes #308, Closes #137)
2023-05-30 21:26:54 -04:00
bobokun 7176e7d3c8
updates docstring for check_for_attribute 2023-05-28 18:00:38 -04:00
bobokun 6ec6cff115
fixes trace logging 2023-05-28 16:49:21 -04:00
pre-commit-ci[bot] 285b4afbb9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-27 00:28:01 +00:00
ftc2 8c0b7c6a2b FEAT: bypass qBittorrent version check
add feature `--skip-qb-version-check` (`QBT_SKIP_QB_VERSION_CHECK`).
allows running qbit_manage on unsupported versions of qBittorrent/libtorrent.

this is hidden/suppressed for now in argparse to reduce support burden.
2023-05-26 19:17:45 -05:00
bobokun d2f81e2694
Fixes #302 2023-05-26 16:20:33 -04:00
buthed010203 2fd5701922
Make remove_orphaned even faster
This is not an addiction I swear
2023-05-23 10:12:51 -04:00
buthed010203 02baffd29b
Cleanup imports 2023-05-23 09:18:18 -04:00
buthed010203 afd2e64dd9
Fix update_orphaned empty directory removal
As this no longer uses a starmap, the second argument wasn't being passed in correctly.
2023-05-23 09:15:11 -04:00
bobokun 27a04c5634
More info on versions 2023-05-22 21:29:31 -04:00
bobokun 99a7984693
use logging in torrent_hash_generator 2023-05-22 16:16:38 -04:00
bobokun 9684bf3e38
Fixes #201, Fixes #279 2023-05-22 15:51:19 -04:00
bobokun f8a6b1d5a4
Uses threading instead of multiprocessing
Fixes #275
2023-05-22 10:43:31 -04:00
bobokun 4e02ee4e91
updates logging 2023-05-22 10:08:08 -04:00
bobokun 0cc01976b1
Fixes #292 2023-05-20 16:23:28 -04:00
buthed010203 2c24abbcdf
Remove redundant code 2023-05-20 12:03:31 -04:00
pre-commit-ci[bot] e295bdbf46 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-20 16:02:06 +00:00
buthed010203 e817472ccd
Potential fix for windows crashing on RemoveOrphaned 2023-05-20 12:00:38 -04:00
bobokun 6ddeca80d4
typo 2023-05-20 11:38:43 -04:00
bobokun 4e234de7f6
Default skip symlinks in noHL 2023-05-20 11:35:27 -04:00
bobokun e07c3e417b
return False by default when there are permission issues
in noHL
2023-05-20 11:19:30 -04:00
bobokun 07b7350b60
add additional tracing for noHL 2023-05-20 07:36:37 -04:00
bobokun 1ed99aeb3e
Changes HardLink Detection logic (fixes #291) 2023-05-19 21:52:06 -04:00
bobokun 1382037dc8
Merge branch 'develop' into patch-1 2023-05-18 20:49:32 -04:00
buthed010203 2e69011708
Merge branch 'develop' into patch-2 2023-05-18 14:45:55 -04:00
buthed010203 8448939b3c
Merge branch 'develop' into patch-1 2023-05-18 14:45:35 -04:00
buthed010203 cc723d529d
Fix crash in cross-seed module 2023-05-18 14:15:54 -04:00
buthed010203 294292eb58
Fix remove_empty_directories crashing when run in parallel 2023-05-18 14:04:17 -04:00
bobokun 3a8bdf526f
Additional error checking to fix #282 2023-05-06 09:37:11 -04:00
bobokun 79cc4fd133
Fixes #271 2023-04-23 13:27:40 -04:00
bobokun 9e954c943b
additional trace logging and error checking to
fix #272
2023-04-23 13:06:14 -04:00
bobokun 706821f916
better logging for #271 2023-04-22 17:06:07 -04:00
bobokun 538dd61f89
removes old deprecated tags config 2023-04-22 15:57:56 -04:00
bobokun c64ec410da
Fixes #270 2023-04-22 15:40:49 -04:00
pre-commit-ci[bot] 63ce99d7e2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-21 17:52:24 +00:00
buthed010203 ce044c9eab
Apply suggestions from code review (again)
Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com>
2023-04-21 13:52:17 -04:00
pre-commit-ci[bot] 16c7e944bf [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-21 17:44:55 +00:00
buthed010203 880d37700e
Apply suggestions from code review
Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com>
2023-04-21 13:44:42 -04:00
buthed010203 d2f22b3370
Update prints 2023-04-17 17:15:37 -04:00
pre-commit-ci[bot] 8d8e171b81 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-17 21:08:38 +00:00
buthed010203 a113179e48
Fixed remove_orphans being slow and not removing empty directories 2023-04-17 16:58:28 -04:00
bobokun c0467bf4ab
use new qbitorrent api tracker status for
removing unregistered torrents instead of my own
2023-04-11 20:42:33 -04:00
bobokun af9238a758
more fixes 2023-04-11 11:23:23 -04:00
bobokun 8e1cd6406a
bug fixes 2023-04-11 07:20:50 -04:00
bobokun 04134d3c0a
more refactoring 2023-04-10 20:50:55 -04:00
bobokun 89d9188d9d
refactor remove_orphaned 2023-04-10 16:44:51 -04:00
bobokun 5cfb0cd4b3
refactor nohardlinks 2023-04-10 16:30:57 -04:00
bobokun 3c1410f8af
refactor recheck 2023-04-10 15:11:03 -04:00
bobokun f0b3ecd4e9
refactor cross_seed 2023-04-10 14:57:26 -04:00
bobokun 5935b5448d
refactor remove_unregistered 2023-04-10 14:55:14 -04:00
bobokun bece9526e3
refactor category and tags 2023-04-10 11:52:51 -04:00
bobokun fab58de5a2
Fixes #258 2023-04-09 20:51:13 -04:00
bobokun 7b8aa3b015
Fixes #260 2023-04-09 15:37:23 -04:00
pre-commit-ci[bot] 6796e989d9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-05 07:36:04 +00:00
bakerboy448 acc02e80cd
fixup! 2023-04-05 02:35:54 -05:00
pre-commit-ci[bot] 23ab49081a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-05 07:34:53 +00:00
bakerboy448 d053a66816
(fix) actually finally fix no hardlink seed/ 2023-04-05 02:34:34 -05:00
bakerboy448 43aebb7e32
Fixup! 2023-04-04 21:49:09 -05:00
Bakerboy448 32f2da75c9 (fix) qbit nohardlinks ratio/seed time if tracker not set
(fix) not falling back to default for nohardlinks goals if not set

Fixes #255
2023-04-04 17:23:30 -05:00
bobokun 806ff7ef11
bug fix beyondHD 2023-04-01 13:12:03 -04:00
bobokun d1c26fffa6
adds support for custom noHL tag #210 2023-04-01 11:25:01 -04:00
Bakerboy448 0c8bbd856c simplfy webhook logic & improve logging 2023-03-31 18:33:08 -05:00
Bakerboy448 6347d81387 fixup! refactor webhooks request & add 2s delay 2023-03-31 18:04:37 -05:00
Bakerboy448 c08665c640 fixup! refactor webhooks request & add 2s delay 2023-03-31 17:59:15 -05:00
Bakerboy448 60fff1f13d refactor webhooks request & add 2s delay 2023-03-31 17:35:43 -05:00
Bakerboy448 b352a99d4b lint cleanup
- pylint and misc variable/naming cleanup
- add docstrings
- fix typos
2023-03-31 17:35:43 -05:00
bobokun 382a9af45f
assign share limits before tagging nohl 2023-03-31 17:40:23 -04:00
Bakerboy448 69ed042c68 fixup! qbit module 2023-03-31 12:35:38 -05:00
Bakerboy448 e21d3d0e81 fixup! qbit module 2023-03-31 12:32:31 -05:00
Bakerboy448 a342f68f21 (new) Change NoHardLinks Logic to use Tracker Max Ratio and Max Seed Time if larger than noHL
(fix) Use Tracker Max Ratio / Seed Time for noHL

Fixes #218
Fxies #229
2023-03-31 12:03:17 -05:00
Bakerboy448 44d21d0c65 qbit module
- pylint and misc variable/naming cleanup
- add docstrings
2023-03-31 11:42:58 -05:00
Jacob McSwain c91f9bd751
Fix wrapped JSON Decode error from requests
Also squashes the following:

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
2023-03-29 13:38:35 -05:00
bobokun 484690ffff
Merge pull request #205 from garypiner/unmeet-torrents-deleted
NoHL torrents been removed when criteria not met
2023-02-28 19:22:56 -05:00
garypiner 31aee16b1c NoHL torrents been removed when criteria not met 2023-01-05 17:04:39 +00:00
bobokun 358e871c6c
fixes bug in nohardlink 2022-12-20 19:09:05 -05:00
bobokun c73479cc7c
resolve merge conflict 2022-12-19 19:15:20 -05:00
bobokun fd18d54783
Merge branch 'master' of https://github.com/StuffAnThings/qbit_manage into develop
* 'master' of https://github.com/StuffAnThings/qbit_manage:
  [pre-commit.ci] pre-commit autoupdate
  send notification on nohardlink warning and remove force failure
  3.4.2
  Fixes #196
  refactor noHL
  better logging for FileNotFoundError
  removes alive-progress dependency  causing issues with rolling logs found. Once this is fixed then it can be implemented again https://github.com/rsalmei/alive-progress/issues/104
  better error handling for noHL
  fixes noHL bug with remote not being replaced
  better trace for nohardlink
  better error checking in commands
  minor bug fix in torrent tagging
  bug fix on prev refactor
  bit a refactoring
  Fixes #192 Fixes noHL logic with false negatives not being caught with small files.
  3.4.1
2022-12-19 17:13:52 -05:00