add support for dvr in new 4.0 version