Browse Source

Also return releases on notify frontend

pull/3004/head
Ruud 11 years ago
parent
commit
e12dcc2fb8
  1. 3
      couchpotato/core/media/__init__.py

3
couchpotato/core/media/__init__.py

@ -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)

Loading…
Cancel
Save