youtube-dl

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

commit e9c424c144c5d82e95a3b9a33048126a3c61043a
parent 4b2da48ea794178236975eaeef1be120b8a95f2a
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 16 Dec 2013 09:04:36 -0800

Merge pull request #1984 from alimirjamali/patch-1

Incorrect variable is used to check whether thumbnail exists
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 @@ -845,7 +845,7 @@ class YoutubeDL(object): if info_dict.get('thumbnail') is not None: thumb_format = determine_ext(info_dict['thumbnail'], u'jpg') thumb_filename = os.path.splitext(filename)[0] + u'.' + thumb_format - if self.params.get('nooverwrites', False) and os.path.exists(encodeFilename(infofn)): + if self.params.get('nooverwrites', False) and os.path.exists(encodeFilename(thumb_filename)): self.to_screen(u'[%s] %s: Thumbnail is already present' % (info_dict['extractor'], info_dict['id'])) else: