diff --git a/src/murfey/server/gain.py b/src/murfey/server/gain.py index 1153b70f..efdc5eba 100644 --- a/src/murfey/server/gain.py +++ b/src/murfey/server/gain.py @@ -3,6 +3,7 @@ import asyncio import logging import os +import shutil from enum import Enum from pathlib import Path from typing import Dict, Tuple @@ -130,4 +131,6 @@ async def prepare_eer_gain( f"{stderr.decode('utf-8').strip()}" ) return None, None + # Also copy the gain as a .gain file + shutil.copy(secure_path(gain_path), secure_path(gain_out.with_suffix(".gain"))) return gain_out, None