Improved video page debug logging

This commit is contained in:
Kevin Fronczak
2018-11-20 21:20:35 -05:00
parent 1e0d069dcd
commit 4b91fcb615
+4 -3
View File
@@ -141,9 +141,10 @@ class BlinkSyncModule():
if not this_page:
break
videos.append(this_page)
_LOGGER.debug("Getting videos from page %s through %s",
start_page,
end_page)
for page in videos:
_LOGGER.debug("Retrieved video page %s", page)
for entry in page:
camera_name = entry['camera_name']
clip_addr = entry['address']
@@ -174,5 +175,5 @@ class BlinkSyncModule():
}
]
self.record_dates = all_dates
_LOGGER.debug("Retrieved a total of %s records".format(len(all_dates)))
return self.videos