ChangeCycleBase

class ChangeCycleBase[source]

Bases: object

Base class for operations performed during the day/night cycle change.

This class handles cleanup tasks such as deleting old video files and ensuring disk space is managed, potentially backing up data before deletion.

__init__() None[source]

Initializes the ChangeCycleBase instance with settings.

Methods

__init__()

Initializes the ChangeCycleBase instance with settings.

run()

Executes the cycle change logic, primarily old data removal.

run() None[source]

Executes the cycle change logic, primarily old data removal.

Calls the safe_removal_script to delete old videos, optionally backing them up locally or to a remote server based on settings.