From 3d7b0ad4f36c85d301107b2c54bccc8c621fc4b5 Mon Sep 17 00:00:00 2001 From: bobokun Date: Sun, 6 Oct 2024 11:58:09 -0400 Subject: [PATCH] 4.1.11 --- CHANGELOG | 13 ++++++++++--- VERSION | 2 +- docs/Commands.md | 4 +++- docs/Config-Setup.md | 2 ++ 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 88af256a..92685d98 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,11 @@ -# Requirements Updated -- qbittorrent-api==2024.9.67 +# New Updates +- Adds new config option `disable_qbt_default_share_limits` to allow qbit_manage to handle share limits and disable qbittorrent's default share limits +- Adds new config option `max_orphaned_files_to_delete` to set default safeguards against mass deletion when running remove orphaned. +- Adds new environment variables `QBT_LOG_SIZE` and `QBT_LOG_COUNT` to customize log retention (Closes #656) -**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.1.9...v4.1.10 +# Bug Fixes +- Truncates Recyclebin JSON filename when its too long. (Closes #604) +- Uses Qbittorrent's torrent export to save .torrent files for qbittorrent version > 4.5.0 (Closes #650) +- Include orphaned files and recycle bin in the list of folders to ignore when looking for noHL (Closes #660) + +**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.1.10...v4.1.11 diff --git a/VERSION b/VERSION index e81ee509..152e4522 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.1.11-develop8 +4.1.11 diff --git a/docs/Commands.md b/docs/Commands.md index 91ded497..53a8a385 100644 --- a/docs/Commands.md +++ b/docs/Commands.md @@ -18,7 +18,9 @@ | `-sl` or `--share-limits` | QBT_SHARE_LIMITS | share_limits | Control how torrent share limits are set depending on the priority of your grouping. Each torrent will be matched with the share limit group with the highest priority that meets the group filter criteria. Each torrent can only be matched with one share limit group. | False | | `-sc` or `--skip-cleanup` | QBT_SKIP_CLEANUP | skip_cleanup | Use this to skip emptying the Recycle Bin folder (`/root_dir/.RecycleBin`) and Orphaned directory. (`/root_dir/orphaned_data`) | False | | `-dr` or `--dry-run` | QBT_DRY_RUN | dry_run | If you would like to see what is gonna happen but not actually move/delete or tag/categorize anything. | False | -| `-ll` or `--log-level LOGLEVEL` | QBT_LOG_LEVEL | N/A | Change the output log level. | INFO | +| `-ll` or `--log-level` | QBT_LOG_LEVEL | N/A | Change the output log level. | INFO | +| `-ls` or `--log-size` | QBT_LOG_SIZE | N/A | Maximum log size per file (in MB) | 10 | +| `-lc` or `--log-count` | QBT_LOG_COUNT | N/A | Maximum number of logs to keep | 5 | | `--debug` | QBT_DEBUG | N/A | Adds debug logs | False | | `--trace` | QBT_TRACE | N/A | Adds trace logs | False | | `-d` or `--divider` | QBT_DIVIDER | N/A | Character that divides the sections (Default: '=') | = | diff --git a/docs/Config-Setup.md b/docs/Config-Setup.md index e7f2703f..ea35b67d 100644 --- a/docs/Config-Setup.md +++ b/docs/Config-Setup.md @@ -58,6 +58,7 @@ This section defines any settings defined in the configuration. | `share_limits_filter_completed` | When running `--share-limits` function, it will filter for completed torrents only. | True |
| | `tag_nohardlinks_filter_completed` | When running `--tag-nohardlinks` function, , it will filter for completed torrents only. | True |
| | `cat_update_all` | When running `--cat-update` function, it will check and update all torrents categories, otherwise it will only update uncategorized torrents. | True |
| +| `disable_qbt_default_share_limits` | When running `--share-limits` function, it allows QBM to handle share limits by disabling qBittorrents default Share limits. | True |
| ## **directory:** --- @@ -198,6 +199,7 @@ This is handy when you have automatically generated files that certain OSs decid | :------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ | :------------- | :----------------- | | `empty_after_x_days` | Will delete Orphaned data contents if the files have been in the Orphaned data for more than x days. (Uses date modified to track the time) | None |
| | `exclude_patterns` | List of [patterns](https://commandbox.ortusbooks.com/usage/parameters/globbing-patterns) to exclude certain files from orphaned | None |
| +| `max_orphaned_files_to_delete` | This will help reduce the number of accidental large amount orphaned deletions in a single run. Set your desired threshold for the maximum number of orphaned files qbm will delete in a single run. (-1 to disable safeguards) | 50 |
| > Note: The more time you place for the `empty_after_x_days:` variable the better, allowing you more time to catch any mistakes by the script. If the variable is set to `0` it will delete contents immediately after every script run. If the variable is not set it will never delete the contents of the Orphaned Data. ## **apprise:**