new transcoder options. #253 #149 #143

This commit is contained in:
clinton-hall 2014-06-22 07:32:22 +09:30
commit c1d770740a
10 changed files with 880 additions and 98 deletions

View file

@ -172,9 +172,10 @@ class autoProcessTV:
return 0 # Success (as far as this script is concerned)
if status == 0 and nzbtomedia.TRANSCODE == 1: # only transcode successful downlaods
result = transcoder.Transcode_directory(dirName)
result, newDirName = transcoder.Transcode_directory(dirName)
if result == 0:
logger.debug("SUCCESS: Transcoding succeeded for files in %s" % (dirName), section)
dirName = newDirName
else:
logger.warning("FAILED: Transcoding failed for files in %s" % (dirName), section)