Module ID3Lib::Accessors
In: lib/id3lib/accessors.rb

The Accessors module defines accessor methods for ID3 text frames.

Most used accessors

Here‘s a list of the most used accessors:

Methods

Public Instance methods

[Source]

    # File lib/id3lib/accessors.rb, line 32
32:     def album()       frame_text(:TALB) end

[Source]

    # File lib/id3lib/accessors.rb, line 33
33:     def album=(v) set_frame_text(:TALB, v) end
artist()

Alias for performer

artist=(v)

Alias for performer=

[Source]

    # File lib/id3lib/accessors.rb, line 84
84:     def band()       frame_text(:TPE2) end

[Source]

    # File lib/id3lib/accessors.rb, line 85
85:     def band=(v) set_frame_text(:TPE2, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 63
63:     def bpm()       frame_text(:TBPM) end

[Source]

    # File lib/id3lib/accessors.rb, line 64
64:     def bpm=(v) set_frame_text(:TBPM, v.to_s) end

[Source]

    # File lib/id3lib/accessors.rb, line 51
51:     def comment()       frame_text(:COMM) end

[Source]

    # File lib/id3lib/accessors.rb, line 52
52:     def comment=(v) set_frame_text(:COMM, v) end

Returns an array of comment frames.

[Source]

    # File lib/id3lib/accessors.rb, line 55
55:     def comment_frames() select{ |f| f[:id] == :COMM } end

[Source]

    # File lib/id3lib/accessors.rb, line 57
57:     def composer()       frame_text(:TCOM) end

[Source]

    # File lib/id3lib/accessors.rb, line 58
58:     def composer=(v) set_frame_text(:TCOM, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 87
87:     def conductor()       frame_text(:TPE3) end

[Source]

    # File lib/id3lib/accessors.rb, line 88
88:     def conductor=(v) set_frame_text(:TPE3, v) end
content_type()

Alias for genre

content_type=(v)

Alias for genre=

[Source]

    # File lib/id3lib/accessors.rb, line 69
69:     def date()       frame_text(:TDAT) end

[Source]

    # File lib/id3lib/accessors.rb, line 70
70:     def date=(v) set_frame_text(:TDAT, v) end
disc()

Alias for part_of_set

disc=(v)

Alias for part_of_set=

[Source]

    # File lib/id3lib/accessors.rb, line 98
98:     def encoded_by()       frame_text(:TENC) end

[Source]

    # File lib/id3lib/accessors.rb, line 99
99:     def encoded_by=(v) set_frame_text(:TENC, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 35
35:     def genre()       frame_text(:TCON) end

[Source]

    # File lib/id3lib/accessors.rb, line 36
36:     def genre=(v) set_frame_text(:TCON, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 60
60:     def grouping()       frame_text(:TIT1) end

[Source]

    # File lib/id3lib/accessors.rb, line 61
61:     def grouping=(v) set_frame_text(:TIT1, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 90
90:     def interpreted_by()       frame_text(:TPE4) end

[Source]

    # File lib/id3lib/accessors.rb, line 91
91:     def interpreted_by=(v) set_frame_text(:TPE4, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 75
75:     def language()       frame_text(:TLAN) end

[Source]

    # File lib/id3lib/accessors.rb, line 76
76:     def language=(v) set_frame_text(:TLAN, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 81
81:     def lyricist()       frame_text(:TEXT) end

[Source]

    # File lib/id3lib/accessors.rb, line 82
82:     def lyricist=(v) set_frame_text(:TEXT, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 78
78:     def lyrics()       frame_text(:USLT) end

[Source]

    # File lib/id3lib/accessors.rb, line 79
79:     def lyrics=(v) set_frame_text(:USLT, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 46
46:     def part_of_set() frame_text(:TPOS) end

[Source]

    # File lib/id3lib/accessors.rb, line 47
47:     def part_of_set=(v) set_frame_text(:TPOS, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 27
27:     def performer()       frame_text(:TPE1) end

[Source]

    # File lib/id3lib/accessors.rb, line 28
28:     def performer=(v) set_frame_text(:TPE1, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 95
95:     def publisher()       frame_text(:TPUB) end

[Source]

    # File lib/id3lib/accessors.rb, line 96
96:     def publisher=(v) set_frame_text(:TPUB, v) end
remixed_by()

Alias for interpreted_by

remixed_by=(v)

Alias for interpreted_by=

[Source]

    # File lib/id3lib/accessors.rb, line 66
66:     def subtitle()       frame_text(:TIT3) end

[Source]

    # File lib/id3lib/accessors.rb, line 67
67:     def subtitle=(v) set_frame_text(:TIT3, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 72
72:     def time()       frame_text(:TIME) end

[Source]

    # File lib/id3lib/accessors.rb, line 73
73:     def time=(v) set_frame_text(:TIME, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 24
24:     def title()       frame_text(:TIT2) end

[Source]

    # File lib/id3lib/accessors.rb, line 25
25:     def title=(v) set_frame_text(:TIT2, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 43
43:     def track() frame_text(:TRCK) end

[Source]

    # File lib/id3lib/accessors.rb, line 44
44:     def track=(v) set_frame_text(:TRCK, v) end

[Source]

    # File lib/id3lib/accessors.rb, line 40
40:     def year() frame_text(:TYER) end

[Source]

    # File lib/id3lib/accessors.rb, line 41
41:     def year=(v) set_frame_text(:TYER, v) end

[Validate]