Changed always-on check to getStreamStatus as opposed to streamAlive
This commit is contained in:
parent
685d11fa0c
commit
e0af7a759e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ namespace Controller {
|
|||
return;
|
||||
}
|
||||
//new style always on
|
||||
if (data.isMember("always_on") && !Util::streamAlive(name)){
|
||||
if (data.isMember("always_on") && Util::getStreamStatus(name) == STRMSTAT_OFF){
|
||||
INFO_MSG("Starting always-on input %s: %s", name.c_str(), URL.c_str());
|
||||
Util::startInput(name, URL);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue