Merge branch 'plugin_migration' into react_migration

This commit is contained in:
michalcourson
2026-02-22 13:11:40 -05:00
13 changed files with 258 additions and 60 deletions

View File

@ -16,7 +16,7 @@
{
"endTime": 30,
"filename": "C:\\Users\\mickl\\Desktop\\cliptrim-ui\\ClipTrimApp\\audio-service\\recordings\\audio_capture_20260220_193822.wav",
"name": "Pee pee poo poo",
"name": "Pee pee\npoo poo",
"playbackType": "playStop",
"startTime": 27.587412587412587,
"volume": 1

View File

@ -40,5 +40,14 @@ def recording_delete():
try:
os.remove(filename)
return jsonify({'status': 'success'})
except Exception as e:
return jsonify({'status': 'error', 'message': str(e)}), 400
@recording_bp.route('/playback/start', methods=['POST'])
def playback_start():
print('HTTP: Starting audio playback')
try:
# os.remove(filename)
return jsonify({'status': 'success'})
except Exception as e:
return jsonify({'status': 'error', 'message': str(e)}), 400