From 9b3547f9bc090a3ed35948932a0fb44c25695aa9 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 28 Aug 2016 15:05:52 +0200 Subject: [PATCH] fix tv --- pandora/tv/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/tv/models.py b/pandora/tv/models.py index d9fb54ee..e31fc315 100644 --- a/pandora/tv/models.py +++ b/pandora/tv/models.py @@ -92,6 +92,7 @@ class Program(models.Model): for key in ('title', 'director', 'year', 'durations', 'parts', 'rightslevel'): r[key] = item_json.get(key, '') r['layers'] = self.item.get_layers(user) + r['streams'] = [s.file.oshash for s in self.item.streams()] if current: #requires python2.7 #r['position'] = (current - self.start).total_seconds()