This commit is contained in:
j 2011-08-18 21:40:15 +02:00
parent 2a6a48f135
commit 98fcaf63aa

View file

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