13 lines
263 B
Python
13 lines
263 B
Python
from ..types import File
|
|
from ..meta import r128gain_path, ffmpeg_path
|
|
|
|
from subprocess import run as run_command
|
|
|
|
|
|
def do_replaygain(file: File):
|
|
run_command([
|
|
r128gain_path,
|
|
"-f", ffmpeg_path,
|
|
"-s",
|
|
file.join_path_to()
|
|
]) |