Closed t-yrka closed 4 months ago
recordings = t.getRecordings("20240610")
t.getRecordings("20240611")
You need to ensure the date is the same.
recordings = t.getRecordings("20240610") t.getRecordings("20240611")
You need to ensure the date is the same.
But it does not make any sense. The second getRecordings
should NOT impact the downloader. I'm not using anything it returned.
Oh I see, sorry I missed that.
The script is intended to be used just for a one date, it tells the camera in the background which date it needs to start the stream off of.
Oh I see, sorry I missed that.
The script is intended to be used just for a one date, it tells the camera in the background which date it needs to start the stream off of.
I'm not using the script - I was hoping to use the Tapo
and the Downloader
classes directly. It's really weird some calls may affect the behavior of others in such a way. You call the Downloader
to get the video for timestamp X and you may get something completely different without any info/warning.
I'm not sure if the camera or the library causes this behavior. It seems like it cannot download a video outside of the day it was searching last time.
I'm using
pytapo
in versionpytapo==3.3.21
with camera model C310 (1.3.9).How to reproduce:
start_time
points to the correct video timestamp, but as a result, a video from2024.06.11
is downloaded instead. Removing the linet.getRecordings("20240611")
makes the issue disappear. When the secondgetRecordings
refers to an older date then the download fails to get anything.Is it a bug, or a known behavior?