From 03b95f100b605458e5bf2995e955882d9aa51868 Mon Sep 17 00:00:00 2001 From: undisclosed Date: Mon, 23 Jan 2023 13:28:17 +0000 Subject: [PATCH] URL in m3u berichtigt --- src/de/uhilger/tango/api/GeraetSteuerung.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/de/uhilger/tango/api/GeraetSteuerung.java b/src/de/uhilger/tango/api/GeraetSteuerung.java index 3b9a65a..f5bc27a 100644 --- a/src/de/uhilger/tango/api/GeraetSteuerung.java +++ b/src/de/uhilger/tango/api/GeraetSteuerung.java @@ -48,12 +48,18 @@ public static final String KMD_AUS = "aus"; public static final String KMD_STATUS = "status"; + private String conf; + + public GeraetSteuerung(String conf) { + this.conf = conf; + } + @Override protected String get(HttpExchange e) { String response; String path = e.getRequestURI().toString(); String[] elems = path.split(Server.SLASH); - FileStorage fs = new FileStorage(App.getInitParameter(App.getRs(App.RB_AP_CONF))); + FileStorage fs = new FileStorage(conf); logger.fine(path); String geraetName = elems[5]; -- Gitblit v1.9.3