diff --git a/Deployment/host.conf.template b/Deployment/host.conf.template index debf6e2..6baa1c7 100644 --- a/Deployment/host.conf.template +++ b/Deployment/host.conf.template @@ -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" ) # ============================================================================================== diff --git a/Plugin/unraid/api/checklist.php b/Plugin/unraid/api/checklist.php index fbb24c5..18ae98f 100644 --- a/Plugin/unraid/api/checklist.php +++ b/Plugin/unraid/api/checklist.php @@ -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(); diff --git a/Plugin/unraid/pages/setup.php b/Plugin/unraid/pages/setup.php index 8a46c75..170b221 100644 --- a/Plugin/unraid/pages/setup.php +++ b/Plugin/unraid/pages/setup.php @@ -156,11 +156,12 @@ hr.vv-hr { border: none; border-top: 1px solid #1e1e1e; margin: 22px 0; } Quick start
  1. Create your Unraid API key below — needed for live monitor stats
  2. -
  3. Open Scheduler → Edit host.conf — only three things need manual entry:
    +
  4. Open Scheduler → Edit host.conf — a few things need manual entry:
    - EMBY_API_KEY — Emby Dashboard → API Keys → + New Key
    - DISCORD_WEBHOOK — for notifications (optional)
    - DAILY_SYNC_SHARES — media paths to rsync nightly
    + HOST1_EMBY_API_KEY — Emby Dashboard → API Keys → + New Key
    + HOST1_JELLYFIN_API_KEY — Jellyfin Dashboard → Administration → API Keys (if using Jellyfin)
    + HOST1_DISCORD_WEBHOOK — for notifications (optional)
    + HOST1_DAILY_SYNC_SHARES — media paths to rsync nightly
    Everything else was auto-populated or has working defaults
  5. If partnering: the checklist below will guide you through pulling HOST1's config and running onboard