From 6ff352870ec1dfea573fb3e6de370f8020fe0d04 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Sun, 04 Apr 2021 08:38:03 +0000
Subject: [PATCH] Umgestellt auf nio.FileSystem

---
 src/de/uhilger/avdirektor/handler/OMXPlayer.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/avdirektor/handler/OMXPlayer.java b/src/de/uhilger/avdirektor/handler/OMXPlayer.java
index d360e13..0fa96c2 100644
--- a/src/de/uhilger/avdirektor/handler/OMXPlayer.java
+++ b/src/de/uhilger/avdirektor/handler/OMXPlayer.java
@@ -49,6 +49,8 @@
   
   private static final Logger logger = Logger.getLogger(OMXPlayer.class.getName());
   
+  public static final String NAME = "omxplayer";
+  
   public static final String BLANK = " ";
   public static final String CMD_DEC_SPEED = "1";
   public static final String CMD_DEC_VOL = "-";
@@ -87,7 +89,7 @@
         tilgen();        
       }
       List<String> kommando = new ArrayList();
-      kommando.add("omxplayer");
+      kommando.add(NAME);
       kommando.addAll(Arrays.asList(parameter.split(BLANK)));
       if(urlStr.startsWith("http")) {
         kommando.add(urlStr.replace(" ", "%20"));

--
Gitblit v1.9.3