From 61a63ee565ca7345146752b1da815a859140ef81 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 22 Mar 2013 12:25:01 +0000 Subject: [PATCH] fix playback for non logged in users --- pandora/item/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 83b5661d..93af2f60 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -483,7 +483,8 @@ def get(request): for k in settings.CONFIG['itemKeys']: if 'capability' in k \ and not check_capability(k['capability']) \ - and k['id'] in info: + and k['id'] in info \ + and k['id'] not in ('parts', 'durations'): del info[k['id']] info['editable'] = item.editable(request.user) response['data'] = info