From 43d323fa088153082a33966b19d81e9169cc7bf2 Mon Sep 17 00:00:00 2001
From: undisclosed
Date: Sat, 21 Jan 2023 16:25:28 +0000
Subject: [PATCH] Experimentell: m3u
---
src/de/uhilger/tango/Server.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/de/uhilger/tango/Server.java b/src/de/uhilger/tango/Server.java
index 88be4db..d5d445a 100644
--- a/src/de/uhilger/tango/Server.java
+++ b/src/de/uhilger/tango/Server.java
@@ -25,6 +25,7 @@
import de.uhilger.tango.api.MediaSteuerung;
import de.uhilger.tango.api.StopServerHandler;
import de.uhilger.tango.api.StorageHandler;
+import de.uhilger.tango.api.StreamHandler;
import de.uhilger.tango.store.FileStorage;
import de.uhilger.tango.entity.Ablageort;
import java.io.File;
@@ -54,7 +55,8 @@
public static final String RB_STORE = "store";
public static final String RB_STRG = "strg";
public static final String RB_GSTRG = "gstrg";
- public static final String RB_ALIST= "alist";
+ public static final String RB_ALIST = "alist";
+ public static final String RB_STRM = "strm";
//public static final String RB_UI_ROOT = "uiroot";
public static final String RB_STOP_SERVER = "stopServer";
//public static final String RB_ABLAGE_TEST = "testAblage";
@@ -121,6 +123,7 @@
server.createContext(ctx + rb.getString(RB_STRG), new MediaSteuerung(conf));
server.createContext(ctx + rb.getString(RB_GSTRG), new GeraetSteuerung(conf));
server.createContext(ctx + rb.getString(RB_ALIST), new ListHandler(conf));
+ server.createContext(ctx + rb.getString(RB_STRM), new StreamHandler(conf));
server.createContext(ctx + rb.getString(RB_STOP_SERVER), new StopServerHandler());
//server.setExecutor(Executors.newFixedThreadPool(20));
server.setExecutor(Executors.newFixedThreadPool(5));
--
Gitblit v1.9.3