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:
parent
7a52926a43
commit
ffa22df1f2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user