mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-30 03:28:26 -07:00
Fixed issues with checking for video corruption
This commit is contained in:
parent
2391f4a5de
commit
d511b54e66
13 changed files with 145 additions and 256 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue