Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: MP3 server with IO::Socket

by ryan (Pilgrim)
on Jan 03, 2002 at 11:28 UTC ( #135931=note: print w/replies, xml ) Need Help??


in reply to MP3 server with IO::Socket

I too just tried this out. Works brilliantly first go. I modified it to traverse my MP3 directories instead of using a playlist using a common bit of stolen code:
use File::Find; my @songs; sub eachFile { if (-e $_ && $_ =~ /\.mp3$/) { push @songs, $File::Find::name;} } find (\&eachFile, "/storage/mp3/");
I've got this running under Debian on an old Pentium holding over 7000 MP3s and it creates the array suprisingly fast.

Ryan

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://135931]
help
Chatterbox?
[karlgoethebier]: LanX: no cuke?
[karlgoethebier]: btw, Churchill preferred 12 of these drinks instead of diet coke...
[LanX]: KGB that's amatter of perspective
[erix]: when you name is KirchenHuegel you want some compensation
LanX was googling for Kirchenhügel ... till he realized someone is translating Church-Hill to German... (slapping forhead)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-12-12 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (335 votes). Check out past polls.

    Notices?