From 6a98bf0482cb3cf663192f35dd27c3bce82886bc Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Fri, 8 Mar 2013 17:36:25 -0800 Subject: [PATCH] added transcoder --- TorrentToMedia.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index cfd1ead1..60f1ef1c 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -18,6 +18,7 @@ import autoProcessGames import autoProcessMusic import autoProcessTV import autoProcessMovie +import Transcoder from nzbToMediaEnv import * from nzbToMediaUtil import * from utorrent.client import UTorrentClient @@ -116,7 +117,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash): else: video2 = video2 + 1 if transcode: - pass #this is where we will be calling the transcoder. + result = Transcoder.Transcode_file(filePath) if video2 >= video and video2 > 0: # Check that all video files were moved status = 0