stolen commiting dvr.py