diff options
Diffstat (limited to 'imdb-lookup')
-rwxr-xr-x | imdb-lookup/imdbinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |