Does anyone here have any experience with this mp3 player?  MPG123?
The Playlist file had 3 things in it.  I think that the player just didn't
start? but I'm not sure.  The script just finishes out and leaves the
program still running.  I have to kill it.  Anyone have any tips?  I can run
the player from the command line.
Thanks again.
Erik


use Audio::Play::MPG123;

$player = new Audio::Play::MPG123;


open(IN, "/var/www/html/Playlist");
@songs=<IN>;
print @songs;
close(IN);


foreach my $element(@songs){
        print $#songs;
        $player->load($element);
        shift @songs;
        $player->poll(1) until $player->state == 0;
}
---
Everyday we're told we live in the greatest country on earth and it's always
stated as an un deniable fact: Leos are born between July 23 and August 22,
fitted queen-size sheets measure 60x80 inches, and America is the greatest
country on earth. Having grown up with this in our ears, it's startling to
realize that other countries have nationalistic slogans too, none of which
are 'We're number two!
- Dave Sedaris, "Me Talk Pretty One Day "



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to