From: Mark Clarkstone Date: Tue, 3 May 2016 12:06:29 +0000 (+0100) Subject: mdhelp: add basic mux docs + screenie X-Git-Tag: v4.2.1~581 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32b2b9afa8f68a08e40368e3475c06547f9b2cc4;p=thirdparty%2Ftvheadend.git mdhelp: add basic mux docs + screenie --- diff --git a/docs/class/mpegts_mux.md b/docs/class/mpegts_mux.md new file mode 100644 index 000000000..57d661d97 --- /dev/null +++ b/docs/class/mpegts_mux.md @@ -0,0 +1,86 @@ +Muxes are locations at which services can be found. On traditional +networks (DVB-C, -T and -S), these are carrier signals on which the +individual channels are multiplexed, hence the name. However, Tvheadend +also uses the term ‘mux’ to describe a source for multiple IP +streams - so an IP address, in effect. + +!['Mux List'](docresources/configdvbmux.png) + +--- + +###Menu Bar/Buttons + +The following functions are available: + +Button | Function +---------------|--------- +**Save** | Save any changes made to the mux entries. +**Undo** | Undo any changes made to the mux entries since the last save. +**Add** | Add a new mux. +**Delete** | Delete an existing mux. +**Edit** | Edit an existing mux. This allows you to change any of the parameters you’d otherwise set when adding a new mux, e.g. EPG scan, character set, etc. +**View Level** | Change the interface view level to show/hide more advanced options. +**Help** | Displays this help page. + +--- + +###Playing a Mux + +You can stream a complete multiplex by copying/pasting the *Play* link +into the desired player/software. + +**Notes**: +* The *Play* links don't link to the actual stream but to a playlist for +use with media players such as VLC, If you'd prefer to receive the raw +transport stream instead, you can do so by removing the `/play/` path from +the *Play* URL. +* Not all devices support receiving a complete mux, notably low +powered set-top-boxes and older USB tuners. + +--- + +###Adding a Mux + +To add a mux press the *[Add]* button from the menu bar and select the +network you want to add the mux to. + +You only really need to add muxes if the pre-defined list didn't +work, e.g. because of out-of-date data as broadcasters re-arrange their +services or because automatic detection (network discovery) hasn't +successfully found all the muxes over time. + +!['Add Mux Dialog'](docresources/configaddmuxexample.png) + +**Notes**: +* Some tuners (or drivers) require more tuning parameters than +others so be sure to enter as many tuning parameters as possible. +* Newly added muxes are automatically set to the *PEND* state. +* Tvheadend won't scan the newly added mux instantly, it can take up to +10 minutes to begin an initial scan. + +--- + +###Editing a Mux + +To edit a mux highlight the desired mux from within the grid, and +press the *[Edit]* button from the menu bar. + +**Tip**: You can also make changes to a mux from within the grid. + +--- + +###Deleting a Mux + +To edit a mux highlight the desired mux from within the grid, and +press the *[Delete]* button from the menu bar. + +Deleting a mux will also remove any associated services, including +those mapped to channels. If you have network discovery enabled any +previously deleted muxes found in the NIT during a scan will +automatically be re-added. + +**Tip**: You can select all muxes within the grid by pressing ctrl+A. +You can also ctrl+click to make additional selections, or shift+click to +select a range. + +--- diff --git a/docs/docresources/configaddmuxexample.png b/docs/docresources/configaddmuxexample.png new file mode 100644 index 000000000..f1b6ef20f Binary files /dev/null and b/docs/docresources/configaddmuxexample.png differ diff --git a/src/input/mpegts/mpegts_mux.c b/src/input/mpegts/mpegts_mux.c index b1a364643..ec3fe0aed 100644 --- a/src/input/mpegts/mpegts_mux.c +++ b/src/input/mpegts/mpegts_mux.c @@ -487,11 +487,14 @@ mpegts_mux_ac3_list ( void *o, const char *lang ) return strtab2htsmsg(tab, 1, lang); } +CLASS_DOC(mpegts_mux) + const idclass_t mpegts_mux_class = { .ic_class = "mpegts_mux", .ic_caption = N_("MPEG-TS multiplex"), .ic_event = "mpegts_mux", + .ic_doc = tvh_doc_mpegts_mux_class, .ic_perm_def = ACCESS_ADMIN, .ic_save = mpegts_mux_class_save, .ic_delete = mpegts_mux_class_delete,