This commit is contained in:
j 2011-08-18 21:42:02 +02:00
parent f85448316a
commit 25f44d92be

View file

@ -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 {