summaryrefslogtreecommitdiff
path: root/imdb-lookup
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-12-21 23:16:55 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-12-21 23:16:55 +0100
commit7f69f6a95e3bd4a8466029f644245f4efbca9dd6 (patch)
treead8506c7e3db07d86c0a386d2e8117c0f2e18d0f /imdb-lookup
parent9b0aba6b3f30917b7556cb002fc5c86d1da40f38 (diff)
downloadscripts-7f69f6a95e3bd4a8466029f644245f4efbca9dd6.tar.gz
scripts-7f69f6a95e3bd4a8466029f644245f4efbca9dd6.zip
parallel
Diffstat (limited to 'imdb-lookup')
-rwxr-xr-ximdb-lookup/imdbinfo.py2
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))