Merge branch 'development' into LTS_development
This commit is contained in:
commit
1c85b7b879
2 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,7 @@ namespace Controller{
|
||||||
void writeConfig(){
|
void writeConfig(){
|
||||||
writeProtocols();
|
writeProtocols();
|
||||||
jsonForEach(Storage["streams"], it){
|
jsonForEach(Storage["streams"], it){
|
||||||
|
it->removeNullMembers();
|
||||||
writeStream(it.key(), *it);
|
writeStream(it.key(), *it);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@ namespace Controller {
|
||||||
std::string prevState = data["error"].asStringRef();
|
std::string prevState = data["error"].asStringRef();
|
||||||
data["online"] = (std::string)"Checking...";
|
data["online"] = (std::string)"Checking...";
|
||||||
data.removeMember("error");
|
data.removeMember("error");
|
||||||
|
data.removeNullMembers();
|
||||||
switch (Util::getStreamStatus(name)){
|
switch (Util::getStreamStatus(name)){
|
||||||
case STRMSTAT_OFF:
|
case STRMSTAT_OFF:
|
||||||
//Do nothing
|
//Do nothing
|
||||||
|
|
Loading…
Add table
Reference in a new issue