A single file PHP/jQuery webpage to see some info about your locally stored movies.
See it in action here.
- Copy
index.php
to your LAMP webhost. - Replace the
$api_key
variable with your own API key or (better yet) store it outside your webroot and include it. (For example withtrim(file_get_contents( ... ))
). - Change the
$watchedFolder
variable to the folder where your movies are stored.
- Use separate movie folders.
Movie-info assumes your movies are stored in seperate subfolders and uses the foldernames as the argument for the search atthemoviedb.org
. - Get an themoviedb account and API key.
An account at themoviedb.org is necessary to use the API functions and obtain an api key.
The api key needed to access themoviedb.org api is read from '../TMDBapikey.txt' which (obviously) is not included.
You will have to provide your own.
Getting a key is free (as in beer) and easy, just sign up at themoviedb.org.
- The used icons are from material.io and are available under Apache2.0 license.
- Uses Google Roboto font which is available under Apache2.0 license.
- Uses jQuery 3.3.1 which is available under MIT license.
Movie-info is developed on/for Linux.