mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-09 12:39:58 +08:00
Handle ImportError as a warning
This commit is contained in:
parent
e40d476168
commit
9556018388
@ -8,7 +8,7 @@ try:
|
|||||||
import imghdr
|
import imghdr
|
||||||
from mutagen.mp4 import MP4, MP4Cover, MP4MetadataError
|
from mutagen.mp4 import MP4, MP4Cover, MP4MetadataError
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise Exception('[embedthumbnail] Mutagen isn\'t found, install from PyPI.')
|
raise Warning('[embedthumbnail] Mutagen isn\'t found for M4A thumbnail embedding, install from PyPI.')
|
||||||
|
|
||||||
from .ffmpeg import FFmpegPostProcessor
|
from .ffmpeg import FFmpegPostProcessor
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user