diff --git a/util.py b/util.py index 98d9b59e..4f6f671f 100644 --- a/util.py +++ b/util.py @@ -84,7 +84,7 @@ def random_10_digit_int(): return random.randint(10 ** 9, 10 ** 10 - 1) -def convert_egg_to_ogg_and_get_length(egg_path: str): +def convert_egg_to_ogg_and_get_length(egg_path: str) -> tuple[str, float]: ogg_path = egg_path.replace('.egg', '.ogg') subprocess.run( ['ffmpeg', '-loglevel', 'quiet', '-y', '-i', egg_path, ogg_path],