XBMC Metadata

This commit is contained in:
Ruud
2011-09-19 20:58:43 +02:00
parent a680628bf0
commit bce5a9f8f9
6 changed files with 38 additions and 37 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ class LibraryPlugin(Plugin):
continue
file_path = fireEvent('file.download', url = image, single = True)
file = fireEvent('file.add', path = file_path, type = ('image', type[:-1]), single = True)
file = fireEvent('file.add', path = file_path, type = ('image', type), single = True)
try:
file = db.query(File).filter_by(id = file.get('id')).one()
library.files.append(file)