Module: ID3Lib::Accessors

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:

- title
- performer or artist
- album
- genre or content_type
- year
- track
- part_of_set or disc
- comment or comment_frames
- composer
- bpm

### Methods

album album= artist artist= band band= bpm bpm= comment comment= comment_frames composer composer= conductor conductor= content_type content_type= date date= disc disc= encoded_by encoded_by= genre genre= grouping grouping= interpreted_by interpreted_by= language language= lyricist lyricist= lyrics lyrics= part_of_set part_of_set= performer performer= publisher publisher= remixed_by remixed_by= subtitle subtitle= time time= title title= track track= year year=

### Public Instance methods

album()

[Source]

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

album=(v)

[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=

band()

[Source]

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

band=(v)

[Source]

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

bpm()

[Source]

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

bpm=(v)

[Source]

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

comment()

[Source]

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

comment=(v)

[Source]

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

comment_frames()

Returns an array of comment frames.

[Source]

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

composer()

[Source]

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

composer=(v)

[Source]

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

conductor()

[Source]

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

conductor=(v)

[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=

date()

[Source]

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

date=(v)

[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=

encoded_by()

[Source]

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

encoded_by=(v)

[Source]

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

genre()

[Source]

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

genre=(v)

[Source]

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

grouping()

[Source]

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

grouping=(v)

[Source]

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

interpreted_by()

[Source]

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

interpreted_by=(v)

[Source]

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

language()

[Source]

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

language=(v)

[Source]

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

lyricist()

[Source]

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

lyricist=(v)

[Source]

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

lyrics()

[Source]

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

lyrics=(v)

[Source]

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

part_of_set()

[Source]

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

part_of_set=(v)

[Source]

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

performer()

[Source]

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

performer=(v)

[Source]

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

publisher()

[Source]

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

publisher=(v)

[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=

subtitle()

[Source]

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

subtitle=(v)

[Source]

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

time()

[Source]

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

time=(v)

[Source]

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

title()

[Source]

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

title=(v)

[Source]

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

track()

[Source]

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

track=(v)

[Source]

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

year()

[Source]

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

year=(v)

[Source]

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

[Validate]