From 392dc977ae7d13188f07db1d6d865a964bb96858 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 11 May 2022 08:29:19 +0000
Subject: [PATCH] Lautstaerkeregelung hinzugefuegt

---
 src/de/uhilger/tango/api/ListFileHandler.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/de/uhilger/tango/api/ListFileHandler.java b/src/de/uhilger/tango/api/ListFileHandler.java
index 12c44db..2a3b45c 100644
--- a/src/de/uhilger/tango/api/ListFileHandler.java
+++ b/src/de/uhilger/tango/api/ListFileHandler.java
@@ -48,6 +48,10 @@
  */
 public class ListFileHandler extends FileHandler {
   
+  public static final String RB_AUDIOEXTS = "audioexts";
+  public static final String RB_VIDEOEXTS = "videoexts";
+  public static final String RB_FOTOEXTS = "imageexts";
+  
   /* Der Logger fuer diesen ListFileHandler */
   private static final Logger logger = Logger.getLogger(ListFileHandler.class.getName());
   
@@ -69,8 +73,9 @@
       z.B. "mp4,m4v"
     */
     FileStorage fs = new FileStorage(conf);
-    initMap(fs, getResString(App.RB_AUDIOEXTS), StorageFile.TYP_AUDIO);
-    initMap(fs, getResString(App.RB_VIDEOEXTS), StorageFile.TYP_VIDEO);
+    initMap(fs, getResString(RB_AUDIOEXTS), StorageFile.TYP_AUDIO);
+    initMap(fs, getResString(RB_VIDEOEXTS), StorageFile.TYP_VIDEO);
+    initMap(fs, getResString(RB_FOTOEXTS), StorageFile.TYP_FOTO);
   }
 
   private void initMap(Storage s, String key, String typ) {

--
Gitblit v1.9.3