summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.28/mythtv/add_categorytype_Program.pm.patch
blob: d84420d452cc66cb5fd7a01ed1d836a0dca1e66b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/mythtv/bindings/perl/MythTV/Program.pm.orig	2016-04-28 20:31:49.230576243 +0000
+++ src/mythtv/bindings/perl/MythTV/Program.pm	2016-04-28 20:28:29.779523866 +0000
@@ -346,6 +346,7 @@
         ($fields{'S'} = ($self->{'subtitle'}    or '')) =~ s/%/%%/g;
         ($fields{'R'} = ($self->{'description'} or '')) =~ s/%/%%/g;
         ($fields{'C'} = ($self->{'category'}    or '')) =~ s/%/%%/g;
+        ($fields{'Ct'} = ($self->{'categorytype'}    or '')) =~ s/%/%%/g;
         ($fields{'U'} = ($self->{'recgroup'}    or '')) =~ s/%/%%/g;
     # Misc
         ($fields{'hn'} = ($self->{'hostname'}    or '')) =~ s/%/%%/g;
--- src/mythtv/contrib/user_jobs/mythlink.pl.orig
+++ src/mythtv/contrib/user_jobs/mythlink.pl
@@ -114,6 +114,7 @@ options:
     \%ep  = Episode (leading zero)
     \%in  = Internet reference number
     \%C   = Category
+    \%Ct  = Category Type
     \%U   = RecGroup
     \%hn  = Hostname of the machine where the file resides
     \%c   = Channel:  MythTV chanid