Handle KeyboardInterrupt in the main program, not in the Player class
[vidi-player.git] / vidi / Timeline.py
index c1e9698..fe98677 100755 (executable)
@@ -57,6 +57,9 @@ class Timeline(object):
         self.timeline.commit()
         self.player.play()
 
+    def stop(self):
+        self.player.stop()
+
     def save(self, path):
         uri = Gst.filename_to_uri(path)
         self.project.save(self.timeline, uri, None, False)