From 82594dab993741669b50fe1ec784f528fd836bc2 Mon Sep 17 00:00:00 2001
From: undisclosed
Date: Fri, 30 Dec 2022 08:47:11 +0000
Subject: [PATCH] Verwendung des VLCPlayer verbessert

---
 src/de/uhilger/calypso/handler/VLCPlayer.java |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/src/de/uhilger/calypso/handler/VLCPlayer.java b/src/de/uhilger/calypso/handler/VLCPlayer.java
index 29469c0..849babb 100644
--- a/src/de/uhilger/calypso/handler/VLCPlayer.java
+++ b/src/de/uhilger/calypso/handler/VLCPlayer.java
@@ -7,7 +7,6 @@
 
 import de.uhilger.calypso.App;
 import de.uhilger.calypso.MeldeThread;
-import static de.uhilger.calypso.handler.OMXPlayer.BLANK;
 import java.io.IOException;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -16,7 +15,7 @@
  *
  * @author ulrich
  */
-public class VLCPlayer implements Player {
+public class VLCPlayer extends BasePlayer implements Player {
   
   private static final Logger logger = Logger.getLogger(VLCPlayer.class.getName());
 
@@ -58,6 +57,7 @@
         
         kommando.append(urlStr);
       }
+      kommando.append(" vlc://quit");
       logger.log(Level.FINE, "kommando: {0}", kommando.toString());
       Process player_process = Runtime.getRuntime().exec(kommando.toString());
       if(meldeUrlStr != null) {
@@ -90,14 +90,5 @@
     return antwort;
   }
 
-  @Override
-  public void prozessBeendet(String meldeUrlStr) {
-    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
-  }
 
-  @Override
-  public String tilgen() {
-    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
-  }
-  
 }

--
Gitblit v1.9.3