From 81530df1e3b43943a11ab3032ad235b319b95968 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 01 Mar 2023 15:43:39 +0000
Subject: [PATCH] Untertitel ausgeschaltet, wenn Video abgespielt wird

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

diff --git a/src/de/uhilger/calypso/MeldeThread.java b/src/de/uhilger/calypso/MeldeThread.java
index 7d03fb5..88376a1 100644
--- a/src/de/uhilger/calypso/MeldeThread.java
+++ b/src/de/uhilger/calypso/MeldeThread.java
@@ -1,6 +1,6 @@
 /*
-    AV-Direktor - Control OMXPlayer on Raspberry Pi via HTTP
-    Copyright (C) 2021  Ulrich Hilger
+    Calypso - Media Player Remote Control via HTTP for Raspberry Pi
+    Copyright (C) 2021-2023  Ulrich Hilger
 
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU Affero General Public License as
@@ -45,11 +45,15 @@
     this.meldeUrlStr = meldeUrlStr;
   }
   
+  /**
+   * ausfuehren des Threads
+   */
+  @Override
   public void run() {
     try {
       exitValue = omxplayer.waitFor();
       prozessBeendetMelden();
-    } catch(Exception ex) {
+    } catch(InterruptedException ex) {
       logger.log(Level.FINE, ex.getMessage(), ex);
     } finally {
       aufraeumen();

--
Gitblit v1.9.3