The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

fdlscat

Run a cddb lscat command on a FreeDB/CDDB server

fdmotd

Run a motd command on a FreeDB/CDDB server

fdquery

Run a cddb query command on a FreeDB/CDDB server

fdrip

Rip a CD using FreeDB/CDDB info

fdsites

Run a sites command on a FreeDB/CDDB server

SYNOPSIS

fdlscat | fdmotd | fdsites

[--h] [--o <outfile>] [--protocol <protocol>] [--client_name <client_name>] [--client_version <client_version>] [--freedb_host <freedb_host>] [--freedb_port <freedb_port>] [--freedb_cgi <freedb_cgi>] [--proxy_host <proxy_host>] [--proxy_port <proxy_port>] [--proxy_user <proxy_user>] [--proxy_passwd <proxy_passwd>]

fdquery

[--h] [--i <infile>] [--o <outfile>] [--dev <device>] [--protocol <protocol>] [--client_name <client_name>] [--client_version <client_version>] [--freedb_host <freedb_host>] [--freedb_port <freedb_port>] [--freedb_cgi <freedb_cgi>] [--proxy_host <proxy_host>] [--proxy_port <proxy_port>] [--proxy_user <proxy_user>] [--proxy_passwd <proxy_passwd>]

fdrip

[--h] [--i <infile>] [--dev <device>] [--span <span>] [--protocol <protocol>] [--client_name <client_name>] [--client_version <client_version>] [--freedb_host <freedb_host>] [--freedb_port <freedb_port>] [--freedb_cgi <freedb_cgi>] [--proxy_host <proxy_host>] [--proxy_port <proxy_port>] [--proxy_user <proxy_user>] [--proxy_passwd <proxy_passwd>]

fdoggenc

[--h] [--i <infile>] [--dev <device>] [--oggenc_b <bitrate>] [--span <span>] [--protocol <protocol>] [--client_name <client_name>] [--client_version <client_version>] [--freedb_host <freedb_host>] [--freedb_port <freedb_port>] [--freedb_cgi <freedb_cgi>] [--proxy_host <proxy_host>] [--proxy_port <proxy_port>] [--proxy_user <proxy_user>] [--proxy_passwd <proxy_passwd>]

DESCRIPTION

The programs fdlscat, fdmotd, fdquery, fdrip, fdsites and fdoggenc use Net::FreeDB2 modules to obtain information from FreeDB/CDDB servers and to process it.

All these programs are implemented with a single Perl script which is intended as an example on how to use the Net::FreeDB2 modules. Hence there is a ceratin degree of simplification in the options parsing.

Options:

--h

Show usage.

--i

Input file. No default.

--o

Output file. Defaults to STDOUT.

--dev

CD device. Defaults to Net::FreeDB2's default.

--oggenc_b

Bitrate for OGG encoding. See oggenc.

--span

Span to rip or encode. Defaults to all tracks on CD.

Examples: 3-7 : from 3 until 7 -7 : from 1 until 7 7- : from 7 until the end of the CD 7 : 7 only 7-7 : 7 only

--protocol

The communication protocol: HTTP or CDDBP. Defaults to Net::FreeDB2's default.

--client_name

Client name. Defaults to fdcmds.

--client_version

Client version. Defaults to 0.5.0.

--freedb_host

FreeDB/CDDB host. Defaults to Net::FreeDB2's default.

--freedb_port

Port on FreeDB/CDDB host. Defaults to Net::FreeDB2's default.

--freedb_cgi

Cgi on FreeDB/CDDB HTTP host. Defaults to Net::FreeDB2's default.

--proxy_host

Proxy host.

--proxy_port

Port on proxy host. Defaults to Net::FreeDB2's default.

--proxy_user

User name for proxy host.

--proxy_passwd

Password for user on proxy host. Prompted for if empty and --proxy_host and --proxy_user are set.

SEE ALSO

fdcdi

EXAMPLE

Quick and dirty rip: $ fdrip

Slightly more sophisticated rip: $ fdcdi --o cd-tech.cddb $ fdquery --i cd-tech.cddb --o cd-query.cddb $ # Edit file cd-query.cddb $ fdrip --i cd-query.cddb

BUGS

None known (yet).

HISTORY

First development: September 2002

AUTHOR

Vincenzo Zocca <Vincenzo@Zocca.com>

COPYRIGHT

Copyright 2002, Vincenzo Zocca.

LICENSE

This file is part of the Net::FreeDB2 module hierarchy for Perl by Vincenzo Zocca.

The Net::FreeDB2 module hierarchy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The Net::FreeDB2 module hierarchy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Net::FreeDB2 module hierarchy; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA