From b9df4de27e1241a2a6da703cb05919b9f3d9a8fd Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 22 Aug 2012 14:39:51 +0200 Subject: [PATCH] movie.py: temporarily add some debug information --- ox/movie.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ox/movie.py b/ox/movie.py index 1f993c0..edf1071 100644 --- a/ox/movie.py +++ b/ox/movie.py @@ -98,6 +98,7 @@ def parse_item_files(files): version_files[version_key] = (version_files[version_key] if version_key in version_files else []) + [file] time[version_key] = sorted([time[version_key], file['time']])[-1] if version_key in time else file['time'] # determine preferred video extension (newest) + print version_files extension = {} for key in set(['/'.join(version_key.split('/')[:-1]) + '/' for version_key in version_files]): extensions = set([version_key.split('/')[-1] for version_key in version_files if version_key.startswith(key)])