pi_portal.commands.cron_videos

CLI command to archive all recorded videos.

class pi_portal.commands.cron_videos.CronVideosCommand[source]

CLI command to archive all recorded videos.

invoke()[source]

Invoke the command.

Return type:

None

load_state(debug, file_path='/opt/venvs/pi-portal/config.json')

Load and configure state.

Parameters:
  • debug (bool) – Enable or disable debug logs.

  • file_path (str, default: '/opt/venvs/pi-portal/config.json') – The path to the file to load.

Return type:

None