Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/murfey/server/gain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Loading