From 438c31692792fcd4045eb6c437eac1a086713460 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 22 Apr 2021 15:39:33 +0000
Subject: [PATCH] Option -b des omxplayer entfernt

---
 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