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:
33
videodb/javascript/edit.js
Normal file
33
videodb/javascript/edit.js
Normal file
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* Lookup logic
|
||||
*
|
||||
* @package JavaScript
|
||||
* @author Andreas Goetz <cpuidle@gmx.de>
|
||||
* @version $Id: edit.js,v 1.6 2009/04/06 06:50:54 andig2 Exp $
|
||||
*/
|
||||
|
||||
function lookupData(title)
|
||||
{
|
||||
var win = open('lookup.php?find=' + encodeURIComponent(title), 'lookup',
|
||||
'width=550,height=500,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no');
|
||||
win.focus();
|
||||
}
|
||||
|
||||
function lookupImage(title)
|
||||
{
|
||||
var win = open('lookup.php?find=' + encodeURIComponent(title) + '&searchtype=image&engine=google', 'lookup',
|
||||
'width=450,height=500,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no');
|
||||
win.focus();
|
||||
}
|
||||
|
||||
function changedId()
|
||||
{
|
||||
if (document.edi.imdbID.value)
|
||||
{
|
||||
if (document.edi.lookup0.checked) document.edi.lookup1.checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.edi.lookup0.checked = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user