mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-22 15:57:23 +00:00
[YoutubeDL] Improve annotations file naming
This commit is contained in:
parent
b29e0000e6
commit
98727e123f
1 changed files with 1 additions and 1 deletions
|
@ -1286,7 +1286,7 @@ class YoutubeDL(object):
|
|||
return
|
||||
|
||||
if self.params.get('writeannotations', False):
|
||||
annofn = filename + '.annotations.xml'
|
||||
annofn = replace_extension(filename, 'annotations.xml', info_dict.get('ext'))
|
||||
if self.params.get('nooverwrites', False) and os.path.exists(encodeFilename(annofn)):
|
||||
self.to_screen('[info] Video annotations are already present')
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue