⚠️ Currently supports only Inspector DVRs
- Getting drive root by its letter
- Deleting all files inside EVENT folder
- Downloading and unpacking most recent DB update
pip install dvr-tools
There are some informational messages by default. To increase logging verbosity, add --debug
argument.
Example: python3 dvr.py --debug
pytest
tests are supported.
Use python -m pytest tests
, for example.
One can also see test coverage by installing pytest-cov
module and running python -m pytest tests --doctest-modules --junitxml=test-results.xml --cov=tests --cov-report=xml --cov-report=html
which will output test and coverage results as HTML and XML files.
Usage: dvr.py [OPTIONS] COMMAND [ARGS]...
Command-line interface of DVR Tools
Options:
--debug
--help Show this message and exit.
Commands:
delete Delete event files
update Download and extract DB