Skip to content

CommanderCRM/DVR_Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DVR_Tools

⚠️ Currently supports only Inspector DVRs

  • Getting drive root by its letter
  • Deleting all files inside EVENT folder
  • Downloading and unpacking most recent DB update

Python package

pip install dvr-tools

Logging

There are some informational messages by default. To increase logging verbosity, add --debug argument. Example: python3 dvr.py --debug

Testing

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.

Help

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

About

Tools for DVR SD card management

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages