class Id3::V2::Tag

Defined in:

id3/v2.cr

Constant Summary

SHORTCUTS = {"TIT2" => :title, "TPE1" => :artist, "TALB" => :album, "TRCK" => :track, "TYER" => :year, "TCON" => :genre, "COMM" => :comment}

Constructors

Instance Method Summary

Constructor Detail

def self.new(header : Id3::V2::Header, frames : Array(Id3::V2::Frame)) #

[View source]

Instance Method Detail

def album #

[View source]
def all(id : String) : Array(Frame) #

[View source]
def artist #

[View source]
def basics? #

[View source]
def comment #

[View source]
def end_pos(*args, **options) #

[View source]
def end_pos(*args, **options, &) #

[View source]
def first(id : String) : Frame #

[View source]
def first?(id : String) : Frame | Nil #

[View source]
def frames : Array(Frame) #

[View source]
def genre #

[View source]
def header : Header #

[View source]
def pretty_print(pp : PrettyPrint) #
Description copied from class Object

Pretty prints self into the given printer.

By default appends a text that is the result of invoking #inspect on self. Subclasses should override for custom pretty printing.


[View source]
def size #

[View source]
def title #

[View source]
def track #

[View source]
def year #

[View source]