From 15ed25a13d5f8340dfecef50d23173aef45af125 Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 31 Mar 2021 19:34:01 +0000 Subject: [PATCH] OMXPlayer Log (in Arbeit) --- src/de/uhilger/avdirektor/Server.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/de/uhilger/avdirektor/Server.java b/src/de/uhilger/avdirektor/Server.java index e768c81..fd02b99 100644 --- a/src/de/uhilger/avdirektor/Server.java +++ b/src/de/uhilger/avdirektor/Server.java @@ -21,6 +21,7 @@ import com.sun.net.httpserver.HttpServer; import de.uhilger.avdirektor.handler.CmdHandler; import de.uhilger.avdirektor.handler.FileHandler; +import de.uhilger.avdirektor.handler.LogHandler; import de.uhilger.avdirektor.handler.OMXPlayer; import de.uhilger.avdirektor.handler.PingHandler; import de.uhilger.avdirektor.handler.PlayHandler; @@ -61,6 +62,7 @@ server.createContext("/avd/pause", new CmdHandler(OMXPlayer.CMD_PAUSE_RESUME)); server.createContext("/avd/ping", new PingHandler(OMXPlayer.F_PING)); server.createContext("/avd/server/stop", new StopServerHandler()); + server.createContext("/avd/log", new LogHandler()); server.createContext("/avd/ui", new FileHandler(App.getInitParameter(App.IP_WWW_DATA))); //server.setExecutor(null); // creates a default executor server.setExecutor(Executors.newFixedThreadPool(20)); -- Gitblit v1.9.3