Also return releases on notify frontend

This commit is contained in:
Ruud
2014-03-21 16:37:35 +01:00
parent a818276b6d
commit e12dcc2fb8
+1 -2
View File
@@ -38,8 +38,7 @@ class MediaBase(Plugin):
def notifyFront():
try:
db = get_db()
media = db.get('id', media_id)
media = fireEvent('media.get', media_id, single = True)
event_name = '%s.update' % media.get('type')
fireEvent('notify.frontend', type = event_name, data = media)