1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 14:57:19 +08:00

Handle ImportError as a warning

This commit is contained in:
shin 2019-12-26 14:20:17 +05:30
parent e40d476168
commit 9556018388

View File

@ -8,7 +8,7 @@ try:
import imghdr
from mutagen.mp4 import MP4, MP4Cover, MP4MetadataError
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