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::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::__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(); ?>

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

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_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_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_genre_name

(PECL id3 >= 0.1) Get the name for a genre id string id3_get_genre_name ( int $genre_id ) id3_get_genre_name() returns the name for a genre id. Parameters: genre_id An integer ranging from 0 to 147 Returns: Returns the name as a string. Examples: id3_get_genre_name() example

id3_get_genre_list

(PECL id3 >= 0.1) Get all possible genre values array id3_get_genre_list ( void ) id3_get_genre_list() returns an array containing all possible genres that may be stored in an ID3 tag. This list has been created by Eric Kemp and later extended by WinAmp. This function is useful to provide you users a list of genres from which they may choose one. When updating the ID3 tag you will always have to specify the genre as an

id3_get_genre_id

(PECL id3 >= 0.1) Get the id for a genre int id3_get_genre_id ( string $genre ) id3_get_genre_id() returns the id for a genre. Parameters: genre Genre name as string. Returns: The genre id or FALSE on errors. Examples: id3_get_genre_id() example <?php $id = id3_get