From b616b6731dbe571ea3750c6a546e4301e51e55eb Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 18 Aug 2017 13:16:40 +0200 Subject: [PATCH] - audioplayer: update gui if streamripper has stopped or crashed Signed-off-by: Thilo Graf --- src/gui/audioplayer.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index f683c3a2d..46460b896 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -371,6 +371,13 @@ int CAudioPlayerGui::show() playNext(); } + if (m_streamripper_active && !getpidof("streamripper")) + { + printf("streamripper should but doesn't work.\n"); + m_streamripper_active = false; + update = true; + } + if (update) { if (clear_before_update)