Try the info dict to get title. fix #2206

This commit is contained in:
Ruud
2013-09-19 23:29:21 +02:00
parent 33d7d994d4
commit c75ac51eb7
+5 -2
View File
@@ -170,8 +170,11 @@ def getTitle(library_dict):
if title.default:
return title.title
except:
log.error('Could not get title for %s', library_dict.identifier)
return None
try:
return library_dict['info']['titles'][0]
except:
log.error('Could not get title for %s', library_dict.identifier)
return None
log.error('Could not get title for %s', library_dict['identifier'])
return None