Skip to content

Commit

Permalink
report 32 vs 64
Browse files Browse the repository at this point in the history
Will save me lots of debugging headaches in the future
  • Loading branch information
Michael Higgins committed Sep 29, 2014
1 parent f8854fe commit 39eff1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import locale
import glob
import argparse
import struct
from readSettings import ReadSettings
from tvdb_mp4 import Tvdb_mp4
from tmdb_mp4 import tmdb_mp4
Expand Down Expand Up @@ -251,6 +252,8 @@ def main():
settings.processMP4 = True
print "Reprocessing of MP4 files enabled"

print struct.calcsize("P") * 8

#Establish the path we will be working with
if (args['input']):
path = str(args['input']).decode(locale.getpreferredencoding())
Expand Down
3 changes: 3 additions & 0 deletions postConversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import sys
import json
import urllib
import struct
from readSettings import ReadSettings
from tvdb_mp4 import Tvdb_mp4
from mkvtomp4 import MkvtoMp4
Expand All @@ -16,6 +17,8 @@
episode = int(sys.argv[5])
converter = MkvtoMp4(settings)

print struct.calcsize("P") * 8

if MkvtoMp4(settings).validSource(inputfile):
output = converter.process(inputfile, original=original)

Expand Down

0 comments on commit 39eff1a

Please sign in to comment.