From 929228226e08e352769810f729f0e9644a781bec Mon Sep 17 00:00:00 2001
From: undisclosed
Date: Sun, 08 Jan 2023 13:35:06 +0000
Subject: [PATCH] Calypso neu gebaut auf Nutzung von mpv, alte Fassung entfernt

---
 src/de/uhilger/calypso/neu/MeldeThread.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/de/uhilger/calypso/MeldeThread.java b/src/de/uhilger/calypso/neu/MeldeThread.java
similarity index 92%
rename from src/de/uhilger/calypso/MeldeThread.java
rename to src/de/uhilger/calypso/neu/MeldeThread.java
index 7d03fb5..a8ea023 100644
--- a/src/de/uhilger/calypso/MeldeThread.java
+++ b/src/de/uhilger/calypso/neu/MeldeThread.java
@@ -16,7 +16,7 @@
     along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-package de.uhilger.calypso;
+package de.uhilger.calypso.neu;
 
 import java.util.logging.Logger;
 import java.util.logging.Level;
@@ -45,11 +45,17 @@
     this.meldeUrlStr = meldeUrlStr;
   }
   
+  /**
+   * ausfuehren des Threads
+   */
+  @Override
   public void run() {
     try {
       exitValue = omxplayer.waitFor();
       prozessBeendetMelden();
-    } catch(Exception ex) {
+      lauscher.clear();
+      lauscher = null;
+    } catch(InterruptedException ex) {
       logger.log(Level.FINE, ex.getMessage(), ex);
     } finally {
       aufraeumen();

--
Gitblit v1.9.3