class Id3::TaggedFile

Defined in:

id3/tagged_file.cr

Constant Summary

SHORTCUTS = ["title", "artist", "album", "track", "year", "genre", "comment"]

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(v1 : Nil | Id3::V1::Tag, v2 : Nil | Id3::V2::Tag) #

[View source]

Class Method Detail

def self.read(f : File | Path) #

[View source]
def self.read(r : Reader, fast = false) #

[View source]

Instance Method Detail

def album #

[View source]
def artist #

[View source]
def comment #

[View source]
def genre #

[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 title #

[View source]
def track #

[View source]
def v1 : V1::Tag | Nil #

[View source]
def v2 : V2::Tag | Nil #

[View source]
def year #

[View source]