Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
mdhelp: try to complete dvr config, fixes #3731
- Loading branch information
Showing
5 changed files
with
92 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| : The string allow to manually specify the full path generation using | ||
| the predefined modifiers for strftime (see `man strftime`, except | ||
| `%n` and `%t`) and Tvheadend specific. Note that you may modify some of | ||
| this format string setting using the GUI fields below. | ||
|
|
||
| Format | Description | Example | ||
| :--------:|--------------------------------------------------|-------- | ||
| `$t$n.$x` | Default format (title, unique number, extension) | Tennis - Wimbledon-1.mkv | ||
| `$s` | Event subtitle name | Sport | ||
| `$t` | Event title name | Tennis - Wimbledon | ||
| `$e` | Event episode name | S02-E06 | ||
| `$c` | Channel name | SkySport | ||
| `$g` | Content type | Movie : Science fiction | ||
| `$n` | Unique number added when the file already exists | -1 | ||
| `$x` | Filename extension (from the active stream muxer | mkv | ||
| `%F` | ISO 8601 date format | 2011-03-19 | ||
| `%R` | The time in 24-hour notation | 14:12 | ||
|
|
||
| The format strings `$t`,`$s`,`%e`,`$c` also have delimiter variants such as | ||
| `$ t` (space after the dollar character), `$-t`, `$_t`, | ||
| `$.t`, `$,t`, `$;t`. In these cases, the delimiter is applied | ||
| only when the substituted string is not empty. | ||
|
|
||
| For $t and $s format strings, you may also limit the number of output | ||
| characters using $99-t format string where 99 means the limit. As you can | ||
| see, the delimiter can be also applied. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| : Command to run after finishing a recording. The command will be run in | ||
| background and is executed even if a recording is aborted or an error | ||
| occurred. Use the %e error formatting string to check for errors, the | ||
| error string is “OK” if recording finished successfully. | ||
|
|
||
| Supported format strings: | ||
|
|
||
|
|
||
| Format | Description | Example value | ||
| :-----:| ----------------------------------------- | ------------- | ||
| `%f` | Full path to recording | /home/user/Videos/News.mkv | ||
| `%b` | Basename of recording | News.mkv | ||
| `%c` | Channel name | BBC world | ||
| `%O` | Owner of this recording | user | ||
| `%C` | Who created this recording | user | ||
| `%t` | Program title | News | ||
| `%s` | Program subtitle | Afternoon | ||
| `%p` | Program episode | S02.E07 | ||
| `%d` | Program description | News and stories… | ||
| `%e` | Error message | Aborted by user | ||
| `%S` | Start time stamp of recording, UNIX epoch | 1224421200 | ||
| `%E` | Stop time stamp of recording, UNIX epoch | 1224426600 | ||
| `%r` | Number of errors during recording | 0 | ||
| `%R` | Number of data errors during recording | 6 | ||
| `%i` | Streams (comma separated) | H264,AC3,TELETEXT | ||
|
|
||
| *Example usage* | ||
|
|
||
| To use special characters (e.g. spaces), either put the string in quotes or | ||
| escape the individual characters. | ||
|
|
||
| ```/usr/bin/tvh_file_removed "%f"``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| : Command to run when a recording starts. The command will be run in | ||
| background. | ||
|
|
||
| Supported format strings: | ||
|
|
||
|
|
||
| Format | Description | Example value | ||
| :-----:| ----------------------------------------- | ------------- | ||
| `%f` | Full path to recording | /home/user/Videos/News.mkv | ||
| `%b` | Basename of recording | News.mkv | ||
| `%c` | Channel name | BBC world | ||
| `%O` | Owner of this recording | user | ||
| `%C` | Who created this recording | user | ||
| `%t` | Program title | News | ||
| `%s` | Program subtitle | Afternoon | ||
| `%p` | Program episode | S02.E07 | ||
| `%d` | Program description | News and stories… | ||
| `%S` | Start time stamp of recording, UNIX epoch | 1224421200 | ||
| `%E` | Stop time stamp of recording, UNIX epoch | 1224426600 | ||
|
|
||
| *Example usage* | ||
|
|
||
| To use special characters (e.g. spaces), either put the string in quotes or | ||
| escape the individual characters. | ||
|
|
||
| ```/usr/bin/lcd_show "%f"``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters