]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mdhelp: add mpegts_service doc (inc screenies) mdhelp: update the toc so that "servic...
authorMark Clarkstone <hello@markclarkstone.co.uk>
Tue, 3 May 2016 21:04:06 +0000 (22:04 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 4 May 2016 11:11:14 +0000 (13:11 +0200)
docs/class/mpegts_service.md [new file with mode: 0644]
docs/docresources/addservicetochannel.png [new file with mode: 0644]
docs/docresources/mapservicesdialog.png [new file with mode: 0644]
docs/docresources/serviceedit.png [new file with mode: 0644]
docs/docresources/serviceedit2.png [new file with mode: 0644]
docs/docresources/servicefilter.png [new file with mode: 0644]
docs/markdown/toc.md
src/input/mpegts/mpegts_service.c

diff --git a/docs/class/mpegts_service.md b/docs/class/mpegts_service.md
new file mode 100644 (file)
index 0000000..099479c
--- /dev/null
@@ -0,0 +1,104 @@
+Services are automatically pulled from muxes and can be mapped to Channels.
+
+!['Services'](docresources/configdvbservices.png)
+
+---
+
+###Menu Bar/Buttons
+
+The following functions are available:
+
+Button           | Function
+-----------------|---------
+**Save**         | Save any changes made.
+**Undo**         | Undo any changes made since the last save.
+**Edit**         | Edit an existing service.
+**Delete**       | Delete a service.
+**Map Selected** | Drop down menu: Map selected services, map the highlighted services within the grid. Map all services, map all available services as channels. Both options use the *Map services to channels* dialog. 
+**View Level**   | Change the interface view level to show/hide more advanced options.
+**Help**         | Displays this help page. 
+
+---
+
+###Mapping Services to Channels
+
+There are a number of methods to mapping available services.
+
+*Map all services* and *Map selected services* functions use the 
+following dialog.
+
+!['Service mapper dialog'](docresources/mapservicesdialog.png)
+
+####Mapping All
+
+Press the "Map services" button and then "Map all services". 
+  
+The *Map services to channels* dialog will then appear listing all available services and various 
+other [mapping options.](class/service_mapper) The ticked check boxes 
+[✓] indicate which services will be mapped, when you're happy with the selection press 
+the "Map services" button. You will then be taken to the Service 
+Mapper tab which will begin mapping services to channels. 
+  
+####Mapping Selected
+
+While holding ctrl (single selection) or shift (to select a range), 
+click on the services you would like to map as channels. Once you're 
+done selecting, press the "Map services" button and then 
+"Map selected services" - **be careful not to click on the grid or 
+you'll lose your selection!**
+    
+The *Map services to channels* dialog will then appear listing all available services and various 
+other [mapping options.](class/service_mapper) The ticked 
+check boxes [✓] indicate which services will be mapped, when you're 
+happy with the selection press the "Map services" button. You will 
+then be taken to the Service Mapper tab which will begin mapping 
+services to channels. 
+
+**Tip**: By default Tvheadend will only show a small selection of 
+available services - you can increase this by using the paging 
+selector at the bottom right of the page.
+  
+####Mapping/Removing a Service to/from an Existing Channel
+
+You can map/remove a service to/from an existing channel by doing the following:
+
+**1)** Find the desired service from within the services grid. 
+
+If you have a lot of services you may want to use filtering to limit the 
+number of grid entries, you can do this by moving your mouse over the 
+*Service name* column, a down arrow ▾ should now be visible, clicking 
+the arrow will then display a list of options, move your mouse down to 
+"Filters", a text box should then appear, click on it and enter the 
+desired service's name.
+
+!['Service filtering'](docresources/servicefilter.png)
+
+**Tip**: Remember to remove the filter when you're finished (untick the 
+check box next to the "Filters" option). 
+
+**2)** Double click on the channel field, a drop down listing of all defined 
+channels will appear, check/untick the check box next to the channel 
+you'd like to associate/disassociate the service with. 
+
+!['Add service to channel example'](docresources/addservicetochannel.png)
+
+**3)** Press the *[Save]* button from the menu bar and you're done!
+
+---
+
+###Editing Services.
+
+You can edit services by highlighting (selecting) the services from 
+within the grid and then clicking the *[Edit]* button from the menu bar.
+
+!['Edit service'](docresources/serviceedit.png)
+
+If you select more than one service from within the grid the 
+*Edit service* dialog (above) will look slightly different.
+
+!['Edit multiple services'](docresources/serviceedit2.png)
+
+Ticking the additional check box (next to each setting) will apply that 
+setting to all selected services.
+
+---
diff --git a/docs/docresources/addservicetochannel.png b/docs/docresources/addservicetochannel.png
new file mode 100644 (file)
index 0000000..665f789
Binary files /dev/null and b/docs/docresources/addservicetochannel.png differ
diff --git a/docs/docresources/mapservicesdialog.png b/docs/docresources/mapservicesdialog.png
new file mode 100644 (file)
index 0000000..96bf8f1
Binary files /dev/null and b/docs/docresources/mapservicesdialog.png differ
diff --git a/docs/docresources/serviceedit.png b/docs/docresources/serviceedit.png
new file mode 100644 (file)
index 0000000..943652d
Binary files /dev/null and b/docs/docresources/serviceedit.png differ
diff --git a/docs/docresources/serviceedit2.png b/docs/docresources/serviceedit2.png
new file mode 100644 (file)
index 0000000..ee90b0d
Binary files /dev/null and b/docs/docresources/serviceedit2.png differ
diff --git a/docs/docresources/servicefilter.png b/docs/docresources/servicefilter.png
new file mode 100644 (file)
index 0000000..dac7df2
Binary files /dev/null and b/docs/docresources/servicefilter.png differ
index e906ec6574de8f9eb70921d1c5c4973618147b20..f9a8623f14c0f38ed7848509772067607a287371 100644 (file)
@@ -48,7 +48,7 @@ Web Interface Configuration Guide
   - [TV Adapters](tv_adapters)
   - [Networks](class/mpegts_network)
   - [Muxes](class/mpegts_mux)
-  - [Services](class/service)
+  - [Services](class/mpegts_service)
   - [Mux Schedulers](class/mpegts_mux_sched)
 
 * Channel / EPG
index 780a61547c46a01e0b9fbcdad3314a8713da766b..24d4e8d1cce76acbf8aee68b8a96892c3c283afe 100644 (file)
@@ -80,11 +80,14 @@ mpegts_service_pref_capid_lock_list ( void *o, const char *lang )
    return strtab2htsmsg(tab, 1, lang);
 }
 
+CLASS_DOC(mpegts_service)
+
 const idclass_t mpegts_service_class =
 {
   .ic_super      = &service_class,
   .ic_class      = "mpegts_service",
   .ic_caption    = N_("MPEG-TS service"),
+  .ic_doc        = tvh_doc_mpegts_service_class,
   .ic_order      = "enabled,channel,svcname",
   .ic_properties = (const property_t[]){
     {