From b0b02a1f45e1e01af71b109c50b159e6a9a4680f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 7 Dec 2010 19:45:26 +0100 Subject: [PATCH] stream_path --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index 27f9adf7..6369c836 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -633,7 +633,7 @@ class Item(models.Model): #FIXME: how to detect if something changed? if files: stream, created = Stream.objects.get_or_create(item=self, profile='%s.webm' % settings.VIDEO_PROFILE) - stream.video.name = stream_path(stream) + stream.video.name = stream.path() cmd = [] print files for f in sorted(files):