feat: replace loguru with logging

This commit is contained in:
jo 2023-02-26 01:27:00 +01:00 committed by Kyle Robbertze
parent cced09f1ac
commit c6940db289
34 changed files with 138 additions and 245 deletions

View file

@ -1,12 +1,13 @@
import logging
from datetime import timedelta
from math import isclose
from subprocess import CalledProcessError
from typing import Any, Dict
from loguru import logger
from ._ffmpeg import compute_silences, probe_duration
logger = logging.getLogger(__name__)
def analyze_duration(filepath: str, metadata: Dict[str, Any]) -> Dict[str, Any]:
"""