From 7e1a171923f08e45c50048deb86bace7d90e9032 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Fri, 2 Sep 2022 16:34:26 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index ed074bc8..c3e58369 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ out: ## JSON RPC -The ffplayout engine can run a JSON RPC server. A request show look like: +The ffplayout engine can run a JSON RPC server. A request looks like: ```Bash curl -X POST -H "Content-Type: application/json" -H "Authorization: ---auth-key---" \ @@ -158,7 +158,6 @@ At the moment this comments are possible: '{"jsonrpc": "2.0", "id":4, "method": "player", "params":{"control":"next"}}' # jump to next clip '{"jsonrpc": "2.0", "id":5, "method": "player", "params":{"control":"back"}}' # jump to last clip '{"jsonrpc": "2.0", "id":6, "method": "player", "params":{"control":"reset"}}' # reset playlist to old state - '{"jsonrpc": "2.0", "id":7, "method": "player", "params":{"control":"text", \ "message": {"text": "Hello from ffplayout", "x": "(w-text_w)/2", "y": "(h-text_h)/2", \ "fontsize": 24, "line_spacing": 4, "fontcolor": "#ffffff", "box": 1, \ From 98b7dbc63a8d5ade7c107e0974f3ea554537fc40 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Fri, 2 Sep 2022 16:35:11 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c3e58369..aaa6f23d 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ curl -X POST -H "Content-Type: application/json" -H "Authorization: ---auth-key- 127.0.0.1:7070 ``` -At the moment this comments are possible: +At the moment this commends are possible: ```Bash '{"jsonrpc": "2.0", "id":1, "method": "player", "params":{"media":"current"}}' # get infos about current clip