feat: add videodb media index with Docker stack
- Add videodb PHP/MySQL media collection manager (Blu-ray, DVD, CD) - Dockerfile: PHP 8.1 + Apache with GD/mysqli/exif extensions - docker-compose.yml: app on port 6761 + MySQL 8.0 with health checks - docker-entrypoint.sh: auto-generates config.inc.php from env vars, waits for MySQL, initializes DB schema idempotently - init-db.php: CLI schema installer using app's own prefix_query() logic - Persistent volumes for DB, cache, and cover images Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
28
videodb/javascript/lookup.js
Normal file
28
videodb/javascript/lookup.js
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Lookup data submission logic
|
||||
*
|
||||
* @package JavaScript
|
||||
* @author Andreas Goetz <cpuidle@gmx.de>
|
||||
* @version $Id: lookup.js,v 1.6 2007/12/22 13:36:43 andig2 Exp $
|
||||
*/
|
||||
|
||||
window.focus();
|
||||
|
||||
function returnData(id, title, subtitle, engine)
|
||||
{
|
||||
opener.document.edi.imdbID.value = id;
|
||||
opener.document.edi.engine.value = engine;
|
||||
// if (!opener.document.edi.title.value) opener.document.edi.title.value = title;
|
||||
opener.document.edi.title.value = title;
|
||||
if (!opener.document.edi.subtitle.value) opener.document.edi.subtitle.value = subtitle;
|
||||
if (opener.document.edi.lookup0.checked) opener.document.edi.lookup1.checked = true;
|
||||
opener.focus();
|
||||
window.close();
|
||||
}
|
||||
|
||||
function returnImage(imgurl)
|
||||
{
|
||||
opener.document.edi.imgurl.value = imgurl;
|
||||
opener.focus();
|
||||
window.close();
|
||||
}
|
||||
Reference in New Issue
Block a user