in reply to interface with USB and perl
First of all, look if your MiniDisk vendor has a file system driver for the player. Then you can simply use Perl to copy the tracks off and onto your player.
Most likely though, your vendor has not yet recognized, that a file system is one of the better ways to export data to the end user by leveraging what the end user already has and knows - digital cameras also took a long way until they simply provided a file system and let the file manager deal with moving, displaying and erasing images.
Connecting to a USB device is a not so easy task in any language - I would recommend you automate your vendors application. If you are using Windows, Win32::GUITest is a very good tool to automate foreign programs from within Perl. You do lose the "transparent automation" in the background though, unless you start that application (from within Perl) on another desktop though.
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: interface with USB and perl
by Sihal (Pilgrim) on Jan 15, 2003 at 09:48 UTC | |
|
Re: Re: interface with USB and perl
by Sihal (Pilgrim) on Jan 15, 2003 at 10:44 UTC | |
by Corion (Patriarch) on Jan 15, 2003 at 11:05 UTC | |
by Sihal (Pilgrim) on Jan 15, 2003 at 11:09 UTC | |
by Sihal (Pilgrim) on Jan 15, 2003 at 11:59 UTC | |
by Corion (Patriarch) on Jan 15, 2003 at 13:13 UTC | |
by Sihal (Pilgrim) on Jan 15, 2003 at 14:15 UTC | |
|
Re: Re: interface with USB and perl
by Sihal (Pilgrim) on Jan 15, 2003 at 12:11 UTC |