mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
Tests won't yell that mutagen is missing
This commit is contained in:
parent
17f82ec733
commit
0fab63b776
@ -5,8 +5,11 @@ from __future__ import unicode_literals
|
||||
import os
|
||||
from .ffmpeg import FFmpegPostProcessor
|
||||
|
||||
import imghdr
|
||||
from mutagen.mp4 import MP4, MP4Cover, MP4MetadataError
|
||||
try:
|
||||
import imghdr
|
||||
from mutagen.mp4 import MP4, MP4Cover, MP4MetadataError
|
||||
except ImportError:
|
||||
print("[embedthumbnail] MP4 thumbnail embedding cannot be done, mutagen is missing.")
|
||||
|
||||
from ..utils import (
|
||||
prepend_extension,
|
||||
|
Loading…
Reference in New Issue
Block a user