youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 98727e123f6d4881920bcb9fa57ea7956afb9a5a
parent b29e0000e69458252f73ffe62a466da5d1449863
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  2 May 2015 23:35:18 +0600

[YoutubeDL] Improve annotations file naming

Diffstat:
Myoutube_dl/YoutubeDL.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py @@ -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: