fix python instance init, remove and edit clip meta, add meta on record
This commit is contained in:
@ -18,7 +18,6 @@ import threading
|
||||
app = Flask(__name__)
|
||||
|
||||
def main():
|
||||
global recorder, audio_manager
|
||||
# Create argument parser
|
||||
parser = argparse.ArgumentParser(description='Audio Recording Service')
|
||||
|
||||
@ -35,17 +34,6 @@ def main():
|
||||
|
||||
# Ensure save path exists
|
||||
os.makedirs(settings.get_settings('save_path'), exist_ok=True)
|
||||
|
||||
# Handle input device selection
|
||||
|
||||
# Create Singletons with correct parameters
|
||||
recorder = AudioRecorder(
|
||||
duration=settings.get_settings('recording_length'),
|
||||
recordings_dir=settings.get_settings('save_path'),
|
||||
# channels=min(2, devices[input_device]['max_input_channels']),
|
||||
)
|
||||
meta = MetaDataManager()
|
||||
audio_manager = WindowsAudioManager()
|
||||
|
||||
|
||||
# Register blueprints
|
||||
|
||||
Reference in New Issue
Block a user