Files
MeDBia/videodb/javascript/lookup.js
Malin f55c91276e 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>
2026-05-11 09:49:52 +02:00

29 lines
778 B
JavaScript

/**
* 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();
}