diff --git a/export/generic.pm b/export/generic.pm
index e076033..2ced9a7 100644
|
a
|
b
|
package export::generic;
|
| 207 | 207 | my $episode = shift; |
| 208 | 208 | # Don't generate a cutlist |
| 209 | 209 | return unless ($self->val('gencutlist')); |
| 210 | | # Find mythcommflag |
| 211 | | my $mythcommflag = find_program('mythcommflag'); |
| | 210 | # Find mythutil |
| | 211 | my $mythutil = find_program('mythutil'); |
| 212 | 212 | # Nothing? |
| 213 | | die "Can't find mythcommflag.\n" unless ($mythcommflag); |
| | 213 | die "Can't find mythutil.\n" unless ($mythutil); |
| 214 | 214 | # 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'})."'"); |
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | # Check for a duplicate filename, and return a full path to the output filename |
diff --git a/nuvexportrc b/nuvexportrc
index 655b967..4b4ee42 100644
|
a
|
b
|
|
| 216 | 216 | use_cutlist = yes |
| 217 | 217 | |
| 218 | 218 | # |
| 219 | | # Tell mythcommflag to generate a cutlist from the commercial flags before |
| | 219 | # Tell mythutil to generate a cutlist from the commercial flags before |
| 220 | 220 | # exporting. Don't forget to enable use_cutlist above, too. |
| 221 | 221 | # |
| 222 | 222 | # gencutlist = no |