commit: | 46c936173c5b03efa38d26598a08a258cde9636b |
author: | Chip Black |
committer: | Chip Black |
date: | Mon Feb 9 02:57:20 2009 -0600 |
parents: | a3c803811a408d3a923a24ec1507281ae044b62b |
diff --git a/omake/ut-web b/omake/ut-web line changes: +3/-2 index cb1d0df..8b62d8a --- a/omake/ut-web +++ b/omake/ut-web
@@ -38,6 +38,7 @@ sub udb_snarf { my $dir = shift; # Initialize a dir mkdir "$dir"; +mkdir "$dir/songs"; for (<$resources/*>) { copy $_, $dir; }
@@ -51,7 +52,7 @@ print PLAYLIST <<XML; <tracklist> XML -open CONV, "| conv $convopts -o . -s -i mp3"; +open CONV, "| conv $convopts -o songs -s -i mp3"; while (<STDIN>) { chomp;
@@ -64,7 +65,7 @@ while (<STDIN>) { my $name = basename $_; (my $outname = $name) =~ s/\.[^.]+$/\.mp3/; - $outname = url_escape($outname); + $outname = 'songs/' . url_escape($outname); # snarf some info my $info = udb_snarf($_);