DVR: config - use combobox to set the extra times
This commit is contained in:
parent
4f494c6cb6
commit
249eac3e11
1 changed files with 8 additions and 0 deletions
|
@ -368,6 +368,12 @@ dvr_config_class_cache_list(void *o)
|
|||
return strtab2htsmsg(tab);
|
||||
}
|
||||
|
||||
static htsmsg_t *
|
||||
dvr_config_class_extra_list(void *o)
|
||||
{
|
||||
return dvr_entry_class_duration_list(o, "Not set (none or channel config)", 4*60, 1);
|
||||
}
|
||||
|
||||
static htsmsg_t *
|
||||
dvr_config_entry_class_update_window_list(void *o)
|
||||
{
|
||||
|
@ -460,6 +466,7 @@ const idclass_t dvr_config_class = {
|
|||
.id = "pre-extra-time",
|
||||
.name = "Extra Time Before Recordings (minutes)",
|
||||
.off = offsetof(dvr_config_t, dvr_extra_time_pre),
|
||||
.list = dvr_config_class_extra_list,
|
||||
.group = 1,
|
||||
},
|
||||
{
|
||||
|
@ -467,6 +474,7 @@ const idclass_t dvr_config_class = {
|
|||
.id = "post-extra-time",
|
||||
.name = "Extra Time After Recordings (minutes)",
|
||||
.off = offsetof(dvr_config_t, dvr_extra_time_post),
|
||||
.list = dvr_config_class_extra_list,
|
||||
.group = 1,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue