Problems? Is your data what you think it is? | |
PerlMonks |
Creating a Complete Wrapper for a Compiled Programby Vautrin (Hermit) |
on Mar 30, 2004 at 19:06 UTC ( [id://341057]=perlquestion: print w/replies, xml ) | Need Help?? |
Vautrin has asked for the wisdom of the Perl Monks concerning the following question: I am trying to create a Perl script to take a CD, and automatically rip it, encode it, organize the files, and save the data in a database so that I can tell the script to DJ for me. For instance, I want to be able to tell the program to [;ay x hours of music and the percentage of each genre to include. Furthermore, I want it to use Tk, so that it looks cool. I am running into problems with cdparanoia. When cdparanoia runs, it outputs a very detailed status message to the screen. Is there a way to capture what cdparanoia is sending to the terminal, so that I can read in the data (i.e. the progress), and then use that to update a Tk based status bar? I thought about redirecting the output of cdparanoia via a pipe to a perl script or something of that nature, but I was wondering if anyone knows of a more elegant way. Also, I already checked CPAN, and the only cdparanoia module I found, POE::Component::CD::Rip doesn't meet my needs. Many thanks in advance, Vautrin Want to support the EFF and FSF by buying cool stuff? Click here.
Back to
Seekers of Perl Wisdom
|
|