| 1 | Index: nuv_export/cli.pm
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- nuv_export/cli.pm (revision 14158)
|
|---|
| 4 | +++ nuv_export/cli.pm (working copy)
|
|---|
| 5 | @@ -153,6 +153,8 @@
|
|---|
| 6 | add_arg('save_info', 'Save text file with program details.');
|
|---|
| 7 | add_arg('only_save_info', 'ONLY save program details; do not encode.');
|
|---|
| 8 |
|
|---|
| 9 | + add_arg('noprogress', "Don't show export progress status messages.");
|
|---|
| 10 | +
|
|---|
| 11 | # Load the commandline options
|
|---|
| 12 | add_arg('help:s', 'Show nuvexport help');
|
|---|
| 13 | add_arg('debug', 'Enable debug mode');
|
|---|
| 14 | Index: export/ffmpeg.pm
|
|---|
| 15 | ===================================================================
|
|---|
| 16 | --- export/ffmpeg.pm (revision 14158)
|
|---|
| 17 | +++ export/ffmpeg.pm (working copy)
|
|---|
| 18 | @@ -396,7 +396,7 @@
|
|---|
| 19 | }
|
|---|
| 20 | print "\rprocessed: $frames of $episode->{'total_frames'} frames at $fps fps ($pct\%, eta: ",
|
|---|
| 21 | $self->build_eta($frames, $episode->{'total_frames'}, $fps),
|
|---|
| 22 | - ') ';
|
|---|
| 23 | + ') ' unless (arg('noprogress'));
|
|---|
| 24 |
|
|---|
| 25 | # Read from the ffmpeg handle
|
|---|
| 26 | while (has_data($ffmpeg_h) and $l = <$ffmpeg_h>) {
|
|---|
| 27 | Index: mythtv/recordings.pm
|
|---|
| 28 | ===================================================================
|
|---|
| 29 | --- mythtv/recordings.pm (revision 14158)
|
|---|
| 30 | +++ mythtv/recordings.pm (working copy)
|
|---|
| 31 | @@ -57,7 +57,7 @@
|
|---|
| 32 | foreach $file (@{$rows{'rows'}}) {
|
|---|
| 33 | $count++;
|
|---|
| 34 | # Print the progress indicator
|
|---|
| 35 | - print "\r", sprintf('%.0f', 100 * ($num_shows / @{$rows{'rows'}})), '% ';
|
|---|
| 36 | + print "\r", sprintf('%.0f', 100 * ($num_shows / @{$rows{'rows'}})), '% ' unless (arg('noprogress'));
|
|---|
| 37 | # Load into an object
|
|---|
| 38 | $file = $Myth->new_recording(@$file);
|
|---|
| 39 | # Skip shows without cutlists?
|
|---|