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.
 
 
 
 
cinnaboot 4127a247d8 'close' top level directories by default, toggle children onClick 8 years ago
include move getJSONErrorString to global included file 8 years ago
static 'close' top level directories by default, toggle children onClick 8 years ago
.gitignore Initial commit 8 years ago
LICENSE.txt Initial commit 8 years ago
PREAMBLE.txt Initial commit 8 years ago
README.md Initial commit 8 years ago
admin.html 'close' top level directories by default, toggle children onClick 8 years ago
admin.php move getJSONErrorString to global included file 8 years ago
image_cache.php Initial commit 8 years ago
query_page.php Initial commit 8 years ago
query_test.html Initial commit 8 years ago
sqlite_schema.sql Initial commit 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