Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: add '%g' (genre) formatter to postproc cmd, fixes #3932
  • Loading branch information
perexg committed Aug 13, 2016
1 parent 9a0c876 commit 4e6c009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/property/postprocessor.md
Expand Up @@ -17,6 +17,7 @@ Format | Description | Example value
`%s` | Program subtitle | Afternoon
`%p` | Program episode | S02.E07
`%d` | Program description | News and stories…
`%g` | Program content type | Current affairs
`%e` | Error message | Aborted by user
`%S` | Start time stamp of recording, UNIX epoch | 1224421200
`%E` | Stop time stamp of recording, UNIX epoch | 1224426600
Expand Down
1 change: 1 addition & 0 deletions src/dvr/dvr_rec.c
Expand Up @@ -560,6 +560,7 @@ static htsstr_substitute_t dvr_subs_postproc_entry[] = {
{ .id = "s", .getval = dvr_sub_subtitle },
{ .id = "p", .getval = dvr_sub_episode },
{ .id = "d", .getval = dvr_sub_description },
{ .id = "g", .getval = dvr_sub_genre },
{ .id = "c", .getval = dvr_sub_channel },
{ .id = "e", .getval = dvr_sub_last_error },
{ .id = "C", .getval = dvr_sub_creator },
Expand Down

0 comments on commit 4e6c009

Please sign in to comment.