KonradIT / gopro-py-api

Unofficial GoPro API Library for Python - connect to GoPro via WiFi.
MIT License
1.39k stars 211 forks source link

Add optional timeout parameter in download requests #146

Closed tasiogr closed 3 years ago

tasiogr commented 4 years ago

Is your feature request related to a problem? Please describe. I can't use the downloadAll method when there is a lot of media in the camera due to a socket timeout.

Describe the solution you'd like Have a parameter in the methods to indicate the desired timeout or an infinite one.

KonradIT commented 3 years ago

You can now specify an optional timeout in the constructor.