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
+1
View File
@@ -456,6 +456,7 @@
HOSTN_TRANSCODE_SERVERS=(
"${HOSTN_EMBY_CONTAINER}|${HOSTN_EMBY_URL}|${HOSTN_EMBY_API_KEY}|emby"
"${HOSTN_JELLYFIN_CONTAINER}|${HOSTN_JELLYFIN_URL}|${HOSTN_JELLYFIN_API_KEY}|jellyfin"
)
# ==============================================================================================
+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();
+5 -4
View File
@@ -156,11 +156,12 @@ hr.vv-hr { border: none; border-top: 1px solid #1e1e1e; margin: 22px 0; }
<strong style="color:#888;">Quick start</strong>
<ol>
<li>Create your Unraid API key below — needed for live monitor stats</li>
<li>Open <strong>Scheduler → Edit host.conf</strong> — only three things need manual entry:<br>
<li>Open <strong>Scheduler → Edit host.conf</strong> — a few things need manual entry:<br>
<span style="color:#444;">
<code>EMBY_API_KEY</code> — Emby Dashboard → API Keys → + New Key<br>
<code>DISCORD_WEBHOOK</code> — for notifications (optional)<br>
<code>DAILY_SYNC_SHARES</code> — media paths to rsync nightly<br>
<code>HOST1_EMBY_API_KEY</code> — Emby Dashboard → API Keys → + New Key<br>
<code>HOST1_JELLYFIN_API_KEY</code> — Jellyfin Dashboard → Administration → API Keys (if using Jellyfin)<br>
<code>HOST1_DISCORD_WEBHOOK</code> — for notifications (optional)<br>
<code>HOST1_DAILY_SYNC_SHARES</code> — media paths to rsync nightly<br>
Everything else was auto-populated or has working defaults
</span></li>
<li>If partnering: the checklist below will guide you through pulling HOST1's config and running onboard</li>