diff --git a/pandora/archive/models.py b/pandora/archive/models.py index f7d1a65..a94d139 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -529,7 +529,7 @@ class Stream(models.Model): def json(self): if settings.XSENDFILE or settings.XACCELREDIRECT: - base_url = '/%s' % self.itemId + base_url = '/%s' % self.file.itemId else: base_url = os.path.dirname(self.video.url) return {