forked from 0x2620/pandora
stream_path
This commit is contained in:
parent
3ae5b10bd4
commit
b0b02a1f45
1 changed files with 1 additions and 1 deletions
|
@ -633,7 +633,7 @@ class Item(models.Model):
|
||||||
#FIXME: how to detect if something changed?
|
#FIXME: how to detect if something changed?
|
||||||
if files:
|
if files:
|
||||||
stream, created = Stream.objects.get_or_create(item=self, profile='%s.webm' % settings.VIDEO_PROFILE)
|
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 = []
|
cmd = []
|
||||||
print files
|
print files
|
||||||
for f in sorted(files):
|
for f in sorted(files):
|
||||||
|
|
Loading…
Reference in a new issue