From 7f69f6a95e3bd4a8466029f644245f4efbca9dd6 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 21 Dec 2014 23:16:55 +0100 Subject: parallel --- imdb-lookup/imdbinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imdb-lookup') diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py index b7300cc..62bca37 100755 --- a/imdb-lookup/imdbinfo.py +++ b/imdb-lookup/imdbinfo.py @@ -287,6 +287,7 @@ def do_rating(args, imdb_ids): "{vote_average:.1f} count={vote_count:.0f}".format(**info)) def getInfo(a): def listMovieFiles(path): + valid_extensions = [".mkv", ".avi", ".mov", ".mp4", ".mpg"] def listFiles(): for root, dirs, files in os.walk(path): for curfile in files: @@ -339,7 +340,6 @@ def getInfo(a): def do_index(args, imdb_ids): """creates a index website""" - valid_extensions = [".mkv", ".avi", ".mov", ".mp4", ".mpg"] def install(filename): outpath = os.path.join(".index.html", os.path.dirname(filename)) -- cgit v1.2.1