Fix possible dashboard error, add "types" parameter to "media.with_status", limit suggestions to movies (for now)

This commit is contained in:
Dean Gardiner
2014-07-28 20:33:50 +12:00
parent 72cb53bcc0
commit fe2e508e4c
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class Dashboard(Plugin):
for media_id in active_ids:
media = db.get('id', media_id)
pp = profile_pre.get(media['profile_id'])
pp = profile_pre.get(media.get('profile_id'))
if not pp: continue
eta = media['info'].get('release_date', {}) or {}