mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-27 19:04:32 +01:00
fix full function name of os.path.getmtime()
modified: youtube_dl/postprocessor/embedthumbnail.py
This commit is contained in:
parent
0d89117382
commit
4b3dbbae52
@ -45,7 +45,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
|
||||
'-c', 'copy', '-map', '0', '-map', '1',
|
||||
'-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (Front)"']
|
||||
|
||||
timestamp = os.getmtime(encodeFilename(filename))
|
||||
timestamp = os.path.getmtime(encodeFilename(filename))
|
||||
|
||||
self._downloader.to_screen('[ffmpeg] Adding thumbnail to "%s"' % filename)
|
||||
|
||||
@ -61,7 +61,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
|
||||
if not check_executable('AtomicParsley', ['-v']):
|
||||
raise EmbedThumbnailPPError('AtomicParsley was not found. Please install.')
|
||||
|
||||
timestamp = os.getmtime(encodeFilename(filename))
|
||||
timestamp = os.path.getmtime(encodeFilename(filename))
|
||||
|
||||
cmd = [encodeFilename('AtomicParsley', True),
|
||||
encodeFilename(filename, True),
|
||||
|
Loading…
Reference in New Issue
Block a user