ZoneMinder / pyzm

Python API, Log, Event Server and Memory wrapper for ZoneMinder
GNU General Public License v2.0
31 stars 20 forks source link

Documentation enhancement: AUTH_HASH_LOGINS must be enabled for file downloads #11

Closed inactivist closed 3 years ago

inactivist commented 3 years ago

This may seem obvious to some, but you must enable AUTH_HASH_LOGINS option in order to use Event.download_image and Event.download_video, at least on ZM version 1.32.3 version I'm using.

ZM returns a login page, and ZMapi._relogin() has no effect, so the download attempt fails.

I haven't tested on newer ZM releases. I will when I have time.

pliablepixels commented 3 years ago

done