id3_get_tag

(PECL id3 >= 0.1) Get all information stored in an ID3 tag array id3_get_tag ( string $filename [, int $version = ID3_BEST ] ) id3_get_tag() is used to get all information stored in the id3 tag of the specified file. Parameters: filename The path to the MP3 file Instead of a filename you may also pass a valid stream resource version

id3_get_version

(PECL id3 >= 0.1) Get version of an ID3 tag int id3_get_version ( string $filename ) id3_get_version() retrieves the version(s) of the ID3 tag(s) in the MP3 file. If a file contains an ID3 v1.1 tag, it always contains a 1.0 tag, as version 1.1 is just an extension of 1.0. Parameters: filename The path to the MP3 file Instead of a filename you may also pass a valid

id3_remove_tag

(PECL id3 >= 0.1) Remove an existing ID3 tag bool id3_remove_tag ( string $filename [, int $version = ID3_V1_0 ] ) id3_remove_tag() is used to remove the information stored of an ID3 tag. Parameters: filename The path to the MP3 file Instead of a filename you may also pass a valid stream resource version Allows you to specify the

id3_set_tag

(PECL id3 >= 0.1) Update information stored in an ID3 tag bool id3_set_tag ( string $filename, array $tag [, int $version = ID3_V1_0 ] ) id3_set_tag() is used to change the information stored of an ID3 tag. If no tag has been present, it will be added to the file. Parameters: filename The path to the MP3 file Instead of a filename you may also pass a valid stream re

KTaglib_MPEG_File::__construct

(0.0.1) Opens a new file public KTaglib_MPEG_File::__construct ( string $filename ) Opens a new MPEG file. Parameters: filename The file to read Examples: Opens a new MP3 file and read the title <?php $mpeg = new KTaglib_MPEG_File('example.mp3'); echo $mpeg->getID3v1Tag()->getTitle(); ?>

KTaglib_MPEG_File::getAudioProperties

(0.0.1) Returns an object that provides access to the audio properties public KTaglib_MPEG_File KTaglib_MPEG_File::getAudioProperties ( void ) Returns an object that provides access to the audio properties of the mpeg file. Returns: Returns an KTaglib_MPEG_AudioProperties object or false.

KTaglib_MPEG_File::getID3v1Tag

(0.0.1) Returns an object representing an ID3v1 tag public KTaglib_ID3v1_Tag KTaglib_MPEG_File::getID3v1Tag ([ bool $create = false ] ) Returns an object that represents an ID3v1 tag, which can be used to get information about the ID3v1 tag. Returns: Returns an KTaglib_MPEG_ID3v1Tag object or false if there is no ID3v1 tag.

KTaglib_MPEG_File::getID3v2Tag

(0.0.1) Returns a ID3v2 object public KTaglib_ID3v2_Tag KTaglib_MPEG_File::getID3v2Tag ([ bool $create = false ] ) Returns a ID3v2 object for the mpeg file. If no ID3v2 Tag is present, an KTaglib_TagNotFoundException is thrown. Returns: Returns the KTaglib_ID3v2_Tag object of the MPEG file or false if there is no ID3v2 tag

KTaglib_MPEG_AudioProperties::getBitrate

(0.0.1) Returns the bitrate of the MPEG file public int KTaglib_MPEG_AudioProperties::getBitrate ( void ) Returns the bitrate of the MPEG file Returns: Returns the bitrate as an integer

KTaglib_MPEG_AudioProperties::getChannels

(0.0.1) Returns the amount of channels of a MPEG file public int KTaglib_MPEG_AudioProperties::getChannels ( void ) Returns the amount of channels of the MPEG file Returns: Returns the channel count as an integer