Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor changes to the console status output.

  • Loading branch information...
commit 80e04aa3f93ab595959a58d7a1d46bea6c96b95b 1 parent c2b933a
@dedeibel authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 diPlaylist.pl
View
8 diPlaylist.pl
@@ -40,12 +40,12 @@
# playlist, so just enter your player's command here, or
# leave it false.
#
-# $application = '';
+# $application = 'amarok';
my $user_agent = "Mozilla/5.0 (;;;;) Gecko/2009021906 Firefox/3.0.7";
$tmp = '/tmp/diPlaylist';
-$threads = 3;
+$threads = 4;
$start=getcwd;
sub main {
@@ -89,7 +89,7 @@ sub main {
print "*** download thread $t running.\n";
chdir $tmp;
get_files($OUTFILES->[$t]);
- print "*** download thread $t done.\n";
+ print "\n*** download thread $t done.\n";
exit;
}
}
@@ -142,7 +142,7 @@ sub get_files {
# Check the outcome of the response
if ($res->is_success) {
- local $| = 0;
+ local $| = 1;
next unless $res->content;
my $filename;
if ($url =~ m#/([^/]+)$#) {
Please sign in to comment.
Something went wrong with that request. Please try again.