Try the info dict to get title. fix #2206
This commit is contained in:
1 parent
33d7d994d4
commit
c75ac51eb7
1 file changed
+3
@@ -169,6 +169,9 @@ def getTitle(library_dict):
|
|||||||
for title in library_dict.titles:
|
for title in library_dict.titles:
|
||||||
if title.default:
|
if title.default:
|
||||||
return title.title
|
return title.title
|
||||||
|
except:
|
||||||
|
try:
|
||||||
|
return library_dict['info']['titles'][0]
|
||||||
except:
|
except:
|
||||||
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