forked from 0x2620/pandora
join timelines for multipart
This commit is contained in:
parent
ea13a9db8b
commit
b2c94dfafd
2 changed files with 105 additions and 2 deletions
|
|
@ -30,8 +30,9 @@ import ox.image
|
|||
import managers
|
||||
import utils
|
||||
import tasks
|
||||
from archive import extract
|
||||
from .timelines import join_timelines
|
||||
|
||||
from archive import extract
|
||||
from annotation.models import Annotation, Layer
|
||||
from person.models import get_name_sort
|
||||
from app.models import site_config
|
||||
|
|
@ -863,7 +864,8 @@ class Item(models.Model):
|
|||
def make_timeline(self):
|
||||
streams = self.streams()
|
||||
if len(streams) > 1:
|
||||
print "FIXME, needs to build timeline from parts"
|
||||
timelines = [s.timeline_prefix for s in self.streams()]
|
||||
join_timelines(timelines, self.timeline_prefix)
|
||||
|
||||
def make_poster(self, force=False):
|
||||
if not self.poster or force:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue