Module: Id3Taginator::Frames::IplFrames
Instance Method Summary collapse
-
#involved_people ⇒ Array<Frames::Ipl::Entities::InvolvedPerson>
extracts the involved people list (IPLS/IPL).
-
#involved_people=(involved_people) ⇒ Object
sets the involved people (IPLS/IPL).
-
#remove_involved_people ⇒ Object
removes the involved people frame.
Methods included from Frameable
#find_frame, #find_frames, #set_frame_fields, #set_frame_fields_by_selector, #unsupported_frame
Instance Method Details
#involved_people ⇒ Array<Frames::Ipl::Entities::InvolvedPerson>
extracts the involved people list (IPLS/IPL)
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)
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_people ⇒ Object
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 |