From b56bb3e0be136a9465589df74dd443b2bc063f90 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Fri, 09 Apr 2021 17:22:54 +0000
Subject: [PATCH] Abspielen in Arbeit

---
 src/de/uhilger/mediaz/Server.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/de/uhilger/mediaz/Server.java b/src/de/uhilger/mediaz/Server.java
index 69228eb..f662f2f 100644
--- a/src/de/uhilger/mediaz/Server.java
+++ b/src/de/uhilger/mediaz/Server.java
@@ -21,6 +21,7 @@
 import de.uhilger.mediaz.api.FileHandler;
 import de.uhilger.mediaz.api.ListFileHandler;
 import de.uhilger.mediaz.api.ListHandler;
+import de.uhilger.mediaz.api.MediaSteuerung;
 import de.uhilger.mediaz.api.StopServerHandler;
 import de.uhilger.mediaz.api.StorageHandler;
 import de.uhilger.mediaz.store.FileStorage;
@@ -49,6 +50,7 @@
   public static final String RB_SERVER_START_MSG = "msgServerStart";
   public static final String RB_WEBROOT = "webroot";
   public static final String RB_STORE = "store";
+  public static final String RB_STRG = "strg";
   public static final String RB_ALIST= "alist";
   //public static final String RB_UI_ROOT = "uiroot";
   public static final String RB_STOP_SERVER = "stopServer";
@@ -111,6 +113,7 @@
     server.createContext(ctx + App.getRs(RB_WEBROOT), new FileHandler(wwwDir.getAbsolutePath()));
     ablageorteEinklinken(server);
     server.createContext(ctx + App.getRs(RB_STORE), new StorageHandler());
+    server.createContext(ctx + App.getRs(RB_STRG), new MediaSteuerung());
     server.createContext(ctx + App.getRs(RB_ALIST), new ListHandler());
     server.createContext(ctx + App.getRs(RB_STOP_SERVER), new StopServerHandler());
     server.setExecutor(Executors.newFixedThreadPool(20));

--
Gitblit v1.9.3