Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add debugging, timeshift, status_subscription help docs mdhel…
…p: update/add screenies mdhelp: update epg doc
  • Loading branch information
Mark Clarkstone authored and perexg committed May 11, 2016
1 parent c1b2d35 commit a75f376
Show file tree
Hide file tree
Showing 14 changed files with 155 additions and 20 deletions.
82 changes: 82 additions & 0 deletions docs/class/debugging.md
@@ -0,0 +1,82 @@
This tab is used to configure various debugging options in tvheadend.

!['Debugging tab'](static/img/doc/debuggingtab.png)

Changes to any of these settings must be confirmed by pressing the
*[Apply configuration]* button before taking effect.

Note that settings are not saved to a storage. Any change is available
only while Tvheadend is running, and will be lost on a restart.
To change the default behaviour permanently, use command line options
such as `-l,` `–debug`, `–trace`.

Depending on your distribution, the default command-line configuration
is usually stored in the `/etc/sysconfig` tree or an init script.
You may also be able to change `/etc/default/tvheadend` to add additional
command-line parameters.

---

###Menu Bar/Buttons

The following functions are available:

Button | Function
-----------|---------
**Apply configuration (run-time only)** | Apply the entered debugging settings.
<tvh_include>inc/common_button_table_end</tvh_include>

---

###Subsystems

The following options can be passed to tvheadend to provide detailed debugging
information while the application is running.

```
all
access
bouquet
capmt
cwc
descrambler
diseqc
dvbcam
dvr
eit
en50221
epg
epggrab
fastscan
fsmonitor
gtimer
htsp
httpc
idnode
linuxdvb
main
mkv
mpegts
opentv
parser
pass
psi
satip
satips
scanfile
sdt
service
service_mapper
settings
subscription
tcp
thread
time
timeshift
transcode
tsfile
tvhdhomerun
upnp
```

---
17 changes: 17 additions & 0 deletions docs/class/timeshift.md
@@ -0,0 +1,17 @@
This tab is used to configure timeshift properties.

!['Timeshift Tab'](static/img/doc/timeshifttab.png)

---

###Menu Bar/Buttons

The following functions are available:

Button | Function
-----------|---------
**Save** | Save the current configuration.
**Undo** | Revert the changes made since last save.
<tvh_include>inc/common_button_table_end</tvh_include>

---
18 changes: 7 additions & 11 deletions docs/markdown/epg.md
Expand Up @@ -158,13 +158,13 @@ feature.
If you schedule any kind of recording from this point, you can choose a
specific DVR profile that will apply to the recording or autorec rule.
This will normally show as *(default)*, but you can define different
profiles in the **Configuration -\> Recording -\> Digital Video
Recorder Profiles** tab. This allows you to set, for example, more post-
profiles in the **Configuration -\> Recording -\> [Digital Video
Recorder Profiles](class/dvrconfig)** tab. This allows you to set, for example, more post-
broadcast padding for a channel that always runs late, or perhaps define
a different post-processing command to strip adverts out on a commercial
channel.

You will also see *[Search IMDB]* and *[TheTVDB] buttons to look for the program by name
You will also see *[Search IMDB]* and *[TheTVDB]* buttons to look for the program by name
on imdb.com/thetvdb.com, and a *[Play program]* button to watch a program that’s already
in progress. This second button downloads a playlist file (XSPF or M3U
depending on your startup options); if your system is configured for it,
Expand All @@ -184,14 +184,10 @@ Should you wish to record all events matching a specific query (to
record your favourite show every week, for example) you can press the
*[Create AutoRec]* button in the top toolbar.

A popup with details about the to-be-created autorecording rule needs to
be confirmed before the rule takes effect.

![Autorec Dialogue Box](static/img/doc/autorecpopup.png)

You can change or delete the autorec rules in the **Digital Video
Recorder** tab. Use that editor if you temporarily want to disable an
autorecording or make adjustments to the channel, tag, or similar.
You can change or delete the autorec rules in
the **[Autorec](class/dvrautorec)** tab. Use that editor if you
temporarily want to disable an autorecording or make adjustments to the
channel, tag, or similar.

---

Expand Down
52 changes: 43 additions & 9 deletions docs/markdown/status_subscriptions.md
Expand Up @@ -8,7 +8,7 @@ This is a read-only tab; nothing is configurable.

---

####Menu Bar/Buttons
###Menu Bar/Buttons

The following functions are available:

Expand All @@ -22,14 +22,48 @@ Button | Function

The main grid items have the following functions:

**Item**
: Description
**ID**
: Subscription ID.

**Item**
: Description
**Hostname**
: Hostname/IP address using the subscription.

**Item**
: Description
**Username**
: Username using the subscription - a blank cell indicates the
subscriber didn't supply a username.

**Item**
: Description
**Title**
: Title of the application using the subscription - you will sometimes
see "epggrab" here, this is an internal subscription used by tvheadend
to grab EPG data.

**Channel**
: The name of the [channel](class/channel) the subscription is using -
if the subscription is streaming a service/mux this cell will be blank.

**Profile**
: The name of the [profile](class/profile) the subscription is using.

**Start**
: The date (and time) the subscription was started.

**State**
: The status of the subscription

State | Description
--------------|-------------
Running | The subscription is active - the stream is being sent.
Idle | The subscription is idling, waiting for the subscriber.
Testing | Tvheadend is testing the requested stream to see if it's available - if a subscription stays in this state too long it may indicate a signal issue.

**Descramble**
: The CAID used to descramble the stream.

**Errors**
: Number of errors occurred sending the stream.

**Input**
: The input data rate in kb/s.

**Output**
: The output data rate in kb/s.
3 changes: 3 additions & 0 deletions src/timeshift.c
Expand Up @@ -166,10 +166,13 @@ timeshift_conf_class_ram_size_set ( void *o, const void *v )
return 0;
}

CLASS_DOC(timeshift)

const idclass_t timeshift_conf_class = {
.ic_snode = &timeshift_conf.idnode,
.ic_class = "timeshift",
.ic_caption = N_("Timeshift"),
.ic_doc = tvh_doc_timeshift_class,
.ic_event = "timeshift",
.ic_perm_def = ACCESS_ADMIN,
.ic_changed = timeshift_conf_class_changed,
Expand Down
3 changes: 3 additions & 0 deletions src/tvhlog.c
Expand Up @@ -610,10 +610,13 @@ idnode_t tvhlog_conf = {
.in_class = &tvhlog_conf_class
};

CLASS_DOC(debugging)

const idclass_t tvhlog_conf_class = {
.ic_snode = &tvhlog_conf,
.ic_class = "tvhlog_conf",
.ic_caption = N_("Debugging"),
.ic_doc = tvh_doc_debugging_class,
.ic_event = "tvhlog_conf",
.ic_perm_def = ACCESS_ADMIN,
.ic_groups = (const property_group_t[]) {
Expand Down
Binary file modified src/webui/static/img/doc/configchannellist.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/img/doc/debuggingtab.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/webui/static/img/doc/epg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/webui/static/img/doc/epg2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/webui/static/img/doc/epg3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/webui/static/img/doc/timeshifttab.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/webui/static/img/overall_screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a75f376

Please sign in to comment.