Front end notification listener

This commit is contained in:
Ruud
2011-06-04 21:34:18 +02:00
parent ecdfe424ef
commit a0b3e13d81
3 changed files with 11 additions and 8 deletions
+1
View File
@@ -100,5 +100,6 @@ class LibraryPlugin(Plugin):
#log.debug('Failed to attach to library: %s' % traceback.format_exc())
fireEvent('library.update.after')
fireEvent('notify.core', type = 'library.update', data = library_dict)
return library.to_dict({'titles': {}, 'files':{}})