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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user