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:
@@ -456,6 +456,7 @@
|
|||||||
|
|
||||||
HOSTN_TRANSCODE_SERVERS=(
|
HOSTN_TRANSCODE_SERVERS=(
|
||||||
"${HOSTN_EMBY_CONTAINER}|${HOSTN_EMBY_URL}|${HOSTN_EMBY_API_KEY}|emby"
|
"${HOSTN_EMBY_CONTAINER}|${HOSTN_EMBY_URL}|${HOSTN_EMBY_API_KEY}|emby"
|
||||||
|
"${HOSTN_JELLYFIN_CONTAINER}|${HOSTN_JELLYFIN_URL}|${HOSTN_JELLYFIN_API_KEY}|jellyfin"
|
||||||
)
|
)
|
||||||
|
|
||||||
# ==============================================================================================
|
# ==============================================================================================
|
||||||
|
|||||||
@@ -69,6 +69,34 @@ $items[] = [
|
|||||||
'action' => $populated ? null : 'run_populate',
|
'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) ───────────────────────────────────────────────────
|
// ── master.conf pull (partner servers only) ───────────────────────────────────────────────────
|
||||||
if ($hostId !== 'host1' && $hostId !== 'unknown') {
|
if ($hostId !== 'host1' && $hostId !== 'unknown') {
|
||||||
$state = vv_setup_state_read();
|
$state = vv_setup_state_read();
|
||||||
|
|||||||
@@ -156,11 +156,12 @@ hr.vv-hr { border: none; border-top: 1px solid #1e1e1e; margin: 22px 0; }
|
|||||||
<strong style="color:#888;">Quick start</strong>
|
<strong style="color:#888;">Quick start</strong>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Create your Unraid API key below — needed for live monitor stats</li>
|
<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;">
|
<span style="color:#444;">
|
||||||
<code>EMBY_API_KEY</code> — Emby Dashboard → API Keys → + New Key<br>
|
<code>HOST1_EMBY_API_KEY</code> — Emby Dashboard → API Keys → + New Key<br>
|
||||||
<code>DISCORD_WEBHOOK</code> — for notifications (optional)<br>
|
<code>HOST1_JELLYFIN_API_KEY</code> — Jellyfin Dashboard → Administration → API Keys (if using Jellyfin)<br>
|
||||||
<code>DAILY_SYNC_SHARES</code> — media paths to rsync nightly<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
|
Everything else was auto-populated or has working defaults
|
||||||
</span></li>
|
</span></li>
|
||||||
<li>If partnering: the checklist below will guide you through pulling HOST1's config and running onboard</li>
|
<li>If partnering: the checklist below will guide you through pulling HOST1's config and running onboard</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user