]> git.parisson.com Git - teleforma.git/commitdiff
fix first marker parsing
authoryomguy <yomguy@parisson.com>
Fri, 8 Feb 2013 13:25:27 +0000 (14:25 +0100)
committeryomguy <yomguy@parisson.com>
Fri, 8 Feb 2013 13:25:27 +0000 (14:25 +0100)
teleforma/management/commands/teleforma-import-seminar-media.py

index 273d867f867653fb9609c968b9190c5be29476dc..9410754b428dcf9889dde3a4fb354525b2257918 100644 (file)
@@ -158,7 +158,7 @@ class Command(BaseCommand):
                                 print "transcoded added"
                             elif extension[1:] == 'kdenlive':
                                 related, c = MediaItemRelated.objects.get_or_create(item=item, file=r_path)
-                                markers = related.parse_markers()
+                                markers = related.parse_markers(from_first_marker=True)
                                 if markers:
                                     item.title = markers[0]['comment']
                                     item.save()