Provides a list of the comments extracted from the Vorbis stream.
It is recommended that the user fully inspect the array returned by this function rather than blindly requesting a comment in false belief that it will always be present. Whilst the Vorbis specification dictates a number of popular comments (e.g. TITLE, ARTIST, etc.) for use in Vorbis streams, they are not guaranteed to appear.
string getField(
string
$commentTitle, [string
$separator = ", "])
|
|
Provides an interface to the numerous comments located with a Vorbis stream.
A Vorbis stream may contain one or more instances of each comment, so the user should check the variable type before printing out the result of this method. The situation in which multiple instances of a comment occurring are not as rare as one might think, since they are conceivable at least for ARTIST comments in the situation where a track is a duet.
Parameters:
Vendor of software used to encode this stream.
Gives the vendor string for the software used to encode this stream. It is common to find libVorbis here. The majority of encoders appear to use libvorbis from Xiph.org.