mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 14:55:02 +01:00
parent
5a64127f94
commit
a8731fcc1d
3 changed files with 7 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue