Merge pull request #15 from jryd/issue-9
Comment out batch deleting videos; resolves #9
This commit is contained in:
commit
fb11dcb297
10
README.md
10
README.md
@ -112,15 +112,19 @@ func main() {
|
||||
// Wait here until all of the go routines are done.
|
||||
wg.Wait()
|
||||
|
||||
|
||||
// The below example demonstrates how you could delete the cloud recordings after downloading them.
|
||||
// Simply uncomment the below code to start using it.
|
||||
|
||||
// Delete all of the videos you just downloaded from the Arlo library.
|
||||
// Notice that you can pass the "library" object we got back from the GetLibrary() call.
|
||||
if err := arlo.BatchDeleteRecordings(library); err != nil {
|
||||
/* if err := arlo.BatchDeleteRecordings(library); err != nil {
|
||||
log.Println(err)
|
||||
return
|
||||
}
|
||||
} */
|
||||
|
||||
// If we made it here without an exception, then the videos were successfully deleted.
|
||||
log.Println("Batch deletion of videos completed successfully.")
|
||||
/* log.Println("Batch deletion of videos completed successfully.") */
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user