davglass / doorbot

Ring.com Doorbell API
Other
317 stars 55 forks source link

download_all Issue with _stamp in filename #55

Open vita10gy opened 4 years ago

vita10gy commented 4 years ago

https://github.com/davglass/doorbot/blob/9d7dd5bef304932eb1d809e1e5fc179ee84180d8/examples/download-all.js#L70

if (parts[2].split('_')[0] < oldestFile) { oldestFile = parts[2].split('_')[0]; }

It seems that those lines need changing now as parts[2] isn't just a number, but something like 39489009238490238483_stamp

Hawaiideveloper commented 3 years ago

Yes this is a serial for the base