Try the info dict to get title. fix #2206
This commit is contained in:
@@ -170,8 +170,11 @@ def getTitle(library_dict):
|
|||||||
if title.default:
|
if title.default:
|
||||||
return title.title
|
return title.title
|
||||||
except:
|
except:
|
||||||
log.error('Could not get title for %s', library_dict.identifier)
|
try:
|
||||||
return None
|
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'])
|
log.error('Could not get title for %s', library_dict['identifier'])
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user