mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-04 21:24:14 -04:00
@@ -592,7 +592,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
|
||||
metadata_filename = replace_extension(filename, 'meta')
|
||||
with io.open(metadata_filename, 'wt', encoding='utf-8') as f:
|
||||
def ffmpeg_escape(text):
|
||||
return re.sub(r'(=|;|#|\\|\n)', r'\\\1', text)
|
||||
return re.sub(r'([\\=;#\n])', r'\\\1', text)
|
||||
|
||||
metadata_file_content = ';FFMETADATA1\n'
|
||||
for chapter in chapters:
|
||||
|
Reference in New Issue
Block a user