string parseFieldFromRecord(
string
$str, string
$field)
|
|
Extract/parse just a single field by key from a CDDB record
Most of the data in a CDDB file format has a key associated with it, you can use this method to extract the value for just one key. Here are the available keys:
- DISCID (8-character disc id)
- DTITLE (title/artist of disc)
- DYEAR (year disc was published)
- DGENRE (genre of music)
- TTITLE* (where * is the track number you want)
- EXTD (extra data about disc)
- YEAR (...?)
- EXTT* (where * is the track number you want to extra data for)
- PLAYORDER (custom play-order of the tracks?)
Parameters: