Power off.

This commit is contained in:
Blaz Kristan 2022-03-28 23:08:29 +02:00
parent 6eff2e6e74
commit 557a2f08f7
2 changed files with 1664 additions and 1657 deletions

View File

@ -1444,6 +1444,11 @@ function togglePower()
{
isOn = !isOn;
var obj = {"on": isOn};
if (isOn && lastinfo && lastinfo.live && lastinfo.liveseg>=0) {
obj.live = false;
obj.seg = [];
obj.seg[0] = {"id": lastinfo.liveseg, "frz": false};
}
requestJson(obj);
}

File diff suppressed because it is too large Load Diff