/[cvs]/nfo/perl/scripts/giantdisc/bin/gdc.pl
ViewVC logotype

Annotation of /nfo/perl/scripts/giantdisc/bin/gdc.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Tue Mar 8 16:00:57 2005 UTC (19 years, 4 months ago) by joko
Branch: MAIN
File MIME type: text/plain
+ initial commit

1 joko 1.1 #!/usr/bin/perl
2    
3     ##################################################
4     #
5     # GiantDisc mp3 Jukebox Client
6     #
7     # 2005, Andreas Motl
8     #
9     ##################################################
10    
11    
12     # Client script talking to GiantDisc TCP port.
13     #
14     # Purpose: Trigger "Rip CD" from remote
15    
16     use strict;
17     use warnings;
18    
19     use Data::Dumper;
20     use gdclient;
21    
22     my $payload = [
23     'Guano Apes',
24     'Open Your Eyes',
25     '',
26     '',
27     '',
28     '',
29     '0',
30     '0',
31     '189',
32     '0',
33     '1e0c1f12',
34     '1',
35     '',
36     '0',
37     '0',
38     '',
39     '',
40     'mp3 192'
41     ];
42    
43    
44     gd_connect("siggi");
45     gd_command("reccdt", @$payload);
46     gd_disconnect();
47    
48    
49     ###############################################################################

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed