mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-10 23:38:30 +00:00
Update yt_dlp/postprocessor/ffmpeg.py
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
This commit is contained in:
parent
79bb8f51e4
commit
51af60e6d7
@ -674,7 +674,7 @@ def embed_lyrics(self, input_files):
|
||||
subs = input_files[1]
|
||||
if not subs.endswith('.lrc'):
|
||||
raise PostProcessingError('LRC subtitles required. Use "--convert-subs lrc" to convert')
|
||||
else:
|
||||
|
||||
with open(subs, 'r', encoding='utf-8') as f:
|
||||
lyrics = f.read().strip()
|
||||
if audio_file.endswith('.mp3'):
|
||||
|
Loading…
Reference in New Issue
Block a user