diff --git a/main.py b/main.py index 9978289..1b5b7ef 100644 --- a/main.py +++ b/main.py @@ -115,6 +115,9 @@ def handle_ipc_client(conn, state): state.seek_request = float(val) else: resp["error"] = "property not found" + elif cmd[0] == "quit": + with state.lock: + state.running = False else: resp["error"] = "unknown command"