Permalink
Browse files

Updated ripper

  • Loading branch information...
1 parent 0858215 commit 798e7247abc6b749d0a106451512207ea7f72336 T. Jameson Little committed Mar 7, 2013
Showing with 3 additions and 6 deletions.
  1. +2 −4 driveMonitor.py
  2. +1 −2 rip.py → ripper.py
View
6 driveMonitor.py
@@ -16,10 +16,8 @@ def CDREventArrived(sender, e):
movieName = titleRetriever.getMovieName();
Console.WriteLine("Found: "+movieName)
- ##TODO: rip ths
- #cdRipper = ripper(titleRetriever.driveLetter, movieName)
-
- ##ripper.rip()
+ mkvFile = ripper.rip(titleRetriever.driveLetter, movieName)
+ ripper.transcode(mkvFile, movieName)
else:
Console.WriteLine("CD has been ejected")
View
3 rip.py → ripper.py
@@ -32,8 +32,7 @@ def rip(driveLetter, movieName):
if p.ExitCode == 0:
print("Successfully ripped %s" % movieName)
- movieMkv = Directory.GetFiles(out)[0]
- transcode(movieMkv, movieName)
+ return Directory.GetFiles(out)[0]
else:
print("Error: %d" % p.ExitCode)
else:

0 comments on commit 798e724

Please sign in to comment.