fix: update eq.py to call ./apply.sh --bake for full reliable WirePlumber reload and volume restoration

This commit is contained in:
mynameisdeleted
2026-09-01 09:45:17 -04:00
parent 4cd548c643
commit 906470ba2d

4
eq.py
View File

@@ -90,8 +90,8 @@ def save_and_apply(eq_data):
with open(USER_EQ_PATH, 'w') as f:
json.dump(eq_data, f, indent=4)
print(f"Saved {USER_EQ_PATH}")
print("Baking FIR filters & hot-reloading into PipeWire (zero audio drop)...")
subprocess.run([os.path.join(SCRIPT_DIR, "apply.sh"), "--bake", "--hot"])
print("Baking FIR filters & applying to PipeWire...")
subprocess.run([os.path.join(SCRIPT_DIR, "apply.sh"), "--bake"])
def show_status(eq_data):
print("=================================================================")