Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Profile user interface level adjustments
  • Loading branch information
Glenn-1990 authored and perexg committed Oct 20, 2016
1 parent 1c6ac28 commit 4b68e71
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/profile.c
Expand Up @@ -307,7 +307,8 @@ const idclass_t profile_class =
.desc = N_("Enable/disable the profile."),
.off = offsetof(profile_t, pro_enabled),
.get_opts = profile_class_enabled_opts,
.group = 1
.group = 1,
.def.i = 1
},
{
.type = PT_BOOL,
Expand Down Expand Up @@ -1098,7 +1099,7 @@ const idclass_t profile_mpegts_pass_class =
"include information about the currently-streamed "
"service."),
.off = offsetof(profile_mpegts_t, pro_rewrite_pmt),
.opts = PO_ADVANCED,
.opts = PO_EXPERT,
.def.i = 1,
.group = 2
},
Expand All @@ -1110,7 +1111,7 @@ const idclass_t profile_mpegts_pass_class =
"to only include information about the currently-"
"streamed service."),
.off = offsetof(profile_mpegts_t, pro_rewrite_pat),
.opts = PO_ADVANCED,
.opts = PO_EXPERT,
.def.i = 1,
.group = 2
},
Expand All @@ -1122,7 +1123,7 @@ const idclass_t profile_mpegts_pass_class =
"to only include information about the currently-"
"streamed service."),
.off = offsetof(profile_mpegts_t, pro_rewrite_sdt),
.opts = PO_ADVANCED,
.opts = PO_EXPERT,
.def.i = 1,
.group = 2
},
Expand All @@ -1134,7 +1135,7 @@ const idclass_t profile_mpegts_pass_class =
"to only include information about the currently-"
"streamed service."),
.off = offsetof(profile_mpegts_t, pro_rewrite_eit),
.opts = PO_ADVANCED,
.opts = PO_EXPERT,
.def.i = 1,
.group = 2
},
Expand Down Expand Up @@ -2258,6 +2259,7 @@ profile_init(void)
htsmsg_add_str (conf, "name", name);
htsmsg_add_str (conf, "comment", _("Audio-only stream"));
htsmsg_add_s32 (conf, "priority", PROFILE_SPRIO_NORMAL);
htsmsg_add_bool(conf, "shield", 1);
(void)profile_create(NULL, conf, 1);
htsmsg_destroy(conf);
}
Expand Down

0 comments on commit 4b68e71

Please sign in to comment.