Ticket #10819: mythutil.patch

File mythutil.patch, 1.3 KB (added by mythtv@…, 9 years ago)

Patch to use mythutil instead of mythcommflag

  • export/generic.pm

    diff --git a/export/generic.pm b/export/generic.pm
    index e076033..2ced9a7 100644
    a b package export::generic; 
    207207        my $episode = shift;
    208208    # Don't generate a cutlist
    209209        return unless ($self->val('gencutlist'));
    210     # Find mythcommflag
    211         my $mythcommflag = find_program('mythcommflag');
     210    # Find mythutil
     211        my $mythutil = find_program('mythutil');
    212212    # Nothing?
    213         die "Can't find mythcommflag.\n" unless ($mythcommflag);
     213        die "Can't find mythutil.\n" unless ($mythutil);
    214214    # Generate the cutlist
    215         system("$NICE $mythcommflag --gencutlist -c '$episode->{'chanid'}' -s '".unix_to_myth_time($episode->{'recstartts'})."'");
     215        system("$NICE $mythutil --gencutlist --chanid '$episode->{'chanid'}' --starttime '".unix_to_myth_time($episode->{'recstartts'})."'");
    216216    }
    217217
    218218# Check for a duplicate filename, and return a full path to the output filename
  • nuvexportrc

    diff --git a/nuvexportrc b/nuvexportrc
    index 655b967..4b4ee42 100644
    a b  
    216216    use_cutlist = yes
    217217
    218218#
    219 # Tell mythcommflag to generate a cutlist from the commercial flags before
     219# Tell mythutil to generate a cutlist from the commercial flags before
    220220#    exporting.  Don't forget to enable use_cutlist above, too.
    221221#
    222222#   gencutlist = no