aboutsummaryrefslogtreecommitdiff
path: root/bin/psycamp
diff options
context:
space:
mode:
authorpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>2016-08-10 15:28:43 +0000
committerpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>2016-08-10 15:28:43 +0000
commit082ab94da559e9a5ebe7819bf613c9c7d0cb71c8 (patch)
tree9c453d2cf08e334d67b0487538380e5f1f263cdb /bin/psycamp
parent3eccf0b4756713deea71a428b1d6b23be740828c (diff)
downloadperlpsyc-082ab94da559e9a5ebe7819bf613c9c7d0cb71c8.tar.gz
perlpsyc-082ab94da559e9a5ebe7819bf613c9c7d0cb71c8.zip
psycamp: three ain't five (minor fix) + let it hang
Diffstat (limited to 'bin/psycamp')
-rwxr-xr-xbin/psycamp14
1 files changed, 9 insertions, 5 deletions
diff --git a/bin/psycamp b/bin/psycamp
index f7baefc..e472d00 100755
--- a/bin/psycamp
+++ b/bin/psycamp
@@ -339,9 +339,13 @@ sub timeout {
339#% &gin('seek 0 1'); #? !X 339#% &gin('seek 0 1'); #? !X
340#% &gin('pause'); #? !X 340#% &gin('pause'); #? !X
341 #: X 341 #: X
342 print MAGENTA, "\n*** Playback problem. ", RESET, "Skipping $OpenedFile\n"; 342# print MAGENTA, "\n*** Playback problem. ", RESET, "Skipping $OpenedFile\n";
343 # so far timeout only happens when the input file is b0rked, so we skip it 343# # so far timeout only happens when the input file is b0rked, so we skip it
344 &next(0); 344# &next(0);
345 # it also happens when the file is being delivered via network
346# print MAGENTA, "\n*** Track not ready for playback. Retrying from start.\n";
347# &gin( "seek 0 1" );
348 print MAGENTA, "\n*** Track not ready for playback. Waiting... \r";
345 #} X 349 #} X
346 } 350 }
347 return 3; 351 return 3;
@@ -553,8 +557,8 @@ X
553 my $s = $size[$order[$i]] || -s $f; 557 my $s = $size[$order[$i]] || -s $f;
554# my $a = $adate[$order[$i]]; 558# my $a = $adate[$order[$i]];
555 $f =~ s/\.[^\.\s]+$//i; 559 $f =~ s/\.[^\.\s]+$//i;
556 $f = '..'.substr($f,length($p)-$TWIDTH+11) if 560 $f = '..'.substr($f,length($p)-$TWIDTH+13) if
557 length($f) > $TWIDTH-9; 561 length($f) > $TWIDTH-11;
558 $any++; 562 $any++;
559 printf "%9d %s\n", $s, $f; 563 printf "%9d %s\n", $s, $f;
560 } 564 }