message != $prevmsg) || ($statusdec->status == "ready")) { print $status; break; } usleep(1000); } break; case ("getTimers"): $tree = getTimers(); print $tree; break; case ("editTimer"): $tree = editTimer($_REQUEST['id'], $_REQUEST['name'], $_REQUEST['active'], $_REQUEST['channumber'], $_REQUEST['date'], $_REQUEST['starttime'], $_REQUEST['endtime']); print $tree; break; case ("delTimer"): $tree = delTimer($_REQUEST['id']); print $tree; break; case ("browseFolder"): $tree = browseFolder(stripslashes($_REQUEST['path'])); print $tree; break; case ("streamAudio"): $tree = streamAudio($_REQUEST['path'], $_REQUEST['file']); print $tree; break; } ?>