Commit b9361c07 authored by Jan Kiene's avatar Jan Kiene
Browse files

modify md5 generation script to make it work for proc_input

also include MD files to be hashed
parent 8dfc3196
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ def get_duplicates(hashlines: list) -> dict:


def main(output_dir, out_file):
    wav_files = sorted(output_dir.glob("*/**/*c[0-9][0-9].wav"))
    wav_files = sorted(output_dir.glob("cat?/*.wav*"))

    hashlines = [get_hash_line_for_file(f, output_dir) for f in wav_files]
    duplicates = get_duplicates(hashlines)