From 61dd667a711ebb6cbd5817231893c070b85e5499 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 17 Aug 2023 12:14:28 +0200 Subject: [PATCH] source is used in padma, use other key --- pandora/item/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]