From 39eff1abd37550738708f1f68245590fe725f96f Mon Sep 17 00:00:00 2001 From: Michael Higgins Date: Mon, 29 Sep 2014 16:11:09 -0400 Subject: [PATCH] report 32 vs 64 Will save me lots of debugging headaches in the future --- manual.py | 3 +++ postConversion.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/manual.py b/manual.py index d7c016dc..ec17d174 100755 --- a/manual.py +++ b/manual.py @@ -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 @@ -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()) diff --git a/postConversion.py b/postConversion.py index b61acf2b..69ff53c0 100755 --- a/postConversion.py +++ b/postConversion.py @@ -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 @@ -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)