diff --git a/pandora/archive/models.py b/pandora/archive/models.py index a94d139..77a08d9 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.file.itemId + base_url = '/%s' % self.file.item.itemId else: base_url = os.path.dirname(self.video.url) return {