Exemplo n.º 1
0
    def test_separate(self):
        cmd = command.separate('test.mp4', tool=tool)

        self.assertEqual(cmd[0], tool)
        self.assertEqual(cmd[-1], 'test_audio.m4a')
Exemplo n.º 2
0
 def separate(self):
     output = None if not self.out else self.out.format("{0}", ".m4a")
     cmd = command.separate(self.filename, output)
     proc.run_local(cmd)
     self.audio_parts = [cmd[-1] for i in range(len(self.flavors))]