From 90a51a4564cb2a7b3811ef1346c66835578bd7b2 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 18 Aug 2017 13:16:40 +0200 Subject: [PATCH] audioplayer: update gui if streamripper has stopped or crashed Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5a5843ca020348ae586fd6feb46a92e8814e3eaf Author: vanhofen Date: 2017-08-18 (Fri, 18 Aug 2017) Origin message was: ------------------ - audioplayer: update gui if streamripper has stopped or crashed ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/audioplayer.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 580f6aec7..2a21764d8 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -422,6 +422,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)