diff --git a/pandora/item/models.py b/pandora/item/models.py index 9c2eef08..5c66e860 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -640,8 +640,8 @@ class Item(models.Model): if self.poster_height: i['posterRatio'] = self.poster_width / self.poster_height - if keys and 'source' in keys: - i['source'] = self.streams().exclude(file__data='').exists() + if keys and 'hasSource' in keys: + i['hasSource'] = self.streams().exclude(file__data='').exists() streams = self.streams() i['durations'] = [s.duration for s in streams]