Hdhr-disk-space-monitor

Latest version: v2.2.0

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.2.0

Added
- Output for `-l/--list-recordings` and `-r/--list-series` is now table-formatted, rather than comma-separated
- The `min_age_days` configuration setting has been added. Protect new recordings from automatic deletion for a period of time. Recordings less than `min_age_days` days old will be protected as if `protected = yes` were set. This does not apply to recordings that are watched according to the `watched_offset`.
- The `unwatched` option for `rerecord_deleted` configuration setting has been added. When set, only unwatched recordings that are deleted automatically will be set to rerecord.

Fixed
- Improved resilience to network problems

2.1.0

Added
- Configuration file updates are automatically detected and read. A restart is no longer required after the configuration file has been updated.
- Gracefully handle devices that are no longer reachable
- Detect devices added to the network while running
- The `-r/--list-series` option has been added. This will list series along with space used and number of episodes.

Fixed
- If one device is not configured for free space maintenance, subsequent devices might not be maintained, even if configured
- Recording maintenance might not start if settings are only at series level and none are at category level

2.0.0

Added
- Allow configuration of maximum recording age or maximum number of recordings per series at the category or series level. See configuration file example.
- The `-n/--dry-run` option has been added. This will prevent any recordings from being deleted, while the log messages will indicate what would have been deleted and why.
- Source distribution now available on PyPI. Install with `pip install hdhr_disk_space_monitor`.

Changed
- Invocation is no longer via "`hdhr_monitor_disk_space.py`". Assuming installation from the source distribution via pip, invoke as "`hdhr_disk_space_monitor`".
- Device discovery default behavior has changed. Instead of finding and operating on just the first storage device found, now all storage devices found are monitored/maintained. Free space is maintained independently per device. Recordings are maintained across all devices as a whole.
- `-p/--percent-free` no longer defaults to "2". It must be set explicitly, if desired.
- Device labels in output messages now more closely align with how they appear on the device web pages.
- Device discovery no longer makes any use of the hosted API. All traffic is confined to the local network.
- Changed license to GPL2 after reusing some code from [Silicondust](https://github.com/Silicondust/script.hdhomerun.view)

Removed
- The `-m/--mode` argument has been removed. The mode of operation is now implied by other arguments. If `-g/--gigabytes-free` or `-p/--percent-free` are specified, then disk space maintenance is performed. If `max_age_days` or `max_episodes` are set in the configuration file, then recording maintenance is performed.
- The `-d/--device-id` no longer accepts "ALL". The default behavior is now to discover all storage devices.

1.5.0

Added

- Multiple devices can be monitored by a single process. Provide multiple device IDs, IP addresses, or hostnames to monitor specific devices. Use the keyword "ALL" as a device ID to monitor all devices found with a StorageID.

Changed

- In maintain mode, after the requested number of reports (`-c|--count`) has been shown, maintenance will continue to run. This allows a "quiet" maintain mode if the count is set to zero.

1.4.0

Removed

- "priority" has been removed as a delete policy option. This allows RECORD devices to work in maintain mode.

1.3.0

Added

- Specify IP address or hostname instead of device ID
- Support for RECORD devices/installations
- Command-line option (`-V|--version`) to display version number

Changed

- Disk space now displayed in powers of 10 instead of powers of 2 to match what is shown by the devices themselves
- Removed some verbose device discovery messages

Fixed

- Compatibility with recent firmware release

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.