You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
8 years ago | |
|---|---|---|
| include | 8 years ago | |
| static | 8 years ago | |
| .gitignore | 8 years ago | |
| LICENSE.txt | 8 years ago | |
| PREAMBLE.txt | 8 years ago | |
| README.md | 8 years ago | |
| admin.html | 8 years ago | |
| admin.php | 8 years ago | |
| folder_listing.php | 8 years ago | |
| image_cache.php | 8 years ago | |
| query_page.php | 8 years ago | |
| query_test.html | 8 years ago | |
| sqlite_schema.sql | 8 years ago | |
README.md
video_metadata
requirements
- web server with php support (testing with lighttpd and fast-cgi)
- PHP > 7
- sqlite3
- browser that supports fetch API
installation
- aquire an api-key from https://developers.themoviedb.org/3/getting-started/introduction
- add key to 'include/api_key.php' as
$API_KEY = 'your key hash'; - edit 'FOLDER_PATH' in 'admin.php' to the location of your video files
- NOTE: your webserver must have read access to this folder
- import schema into new database file with
$ sqlite3 DB_NAME.db < sqlite_schema.sql - update DB_PATH in 'include/local_cache.php' to match db filename