Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Create a playlist forby gav^ (Curate) |
on Dec 31, 2001 at 09:14 UTC ( [id://135333]=note: print w/replies, xml ) | Need Help?? |
Doh, sorry for the double post. Not sure what happened.
I just had a thought, what about making the playlists for a directory also contain all the mp3s? So that if you had c:/mp3s/cd/1 and c:/mp3s/cd/2 you'd end up with a m3u in c:/mp3s/cd that had both dirs in it's playlist. Just add a: return @songs; and change handle_dir("$dir/$file"); to unshift @songs, handle_dir("$dir/$file");
In Section
Code Catacombs
|
|