{ "enable_tasks_processing": true, "tasks_httprequests": [ { "enabled": true, "name": "NR - all", "event": [ "finished", "counting", "capture_still", "capture_video", "captured", "capture", "stop", "start", "init", "capture_multicam" ], "filter_mediaitem_types": [], "delay_before": 0.0, "wait_until_completed": false, "timeout": 5, "url": "http://127.0.0.1:1880/api/photobooth/", "method": "get", "body_parameters_as_json": true, "parameter": [ { "key": "event_key", "value": "{event}", "where": "query" }, { "key": "mediaitem_type", "value": "{mediaitem_type}", "where": "query" }, { "key": "demoparameter", "value": "demoparameter", "where": "query" } ] } ], "tasks_commands": [ { "enabled": false, "name": "demo command", "event": [ "finished" ], "filter_mediaitem_types": [], "delay_before": 0.0, "wait_until_completed": false, "timeout": 5, "command": "echo this echoed on event {event} for mediaitem_type {mediaitem_type}!" } ] }