From 6535d921e255704cbc01e7e3c8c7c0f39a6186cd Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 14 Apr 2021 20:41:20 +0000
Subject: [PATCH] Formfelder selectierbar

---
 src/de/uhilger/mediaz/api/StorageHandler.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/de/uhilger/mediaz/api/StorageHandler.java b/src/de/uhilger/mediaz/api/StorageHandler.java
index d12e6c1..b49b219 100644
--- a/src/de/uhilger/mediaz/api/StorageHandler.java
+++ b/src/de/uhilger/mediaz/api/StorageHandler.java
@@ -24,6 +24,7 @@
 import de.uhilger.mediaz.Server;
 import de.uhilger.mediaz.store.FileStorage;
 import de.uhilger.mediaz.entity.Entity;
+import static de.uhilger.mediaz.store.FileStorage.ST_ABLAGEORT;
 import java.io.IOException;
 import java.util.List;
 import java.util.logging.Level;
@@ -86,6 +87,9 @@
         String type = elems[elems.length - 2];
         logger.fine(type);
         list = fs.list(type);
+        if(type.equalsIgnoreCase(ST_ABLAGEORT)) {
+          list.add("Livestreams");
+        }
       } else {
         String type = elems[elems.length - 1];
         logger.fine(type);

--
Gitblit v1.9.3