|
|
|
@ -12,6 +12,7 @@ def create_app(): |
|
|
|
DATABASE = os.path.join(app.instance_path, 'video_metadata.sqlite'), |
|
|
|
DATABASE = os.path.join(app.instance_path, 'video_metadata.sqlite'), |
|
|
|
MOVIE_DIR = os.path.join(app.instance_path, 'movie_dir'), |
|
|
|
MOVIE_DIR = os.path.join(app.instance_path, 'movie_dir'), |
|
|
|
TMDB_API_KEY = parse_API_key(app, os.path.join(app.instance_path, 'API_KEY.json')), |
|
|
|
TMDB_API_KEY = parse_API_key(app, os.path.join(app.instance_path, 'API_KEY.json')), |
|
|
|
|
|
|
|
TEMPLATES_AUTO_RELOAD = True, |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# ensure the instance folder exists |
|
|
|
# ensure the instance folder exists |
|
|
|
|