From a1333d058500619b1311e206127a1cc01b0be8f6 Mon Sep 17 00:00:00 2001 From: ulrich Date: Fri, 11 Feb 2022 15:27:42 +0000 Subject: [PATCH] Erweiterung auf Kataloge fuer Fotografien --- 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