Windows has no "internal method" to play mp3s. At best, you can have a codec that decodes .wav files encoded with the Layer-III codec (for example by the Fraunhofer Institut).
Your best bet short of manually decoding the mp3 stream or linking a mp3 player DLL is to launch the mp3 file through the shell facilities:
# one of my favourite songs! my $mp3 = "Unknown Artist - 02 - unknown.mp3"; system(qq{start "$mp3" "$mp3"});
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
In reply to Re: Playing MP3 file?
by Corion
in thread Playing MP3 file?
by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |