summaryrefslogtreecommitdiff
path: root/Tools/schnitt/cutall3.pl
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2001-08-06 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2001-08-06 18:00:00 +0200
commitf1d1c9849c8e27cccb46cf9c0d0ccb59da3f91f9 (patch)
treeb5a5f73f7b7595c7371cab1fc11f2ea60aa2b392 /Tools/schnitt/cutall3.pl
parent8f9cc68f76c4fd0960f919a77fb16a6455922deb (diff)
downloadvdr-patch-lnbsharing-f1d1c9849c8e27cccb46cf9c0d0ccb59da3f91f9.tar.gz
vdr-patch-lnbsharing-f1d1c9849c8e27cccb46cf9c0d0ccb59da3f91f9.tar.bz2
Version 0.90vdr-0.90
- Modified the display of the channel group separators (thanks to Markus Lang for this suggestion). - Added support for replaying DVDs (thanks to Andreas Schultz). See INSTALL for instructions on how to compile VDR with DVD support. - Fixed replay progress display in case replay is paused while watching an ongoing recording. - Ringbuffer uses semaphores to signal empty/full conditions. - Fixed calculating the timeout value in cFile::FileReady() (thanks to Wolfgang Henselmann-Weiss).
Diffstat (limited to 'Tools/schnitt/cutall3.pl')
-rwxr-xr-xTools/schnitt/cutall3.pl31
1 files changed, 31 insertions, 0 deletions
diff --git a/Tools/schnitt/cutall3.pl b/Tools/schnitt/cutall3.pl
new file mode 100755
index 0000000..6961666
--- /dev/null
+++ b/Tools/schnitt/cutall3.pl
@@ -0,0 +1,31 @@
+#!/usr/bin/perl
+
+open (FI,"cut") or die "Kann Cut-Datei nicht oeffnen\n";
+
+outer: while (<FI>)
+ {
+ chomp;
+ if (! ($_ > 1 || $_ eq "0"))
+ {
+ open (FO,">cut2");
+ print FO "$_\n";
+ while (<FI>)
+ {
+ chomp;
+ if ($_ > 1 || $_ eq "0")
+ {
+ print FO "$_\n";
+ }
+ else
+ {
+ system ("cutt");
+ redo outer;
+ }
+ }
+ }
+ }
+if ( -f "cut2")
+ {
+ system ("cutt");
+ unlink "cut2";
+ }