store teletext rundown
This commit is contained in:
parent
508905cd94
commit
74ffb3af8f
2 changed files with 3 additions and 1 deletions
|
@ -407,7 +407,7 @@ channel_settings_write(void)
|
|||
fprintf(fp, "\tchannel {\n"
|
||||
"\t\tname = %s\n", ch->ch_name);
|
||||
if(ch->ch_teletext_rundown)
|
||||
fprintf(fp, "\t\tteletext-rundown = %d", ch->ch_teletext_rundown);
|
||||
fprintf(fp, "\t\tteletext-rundown = %d\n", ch->ch_teletext_rundown);
|
||||
fprintf(fp, "\t}\n");
|
||||
}
|
||||
fprintf(fp, "}\n");
|
||||
|
|
2
htmlui.c
2
htmlui.c
|
@ -1597,6 +1597,8 @@ page_updatechannel(http_connection_t *hc, const char *remain, void *opaque)
|
|||
}
|
||||
}
|
||||
|
||||
channel_settings_write();
|
||||
|
||||
snprintf(buf, sizeof(buf), "/editchannel/%d", ch->ch_tag);
|
||||
http_redirect(hc, buf);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue