Fixed issues with checking for video corruption

This commit is contained in:
echel0n 2014-04-20 13:28:48 -07:00
parent 2391f4a5de
commit d511b54e66
13 changed files with 145 additions and 256 deletions

View file

@ -8,6 +8,10 @@ from nzbToMediaUtil import listMediaFiles
class Transcoder:
def isVideoGood(self, videofile):
fileName, fileExt = os.path.splitext(videofile)
if fileExt not in nzbtomedia.MEDIACONTAINER:
return True
if platform.system() == 'Windows':
bitbucket = open('NUL')
else: