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:
2026-05-11 09:49:52 +02:00
commit f55c91276e
1230 changed files with 252321 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{assign var="chs" value=""}
{assign var="chl" value=""}
{foreach item=row from=$stats.count_genre}
{assign var="rowname" value=$row.name}
{assign var="rowcount" value=$row.count}
{assign var="rowid" value=$row.id}
{if $chs}{assign var="chs" value=$chs|cat:","}{/if}
{if $chl}{assign var="chl" value=$chl|cat:"|"}{/if}
{assign var="chs" value=$chs|cat:"$rowcount.0"}
{assign var="chl" value=$chl|cat:$rowname}
{/foreach}
CHS:{$chs}
CHL:{$chl}
http://chart.apis.google.com/chart?cht=p3&chd=s:hW&chs={$chs}&chl={$chl}
<img src="http://chart.apis.google.com/chart?cht=p3&chd=t:{$chs}&chl={$chl}" />