mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 03:14:04 +02:00
Update spectral_analysis.py
This commit is contained in:
@@ -12,7 +12,7 @@ from utils.helpers import get_settings
|
|||||||
# Define the directory containing the WAV files
|
# Define the directory containing the WAV files
|
||||||
conf = get_settings()
|
conf = get_settings()
|
||||||
input_directory = os.path.join(conf['RECS_DIR'], 'StreamData')
|
input_directory = os.path.join(conf['RECS_DIR'], 'StreamData')
|
||||||
output_directory = '/config'
|
output_directory = os.path.join(conf['RECS_DIR'], 'Extracted/Charts')
|
||||||
|
|
||||||
# Ensure the output directory exists
|
# Ensure the output directory exists
|
||||||
if not os.path.exists(output_directory):
|
if not os.path.exists(output_directory):
|
||||||
|
|||||||
Reference in New Issue
Block a user