lib/batch_audio_convert/file_utils.rb
def populate_list_of_files_from_file(file_list, entry)
    logger.debug "\"#{entry}\" is a file. Processing..."
    file_list << entry
    # Find images if any
    Find.find(File.dirname(entry)) do |file|
      file_list << file if (File.file?(file) && is_image?(file))
    end
  end
# Adds one file + its associated images if any
Adds one file + its associated images if any
Adds one file + its associated images if any
def populate_list_of_files_from_file(file_list, entry)
    logger.debug "\"#{entry}\" is a file. Processing..."
    file_list << entry
    Find.find(File.dirname(entry)) do |file|
      file_list << file if (File.file?(file) && is_image?(file))
    end
  end
def populate_list_of_files_from_file ( file_list , entry ) logger . debug "\"#{entry}\" is a file. Processing..." file_list << entry Find . find ( File . dirname ( entry ) ) do | file | file_list << file if ( File . file? ( file ) && is_image? ( file ) ) end end
Adds one file + its associated images if any
Adds one file + its associated images if any
# Find images if any
file_list
entry