1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-07-10 15:28:33 +00:00

Fix error if mutagen is not installed

This commit is contained in:
7x11x13 2024-12-14 19:00:05 -05:00
parent 7a52926a43
commit ffa22df1f2

View File

@ -58,6 +58,7 @@ class MetadataInfo(TypedDict):
episode_id: str | None
episode_sort: str | None
if mutagen:
@singledispatchmethod
@staticmethod
def _assemble_metadata(file: FileType, meta: MetadataInfo) -> None: