From e27ab178fa3a2f967823c1bfc81951086e15b642 Mon Sep 17 00:00:00 2001 From: undisclosed Date: Sun, 08 Jan 2023 16:51:38 +0000 Subject: [PATCH] Package-Namen zurueckgesetzt, weitere Anpassungen nachgezogen, Readme erneuert. --- src/de/uhilger/calypso/MeldeThread.java | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/de/uhilger/calypso/MeldeThread.java b/src/de/uhilger/calypso/MeldeThread.java index 1bdfe01..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(); @@ -70,6 +74,8 @@ } private void prozessBeendetMelden() { + logger.log(Level.FINER, + "Alle Lauscher werden ueber beendeten Abspielprozess verstaendigt.."); Iterator<ProzessLauscher> i = lauscher.iterator(); while(i.hasNext()) { ProzessLauscher l = i.next(); -- Gitblit v1.9.3