Exemple #1
0
def main():
    """TODO"""

    path = os.path.join(SOUNDS_DIR, 'kano_safe_mode.wav')

    while True:
        play_sound(path, delay=10)
Exemple #2
0
def play_sounds(filename):
    print os.path.realpath(os.path.join(_get_static_dir(), filename))
    sound_file = os.path.realpath(os.path.join(_get_static_dir(), filename))
    play_sound(sound_file)

    return ''
Exemple #3
0
def play_sounds(filename):
    sound_file = os.path.realpath(os.path.join(_get_static_dir(), filename))
    play_sound(sound_file)

    return ''