<commit_before>#!/opt/local/bin/python

import subprocess

def play(file_name) :
    print("Playing file %s" % file_name)
    subprocess.Popen(["afplay", file_name]).wait()

def can_play(root, filename) :
    return True
<commit_msg>Added filtering of none music files<commit_after>#!/opt/local/bin/python

import subprocess

def play(file_name) :
    print("Playing file %s" % file_name)
    subprocess.Popen(["afplay", file_name]).wait()

def can_play(root, filename) :
    return filename.endswith(".m4a") or filename.endswith("mp3")

{'fraction_non_alphanumeric': 0.14338919925512103, 'fraction_numerical': 0.0037243947858473, 'mean_word_length': 4.912087912087912, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7606012', 'n_tokens_mistral': 192, 'n_tokens_neox': 184, 'n_words': 39}