[YoutubeDL] Fix output template for missing timestamp (closes #12796)

This commit is contained in:
Sergey M․ 2017-04-24 00:50:39 +07:00
parent 3019cb0c99
commit a4d6cf970c
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -640,7 +640,7 @@ def prepare_filename(self, info_dict):
NUMERIC_FIELDS = set((
'width', 'height', 'tbr', 'abr', 'asr', 'vbr', 'fps', 'filesize', 'filesize_approx',
'upload_year', 'upload_month', 'upload_day',
'timestamp', 'upload_year', 'upload_month', 'upload_day',
'duration', 'view_count', 'like_count', 'dislike_count', 'repost_count',
'average_rating', 'comment_count', 'age_limit',
'start_time', 'end_time',