Module: Id3Taginator::Frames::IplFrames

Includes:
Frameable
Included in:
Id3v2Tag
Defined in:
lib/id3taginator/frames/ipl_frames.rb

Instance Method Summary collapse

Methods included from Frameable

#find_frame, #find_frames, #set_frame_fields, #set_frame_fields_by_selector, #unsupported_frame

Instance Method Details

#involved_peopleArray<Frames::Ipl::Entities::InvolvedPerson>

extracts the involved people list (IPLS/IPL)

Returns:



11
12
13
14
15
16
# File 'lib/id3taginator/frames/ipl_frames.rb', line 11

def involved_people
  frame = find_frame(Ipl::InvolvedPeopleFrame.frame_id(@major_version, @options))
  return [] if frame.nil?

  frame.involved_people
end

#involved_people=(involved_people) ⇒ Object

sets the involved people (IPLS/IPL)

Parameters:



21
22
23
# File 'lib/id3taginator/frames/ipl_frames.rb', line 21

def involved_people=(involved_people)
  set_frame_fields(Ipl::InvolvedPeopleFrame, [:@involved_people], involved_people)
end

#remove_involved_peopleObject

removes the involved people frame



26
27
28
# File 'lib/id3taginator/frames/ipl_frames.rb', line 26

def remove_involved_people
  @frames.delete_if { |f| f.frame_id == Ipl::InvolvedPeopleFrame.frame_id(@major_version, @options) }
end