Ticket #12957: add_categorytype_Program.pm.patch

File add_categorytype_Program.pm.patch, 996 bytes (added by Britney Fransen <britney.fransen@…>, 7 years ago)
  • src/mythtv/bindings/perl/MythTV/Program.pm

    old new  
    346346        ($fields{'S'} = ($self->{'subtitle'}    or '')) =~ s/%/%%/g;
    347347        ($fields{'R'} = ($self->{'description'} or '')) =~ s/%/%%/g;
    348348        ($fields{'C'} = ($self->{'category'}    or '')) =~ s/%/%%/g;
     349        ($fields{'Ct'} = ($self->{'categorytype'}    or '')) =~ s/%/%%/g;
    349350        ($fields{'U'} = ($self->{'recgroup'}    or '')) =~ s/%/%%/g;
    350351    # Misc
    351352        ($fields{'hn'} = ($self->{'hostname'}    or '')) =~ s/%/%%/g;
  • src/mythtv/contrib/user_jobs/mythlink.pl

    old new options: 
    114114    \%ep  = Episode (leading zero)
    115115    \%in  = Internet reference number
    116116    \%C   = Category
     117    \%Ct  = Category Type
    117118    \%U   = RecGroup
    118119    \%hn  = Hostname of the machine where the file resides
    119120    \%c   = Channel:  MythTV chanid