laziness, impatience, and hubris | |
PerlMonks |
Re: Managing and sending signals to control MPG321by valdez (Monsignor) |
on Apr 04, 2005 at 21:36 UTC ( [id://444814]=note: print w/replies, xml ) | Need Help?? |
I will not comment on your code, I like the idea of suspending jobs, but it would be better to use mpg321 remote interface, it's simpler and IMHO much more cleaner. If you really need to suspend execution, you could save the player status and restore it later, it's not difficult using one of the available modules on CPAN; I would start from Audio::Daemon::MPG123, Audio::Play::MPG123 or MP3::Daemon. Ciao, Valerio
In Section
Seekers of Perl Wisdom
|
|