Temporary fix to broken eConsoleAppContainer interface
authorAnders Holst <aholst@users.schwerkraft.elitedvb.net>
Mon, 1 Dec 2008 16:25:00 +0000 (16:25 +0000)
committerAnders Holst <aholst@users.schwerkraft.elitedvb.net>
Mon, 1 Dec 2008 16:25:00 +0000 (16:25 +0000)
moviecut/src_py/plugin.py
movieretitle/src/plugin.py

index 44610e3..7876564 100644 (file)
@@ -265,12 +265,12 @@ class MovieCutSpawn:
                self.session = session
                self.parent = parent
                self.name = name
-               self.clist = clist
+               self.clist = [clist[0]] + clist
                self.mess = ""
                self.dialog = False
                self.waitTimer = eTimer()
                self.waitTimer.callback.append(self.doWaitAck)
-               if global_mcut_queue.enqueue(self.doAck, clist):
+               if global_mcut_queue.enqueue(self.doAck, self.clist):
                        mess = _("The movie \"%s\" is cut in the background.") % (self.name)
                else:
                        mess = _("Another movie is currently cut.\nThe movie \"%s\" will be cut in the background after it.") % (self.name)
index dc75d2f..4b7d783 100644 (file)
@@ -278,7 +278,7 @@ class MovieRetitleBackgroundMover:
                        self.sufflst = self.sufflst[1:]
                        print "Moving %s to %s" % (fr, to)
                        if os.path.exists(fr):
-                               self.container.execute("/bin/cp", fr, to)
+                               self.container.execute("/bin/cp", "/bin/cp", fr, to)
                        else:
                                self.moveNextSuffBG(0)
                elif retval: