Module: TagLib::ID3v1

Defined in:
docs/taglib/id3v1.rb

Defined Under Namespace

Classes: Tag

Instance Method Summary collapse

Instance Method Details

#genre(index) ⇒ String

Returns the name of genre at index in the ID3v1 genre list.

Returns:

  • (String)

    the name of genre at index in the ID3v1 genre list.

Since:

  • 1.0.0



26
27
# File 'docs/taglib/id3v1.rb', line 26

def genre(index)
end

#genre_index(name) ⇒ String

Returns the genre index for the (case sensitive) genre name.

Returns:

  • (String)

    the genre index for the (case sensitive) genre name.

Since:

  • 1.0.0



32
33
# File 'docs/taglib/id3v1.rb', line 32

def genre_index(name)
end

#genre_listArray<String>

Returns the ID3v1 genre list.

Returns:

  • (Array<String>)

    the ID3v1 genre list.

Since:

  • 1.0.0



14
15
# File 'docs/taglib/id3v1.rb', line 14

def genre_list
end

#genre_mapMap<String, int>

Returns the map associating a genre to its index.

Returns:

  • (Map<String, int>)

    the map associating a genre to its index.

Since:

  • 1.0.0



20
21
# File 'docs/taglib/id3v1.rb', line 20

def genre_map
end