GoLang id3_get_genre_id

request it (78)
GoLang replacement for PHP's id3_get_genre_id [edit | history]



Do you know a GoLang replacement for PHP's id3_get_genre_id? Write it!

PHP id3_get_genre_id

PHP original manual for id3_get_genre_id [ show | php.net ]

id3_get_genre_id

(PECL id3 >= 0.1)

id3_get_genre_idGet the id for a genre

Description

int id3_get_genre_id ( string $genre )

id3_get_genre_id() returns the id for a genre.

Parameters

genre

Genre name as string.

Return Values

The genre id or FALSE on errors.

Examples

Example #1 id3_get_genre_id() example

<?php
$id 
id3_get_genre_id("Alternative");
echo 
$id;
?>

The above example will output:

20

See Also