Kevin Dalley
2004-01-02 17:17:21 UTC
The function db_read allows multiple revision lines (# Revision: n).
DBFORMAT seems to allow only one revision string.
Being nice to users is fine, but I favor being strict with the client
programs and making the follow the defined format. I believe that the
responses to a "cddb read" request removes the extra lines, if they
have not been removed during the submission process. Thus, clients
don't have to know how to handle non-standard files.
I did find two files in the database with doubled revision lines.
Both of them had one blank revision in addition to one numbered
revision.
Are there any known clients which submit files with multiple revision
lines?
DBFORMAT seems to allow only one revision string.
Being nice to users is fine, but I favor being strict with the client
programs and making the follow the defined format. I believe that the
responses to a "cddb read" request removes the extra lines, if they
have not been removed during the submission process. Thus, clients
don't have to know how to handle non-standard files.
I did find two files in the database with doubled revision lines.
Both of them had one blank revision in addition to one numbered
revision.
Are there any known clients which submit files with multiple revision
lines?
--
Kevin Dalley
***@kelphead.org
Kevin Dalley
***@kelphead.org