Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add streaming profile property doc, fix a few descriptions
  • Loading branch information
Mark Clarkstone authored and perexg committed May 27, 2016
1 parent 106dee0 commit 321fcc1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions docs/property/streaming_profile.md
@@ -0,0 +1,6 @@
:

The default profile and priorities can be changed in the
[Stream Profiles](class/profile) tab. Note, when streaming using the
HTSP Protocol e.g. Kodi (via pvr.hts) or Movian the HTSP profile will
always be used.
2 changes: 2 additions & 0 deletions src/access.c
Expand Up @@ -1368,6 +1368,7 @@ PROP_DOC(viewlevel_access_entries)
PROP_DOC(themes)
PROP_DOC(connection_limit)
PROP_DOC(persistent_viewlevel)
PROP_DOC(streaming_profile)

const idclass_t access_entry_class = {
.ic_class = "access",
Expand Down Expand Up @@ -1491,6 +1492,7 @@ const idclass_t access_entry_class = {
.name = N_("Streaming profiles"),
.desc = N_("The streaming profile to use/used. If not set, "
"the default will be used."),
.doc = prop_doc_streaming_profile,
.set = access_entry_profile_set,
.get = access_entry_profile_get,
.list = profile_class_get_list,
Expand Down
8 changes: 4 additions & 4 deletions src/dvr/dvr_db.c
Expand Up @@ -2951,7 +2951,7 @@ const idclass_t dvr_entry_class = {
.type = PT_STR,
.id = "disp_title",
.name = N_("Title"),
.desc = N_("Title of the program (display)."),
.desc = N_("Title of the program (display only)."),
.get = dvr_entry_class_disp_title_get,
.set = dvr_entry_class_disp_title_set,
.opts = PO_NOSAVE,
Expand All @@ -2968,7 +2968,7 @@ const idclass_t dvr_entry_class = {
.type = PT_STR,
.id = "disp_subtitle",
.name = N_("Subtitle"),
.desc = N_("Subtitle of the program (if any)."),
.desc = N_("Subtitle of the program (if any) (display only)."),
.get = dvr_entry_class_disp_subtitle_get,
.set = dvr_entry_class_disp_subtitle_set,
.opts = PO_NOSAVE,
Expand All @@ -2985,15 +2985,15 @@ const idclass_t dvr_entry_class = {
.type = PT_STR,
.id = "disp_description",
.name = N_("Description"),
.desc = N_("Program synopsis (display)."),
.desc = N_("Program synopsis (display only)."),
.get = dvr_entry_class_disp_description_get,
.opts = PO_RDONLY | PO_NOSAVE | PO_HIDDEN,
},
{
.type = PT_INT,
.id = "pri",
.name = N_("Priority"),
.desc = N_("Priority of the recording. Higher-priority entries will take precedence and cancel lower-priority events."),
.desc = N_("Priority of the recording. Higher priority entries will take precedence and cancel lower-priority events."),
.off = offsetof(dvr_entry_t, de_pri),
.def.i = DVR_PRIO_NORMAL,
.set = dvr_entry_class_pri_set,
Expand Down

0 comments on commit 321fcc1

Please sign in to comment.