CDDB
view release on metacpan or search on metacpan
Disc submissions had hardcoded revisions of 1. They should be 0 for
new discs and one more than the last for updates. Fixed submit_disc()
to honor its documented Revision parameter.
Fixed submit_disc() to transmit e-mail submissions using ISO-8859-1
(Latin 1) and quoted-printable. What's this mean? Basically: Western
European characters won't get mangled by intermediate mail servers.
Drew Taylor discovered that the tests fail on MSWin32 because
getpwuid() isn't implemented on that platform. Worked around its
absence on MSWin32 systems, and documented this bit of CDDB more
carefully.
*** 1.05 2001.05.03
Christoph Lorenz pointed out that the module is noisy even when
debugging is turned off. I made sure that all the carp calls are
behind debuging checks.
*** 1.04 2001.03.24
will be false, meaning we fall back to ASCII.
Protocol_Version sets the cddbp version to use. CDDB.pm will not
connect to servers that don't support the version specified here.
The requested protocol version defaults to 1 if Utf8 is off, and to
6 if it is on.
Login is the login ID you want to advertise to the cddbp server. It
defaults to the login ID your computer assigns you, if that can be
determined. The default login ID is determined by the presence of a
LOGNAME or USER environment variable, or by the getpwuid() function.
On Windows systems, it defaults to "win32usr" if no default method
can be found and no Login parameter is set.
Submit_Address is the e-mail address where new disc submissions go.
This defaults to 'freedb-submit@freedb.org'. Note, that testing
submissions should be done via "test-submit@freedb.org".
Client_Name and Client_Version describe the client software used to
connect to the cddbp server. They default to 'CDDB.pm' and CDDB.pm's
version number. If developers change this, please consult freedb's
README.mkdn view on Meta::CPAN
will be false, meaning we fall back to ASCII.
__Protocol\_Version__ sets the cddbp version to use. CDDB.pm will not
connect to servers that don't support the version specified here. The
requested protocol version defaults to 1 if __Utf8__ is off, and to 6
if it is on.
__Login__ is the login ID you want to advertise to the cddbp server.
It defaults to the login ID your computer assigns you, if that can be
determined. The default login ID is determined by the presence of a
LOGNAME or USER environment variable, or by the getpwuid() function.
On Windows systems, it defaults to "win32usr" if no default method can
be found and no Login parameter is set.
__Submit\_Address__ is the e-mail address where new disc submissions go.
This defaults to 'freedb-submit@freedb.org'. Note, that testing
submissions should be done via `test-submit@freedb.org`.
__Client\_Name__ and __Client\_Version__ describe the client software used
to connect to the cddbp server. They default to 'CDDB.pm' and
CDDB.pm's version number. If developers change this, please consult
lib/CDDB.pm view on Meta::CPAN
if (not defined $login) {
if (USING_WINDOWS) {
carp(
"Can't get login ID. Use Login parameter or " .
"set LOGNAME or USER environment variable. Using default login " .
"ID 'win32usr'"
);
$login = 'win32usr';
}
else {
$login = getpwuid($>)
or croak(
"Can't get login ID. " .
"Set LOGNAME or USER environment variable and try again: $!"
);
}
}
# Debugging flag.
my $debug = $param{Debug};
$debug = 0 unless defined $debug;
lib/CDDB.pm view on Meta::CPAN
will be false, meaning we fall back to ASCII.
B<Protocol_Version> sets the cddbp version to use. CDDB.pm will not
connect to servers that don't support the version specified here. The
requested protocol version defaults to 1 if B<Utf8> is off, and to 6
if it is on.
B<Login> is the login ID you want to advertise to the cddbp server.
It defaults to the login ID your computer assigns you, if that can be
determined. The default login ID is determined by the presence of a
LOGNAME or USER environment variable, or by the getpwuid() function.
On Windows systems, it defaults to "win32usr" if no default method can
be found and no Login parameter is set.
B<Submit_Address> is the e-mail address where new disc submissions go.
This defaults to 'freedb-submit@freedb.org'. Note, that testing
submissions should be done via C<test-submit@freedb.org>.
B<Client_Name> and B<Client_Version> describe the client software used
to connect to the cddbp server. They default to 'CDDB.pm' and
CDDB.pm's version number. If developers change this, please consult
( run in 0.433 second using v1.01-cache-2.11-cpan-8d75d55dd25 )