From d027b57c66dcdb183683c34101518df1572c1bf8 Mon Sep 17 00:00:00 2001 From: ulrich Date: Mon, 12 Apr 2021 16:53:30 +0000 Subject: [PATCH] Livestreams erste Fassung fertig --- 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