audioplayer: update gui if streamripper has stopped or crashed

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5a5843ca02
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
vanhofen
2017-08-18 13:16:40 +02:00
parent 181f43c137
commit 90a51a4564

View File

@@ -422,6 +422,13 @@ int CAudioPlayerGui::show()
playNext(); playNext();
} }
if (m_streamripper_active && !getpidof("streamripper"))
{
printf("streamripper should but doesn't work.\n");
m_streamripper_active = false;
update = true;
}
if (update) if (update)
{ {
if (clear_before_update) if (clear_before_update)