Fix install wizard gaps: add Jellyfin to TRANSCODE_SERVERS template, add Emby/JF API key checklist checks, fix setup guide var names to HOST1_ prefix

This commit is contained in:
Gmer4Lfe
2026-06-19 23:52:40 -04:00
parent 2b8571c52c
commit 719ca016f4
3 changed files with 34 additions and 4 deletions
+28
View File
@@ -69,6 +69,34 @@ $items[] = [
'action' => $populated ? null : 'run_populate',
];
// ── Emby API key ───────────────────────────────────────────────────────────────
$embyContainer = trim(vv_parse_conf_scalar($confRaw, $hostIdUp . '_EMBY_CONTAINER'));
if (!empty($embyContainer)) {
$embyKey = trim(vv_parse_conf_scalar($confRaw, $hostIdUp . '_EMBY_API_KEY'));
$items[] = [
'id' => 'emby_key',
'label' => 'Emby API key',
'ok' => !empty($embyKey),
'detail' => $embyKey
? 'Key present'
: 'Not set — Emby Dashboard → API Keys → + New Key',
];
}
// ── Jellyfin API key ───────────────────────────────────────────────────────────
$jfContainer = trim(vv_parse_conf_scalar($confRaw, $hostIdUp . '_JELLYFIN_CONTAINER'));
if (!empty($jfContainer)) {
$jfKey = trim(vv_parse_conf_scalar($confRaw, $hostIdUp . '_JELLYFIN_API_KEY'));
$items[] = [
'id' => 'jellyfin_key',
'label' => 'Jellyfin API key',
'ok' => !empty($jfKey),
'detail' => $jfKey
? 'Key present'
: 'Not set — Jellyfin Dashboard → Administration → API Keys',
];
}
// ── master.conf pull (partner servers only) ───────────────────────────────────────────────────
if ($hostId !== 'host1' && $hostId !== 'unknown') {
$state = vv_setup_state_read();