From: Jason Michalski Date: Mon, 7 Apr 2008 04:41:18 +0000 (-0500) Subject: Fixed a logging statment X-Git-Url: https://repo.or.cz/w/pyTivo.git/commitdiff_plain/4d7b8019d2d6426ca4fba0e4fc71f23c061138cf Fixed a logging statment --- diff --git a/plugins/video/transcode.py b/plugins/video/transcode.py index 882927a..de95051 100644 --- a/plugins/video/transcode.py +++ b/plugins/video/transcode.py @@ -161,7 +161,7 @@ def select_aspect(inFile, tsn = ''): ratio = (width*100)/height rheight, rwidth = height/d, width/d - logger.debug(' '.join(['File=', inFile, ' Type=', type, ' width=', width, ' height=', height, ' fps=', fps, ' millisecs=', millisecs, ' ratio=', ratio, ' rheight=', rheight, ' rwidth=', rwidth, ' TIVO_HEIGHT=', TIVO_HEIGHT, 'TIVO_WIDTH=', TIVO_WIDTH])) + logger.debug('File=%s Type=%s width=%s height=%s fps=%s millisecs=%s ratio=%s rheight=%s rwidth=%s TIVO_HEIGHT=%sTIVO_WIDTH=%s' % (inFile, type, width, height, fps, millisecs, ratio, rheight, rwidth, TIVO_HEIGHT, TIVO_WIDTH)) multiplier16by9 = (16.0 * TIVO_HEIGHT) / (9.0 * TIVO_WIDTH) multiplier4by3 = (4.0 * TIVO_HEIGHT) / (3.0 * TIVO_WIDTH)