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/OMXPlayer.java |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/de/uhilger/calypso/handler/OMXPlayer.java b/src/de/uhilger/calypso/handler/OMXPlayer.java
index 2321e70..10b869f 100644
--- a/src/de/uhilger/calypso/handler/OMXPlayer.java
+++ b/src/de/uhilger/calypso/handler/OMXPlayer.java
@@ -27,8 +27,6 @@
 import java.io.OutputStream;
 import java.io.OutputStreamWriter;
 import java.io.Writer;
-import java.net.HttpURLConnection;
-import java.net.URL;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
@@ -45,17 +43,18 @@
  *
  * @author ulrich
  */
-public class OMXPlayer implements Player , ProzessLauscher {
+public class OMXPlayer extends BasePlayer implements Player , ProzessLauscher {
   
   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_TOGGLE_INFO = "z";
   public static final String CMD_DEC_SPEED = "1";
   public static final String CMD_DEC_VOL = "-";
   public static final String CMD_INC_SPEED = "2";
-  public static final String CMD_INC_VOL = "+";
+  public static final String CMD_INC_VOL = "="; // oder "+";
   public static final String CMD_NEXT_AUDIO = "k";
   public static final String CMD_NEXT_CHAPTER = "o";
   public static final String CMD_NEXT_SUB = "m";
@@ -130,6 +129,7 @@
    *
    * @return die Antwort des Servers
    */
+  /*
   @Override
   public String tilgen() {
     String antwort; // = null;
@@ -148,7 +148,7 @@
     }
     return antwort;
   }
-  
+  */
   
   /**
    * Dem laufenden Abspielprozess ein Kommando uebermitteln
@@ -201,6 +201,7 @@
   
   /* ------ Implementierung ProzessLauscher ----------------- */
   
+  /*
   @Override
   public void prozessBeendet(String meldeUrlStr) {
     try {
@@ -219,9 +220,10 @@
             auf null gesetzt.
           */
       //App.setPlayerProcess(null);
+  /*
     } catch(IOException ex) {
       logger.log(Level.INFO, ex.getMessage(), ex);
     }
   }
-  
+  */
 }

--
Gitblit v1.9.3