matches, subtitles, parts

This commit is contained in:
j 2011-06-02 10:19:15 +02:00
commit c2981681c1
5 changed files with 42 additions and 14 deletions

View file

@ -400,8 +400,8 @@ class Item(models.Model):
save('trivia', ' '.join(self.get('trivia', [])))
#FIXME:
qs = Annotation.objects.filter(layer__type='subtitle', item=self).order_by('start')
save('dialog', '\n'.join([l.value for l in qs]))
qs = Annotation.objects.filter(layer__name='subtitles', item=self).order_by('start')
save('subtitles', '\n'.join([l.value for l in qs]))
def update_sort(self):
try: