Merge pull request #15 from jryd/issue-9
Comment out batch deleting videos; resolves #9
This commit is contained in:
commit
fb11dcb297
12
README.md
12
README.md
@ -112,15 +112,19 @@ func main() {
|
|||||||
// Wait here until all of the go routines are done.
|
// Wait here until all of the go routines are done.
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
|
|
||||||
// Delete all of the videos you just downloaded from the Arlo library.
|
|
||||||
|
// 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.
|
// 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)
|
log.Println(err)
|
||||||
return
|
return
|
||||||
}
|
} */
|
||||||
|
|
||||||
// If we made it here without an exception, then the videos were successfully deleted.
|
// 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