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:
34
videodb/test/test_isohunt.php
Normal file
34
videodb/test/test_isohunt.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* test_isohunt.php
|
||||
*
|
||||
* isohunt.com images engine test case
|
||||
*
|
||||
* @package Test
|
||||
* @author Andreas Götz <cpuidle@gmx.de>
|
||||
* @version $Id: test_isohunt.php,v 1.2 2013/02/02 11:38:59 andig2 Exp $
|
||||
*/
|
||||
|
||||
require_once './core/functions.php';
|
||||
require_once './engines/engines.php';
|
||||
|
||||
class TestIsoHunt extends UnitTestCase
|
||||
{
|
||||
function TestIsoHunt()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
function testSearch()
|
||||
{
|
||||
$id = 'Grey\'s Anatomy';
|
||||
|
||||
$data = engineSearch($id, 'isohunt');
|
||||
#$this->assertNoErrors();
|
||||
$this->assertTrue(sizeof($data) >= 1);
|
||||
|
||||
# dump($data);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user