Skip to content

Commit

Permalink
set webcontrol_parms motion option to 2 (enables motion HTTP API)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrisan committed Feb 6, 2018
1 parent aef6801 commit 197c848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions motioneye/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1932,6 +1932,7 @@ def _set_default_motion(data, old_config_format):
data.setdefault('webcontrol_port', settings.MOTION_CONTROL_PORT)
data.setdefault('webcontrol_html_output', True)
data.setdefault('webcontrol_localhost', settings.MOTION_CONTROL_LOCALHOST)
data.setdefault('webcontrol_parms', 2) # the advanced list of parameters will be available


def _set_default_motion_camera(camera_id, data):
Expand Down

0 comments on commit 197c848

Please sign in to comment.