Skip to content

!snapshot #35

@eric-zenfire

Description

@eric-zenfire

Purpose

Take and temporarily store snapshot images of camera feeds. Return a URL that works for n minutes, prefixed with url from config (to work with frontend external proxies, etc). It must be an optional feature disabled by default. Snapshots previously taken should still be cleaned up if the feature is disabled... and serving images not just taking them must obey the current config.

Perhaps, configuration must enable and disable this feature per-camera? Also, per-irc? Not sure. Should there be a throttle for max snapshots per time period, and if so should it be independent per camera?

Storage

Not sure. Perhaps a directory in the config to store images in temporarily. In memory, perhaps - wouldn't survive restarts, though.

Usage

!snapshot <cameraname>

If cameraname is not supplied and there is only one camera, use that camera. If cameraname is not supplied and there is more than one camera enabled for the feature, offer a list of available cameras. If camera does not exist, return relevant error. If camera exists but does not permit snapshots, return relevant error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions