Don't allow empty titles in library

This commit is contained in:
Ruud
2012-04-04 23:53:34 +02:00
parent ed280b988b
commit b595cf8ebc
3 changed files with 15 additions and 4 deletions
+2
View File
@@ -84,6 +84,8 @@ class LibraryPlugin(Plugin):
titles = info.get('titles', [])
log.debug('Adding titles: %s' % titles)
for title in titles:
if not title:
continue
t = LibraryTitle(
title = toUnicode(title),
simple_title = self.simplifyTitle(title),