mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 07:07:15 +08:00
Mutagen is a required dependency.
This commit is contained in:
parent
9556018388
commit
17f82ec733
3
setup.py
3
setup.py
@ -114,6 +114,9 @@ setup(
|
||||
'youtube_dl',
|
||||
'youtube_dl.extractor', 'youtube_dl.downloader',
|
||||
'youtube_dl.postprocessor'],
|
||||
install_requires=[
|
||||
'mutagen'
|
||||
],
|
||||
|
||||
# Provokes warning on most systems (why?!)
|
||||
# test_suite = 'nose.collector',
|
||||
|
@ -3,15 +3,11 @@ from __future__ import unicode_literals
|
||||
|
||||
|
||||
import os
|
||||
|
||||
try:
|
||||
import imghdr
|
||||
from mutagen.mp4 import MP4, MP4Cover, MP4MetadataError
|
||||
except ImportError:
|
||||
raise Warning('[embedthumbnail] Mutagen isn\'t found for M4A thumbnail embedding, install from PyPI.')
|
||||
|
||||
from .ffmpeg import FFmpegPostProcessor
|
||||
|
||||
import imghdr
|
||||
from mutagen.mp4 import MP4, MP4Cover, MP4MetadataError
|
||||
|
||||
from ..utils import (
|
||||
prepend_extension,
|
||||
encodeFilename,
|
||||
|
Loading…
x
Reference in New Issue
Block a user