lib/movie_normalizer.rb
#Create Audio-objects from Visuals that have audiotracks and adds them to the movie
Create Audio-objects from Visuals that have audiotracks and adds them to the movie
Create Audio - objects from Visuals that have audiotracks and adds them to the movie
def strip_audio(movie)
    for visual in movie.visual_sequence.visuals
      if visual.audio?
        audio = Audio.new(visual.file, visual.start_point, visual.end_point, visual.place, visual.volume_points)
        movie.audio_sequence.add_audio(audio)
      end
    end
  end
def strip_audio ( movie ) for visual in movie . visual_sequence . visuals if visual . audio? audio = Audio . new ( visual . file , visual . start_point , visual . end_point , visual . place , visual . volume_points ) movie . audio_sequence . add_audio ( audio ) end end end
Create Audio-objects from Visuals that have audiotracks and adds them to the movie
Create Audio - objects from Visuals that have audiotracks and adds them to the movie
movie
<not_specific>