fix issue for unknown type

This commit is contained in:
Mort Yao 2013-04-25 15:56:44 +02:00
parent 8552bccb91
commit bb48903838

View File

@ -537,7 +537,8 @@ def playlist_not_supported(name):
return f
def print_info(site_info, title, type, size):
type = type.lower()
if type:
type = type.lower()
if type in ['3gp']:
type = 'video/3gpp'
elif type in ['asf', 'wmv']: