Net_CDDB
[ class tree: Net_CDDB ] [ index: Net_CDDB ] [ all elements ]

File: CDDB.php

Source Location: /Net_CDDB-0.3.0/CDDB.php

Classes:

Net_CDDB
Base class for CDDB Client and Server classes

Page Details:

Object-oriented interface to accessing CDDB servers

CDDB servers provide track/artist/album/etc. information about audio CDs. A disc-id is calculated for an audio CD and then the CDDB database can be queried for possible matches. Detailed data can then be retrieved from the CDDB database including track titles, album name, artist name, disc year, genre, etc.

Includes:

require_once('PEAR.php') [line 29]
PEAR class for error handling
require_once('Net/CDDB/Utilities.php') [line 34]
Utilities class for disc id calculation

NET_CDDB_FIELD_DISC_TITLE [line 185]

NET_CDDB_FIELD_DISC_TITLE = 'DTITLE'
CDDB record file format key for the disc title

[ Top ]



NET_CDDB_PROTO_LEVEL [line 47]

NET_CDDB_PROTO_LEVEL = 5
CDDB protocol level ***DO NOT CHANGE THIS***

[ Top ]



NET_CDDB_REQUEST_ONCE [line 190]

NET_CDDB_REQUEST_ONCE = 'once'
CDDB server mode to handle just a single CDDB command

[ Top ]



NET_CDDB_RESPONSE_ERROR_ALREADY [line 173]

NET_CDDB_RESPONSE_ERROR_ALREADY = 502
Error, parameter already set to value

[ Top ]



NET_CDDB_RESPONSE_ERROR_EMPTY [line 161]

NET_CDDB_RESPONSE_ERROR_EMPTY = 500
Error, empty CDDB command

[ Top ]



NET_CDDB_RESPONSE_ERROR_ILLEGAL [line 167]

NET_CDDB_RESPONSE_ERROR_ILLEGAL = 501
Error, illegal parameter value

[ Top ]



NET_CDDB_RESPONSE_ERROR_SYNTAX [line 149]

NET_CDDB_RESPONSE_ERROR_SYNTAX = 500
Error, invalid command syntax

[ Top ]



NET_CDDB_RESPONSE_ERROR_TIMEOUT [line 179]

NET_CDDB_RESPONSE_ERROR_TIMEOUT = 530
Error, timeout

[ Top ]



NET_CDDB_RESPONSE_ERROR_UNRECOGNIZED [line 155]

NET_CDDB_RESPONSE_ERROR_UNRECOGNIZED = 500
Error, unrecognized CDDB command

[ Top ]



NET_CDDB_RESPONSE_OK [line 53]

NET_CDDB_RESPONSE_OK = 200
Command OK

[ Top ]



NET_CDDB_RESPONSE_OK_FOLLOWS [line 77]

NET_CDDB_RESPONSE_OK_FOLLOWS = 210
Command OK, response/list follows

[ Top ]



NET_CDDB_RESPONSE_OK_INEXACT [line 83]

NET_CDDB_RESPONSE_OK_INEXACT = 211
Command OK, inexact match, list follows

[ Top ]



NET_CDDB_RESPONSE_OK_NOMATCH [line 71]

NET_CDDB_RESPONSE_OK_NOMATCH = 202
Command OK, no match found

[ Top ]



NET_CDDB_RESPONSE_OK_RO [line 65]

NET_CDDB_RESPONSE_OK_RO = 201
Hello OK, database is read only

[ Top ]



NET_CDDB_RESPONSE_OK_SET [line 59]

NET_CDDB_RESPONSE_OK_SET = 201
Command OK, parameter set

[ Top ]



NET_CDDB_RESPONSE_SERVER_ALREADY [line 101]

NET_CDDB_RESPONSE_SERVER_ALREADY = 402
Command OK, already shook hands

[ Top ]



NET_CDDB_RESPONSE_SERVER_BADHANDSHAKE [line 125]

NET_CDDB_RESPONSE_SERVER_BADHANDSHAKE = 431
Command OK, internal server error

[ Top ]



NET_CDDB_RESPONSE_SERVER_CGIERR [line 113]

NET_CDDB_RESPONSE_SERVER_CGIERR = 408
Command OK, internal CGI server error

[ Top ]



NET_CDDB_RESPONSE_SERVER_CORRUPT [line 107]

NET_CDDB_RESPONSE_SERVER_CORRUPT = 403
Command OK, database entry corrupt

[ Top ]



NET_CDDB_RESPONSE_SERVER_ERROR [line 95]

NET_CDDB_RESPONSE_SERVER_ERROR = 402
Command OK, internal server error

[ Top ]



NET_CDDB_RESPONSE_SERVER_NOHANDSHAKE [line 119]

NET_CDDB_RESPONSE_SERVER_NOHANDSHAKE = 409
Command OK, need handshake

[ Top ]



NET_CDDB_RESPONSE_SERVER_NOPERM [line 131]

NET_CDDB_RESPONSE_SERVER_NOPERM = 432
Command OK, permission denied

[ Top ]



NET_CDDB_RESPONSE_SERVER_SYSLOAD [line 143]

NET_CDDB_RESPONSE_SERVER_SYSLOAD = 434
Command OK, system load too high

[ Top ]



NET_CDDB_RESPONSE_SERVER_TOOMANYUSERS [line 137]

NET_CDDB_RESPONSE_SERVER_TOOMANYUSERS = 433
Command OK, too many users

[ Top ]



NET_CDDB_RESPONSE_SERVER_UNAVAIL [line 89]

NET_CDDB_RESPONSE_SERVER_UNAVAIL = 401
Command OK, service/file unavailable/not found

[ Top ]



NET_CDDB_VERSION [line 41]

NET_CDDB_VERSION = '0.3.0'
Net_CDDB PEAR package version

[ Top ]



Documentation generated on Sun, 25 Feb 2007 14:00:06 -0500 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.