From efacf0c2e5291b414d0101f4dd946227888409e8 Mon Sep 17 00:00:00 2001 From: mrsobakin <68982655+mrsobakin@users.noreply.github.com> Date: Wed, 25 Dec 2024 10:58:58 +0300 Subject: [PATCH] Fix ID3v2 metadata extraction --- lrc_dl/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lrc_dl/core.py b/lrc_dl/core.py index f4e26eb..70dc380 100644 --- a/lrc_dl/core.py +++ b/lrc_dl/core.py @@ -14,7 +14,7 @@ class Song: @classmethod def from_file(cls, path: Path) -> Self: - metadata = mutagen.File(path) + metadata = mutagen.File(path, easy=True) if "title" not in metadata or "artist" not in metadata: raise RuntimeError("Song is missing title or artist name")