getid3_id3v1::LookupGenreID

Advertisement

Syntax Syntax

getid3_id3v1::LookupGenreID( string $genre, bool $allowSCMPXextended = false )

Parameters Parameters

$genre

(Required)

$allowSCMPXextended

(Optional)

Default value: false

Return Return

(string|false)

Source Source

File: wp-includes/ID3/module.tag.id3v1.php

	/**
	 * @param string $genre
	 * @param bool   $allowSCMPXextended
	 *
	 * @return string|false
	 */
	public static function LookupGenreID($genre, $allowSCMPXextended=false) {
		$GenreLookup = self::ArrayOfGenres($allowSCMPXextended);
		$LowerCaseNoSpaceSearchTerm = strtolower(str_replace(' ', '', $genre));

Advertisement

Advertisement

Leave a Reply