From a78c3a3fcc0f569270ca54d3355eade4e067d4dc Mon Sep 17 00:00:00 2001 From: undisclosed Date: Mon, 09 Jan 2023 09:03:19 +0000 Subject: [PATCH] Dateien aufgeraeumt --- 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