|
|
@@ -28,30 +28,29 @@ Repository: https://gogs.av2x.dev/av2x/yaar
|
|
|
## Requirements
|
|
|
|
|
|
- Proxmox VE 7+ with LXC support
|
|
|
-- An Alpine Linux 3.20 LXC container
|
|
|
-- A media directory on the host (your Jellyfin library) to bind-mount into the container at `/nas/jellyfin`, containing `Movies/`, `Shows/`, and `Music/`
|
|
|
+- An Alpine Linux 3.20+ LXC container
|
|
|
+- A media directory on the host (your Jellyfin library) to bind-mount into the container at `/nas/jellyfin`, containing `Movies/`, `Shows/`, and `Music/` or direct bind mounts to your specific media folders.
|
|
|
|
|
|
---
|
|
|
|
|
|
## Quick start
|
|
|
|
|
|
-YAAR installs entirely **inside your Alpine LXC container**. The only host-side
|
|
|
-step is attaching the Jellyfin bind-mount.
|
|
|
+YAAR installs entirely **inside your Alpine LXC container**. I do **NOT** trust myself to modify ANYTHING on ANYONE's Proxmox root for the LIFE OF ME. The only host-side step is attaching the Jellyfin bind-mount.
|
|
|
|
|
|
### Step 1 — Attach the media bind-mount (Proxmox host, one-time)
|
|
|
|
|
|
-See `proxmox-mount.md` for the full guide. In short, on the Proxmox host shell:
|
|
|
+On the Proxmox host shell:
|
|
|
|
|
|
```sh
|
|
|
-pct set <CTID> -mp0 /mnt/nas/jellyfin,mp=/nas/jellyfin
|
|
|
+pct set <CTID> -mp0 /nas/jellyfin,mp=/nas/jellyfin
|
|
|
pct restart <CTID>
|
|
|
```
|
|
|
|
|
|
-Replace `/mnt/nas/jellyfin` with wherever your media lives on the host. The
|
|
|
-`mp=/nas/jellyfin` target must stay exactly as-is — YAAR expects that path.
|
|
|
+Replace `/nas/jellyfin` with wherever your media lives on the host. The
|
|
|
+`mp=/nas/jellyfin` target must stay as-is cause YAAR expects that path. I hard coded it. Womp womp.
|
|
|
|
|
|
Or via the web UI: Container → Resources → Add → Mount Point, host path
|
|
|
-`/mnt/nas/jellyfin`, container path `/nas/jellyfin`, read-only off.
|
|
|
+`/nas/jellyfin`, container path `/nas/jellyfin`, read-only off.
|
|
|
|
|
|
### Step 2 — Install (inside the container)
|
|
|
|
|
|
@@ -61,7 +60,7 @@ One line, run as root inside the container:
|
|
|
curl -fsSL https://gogs.av2x.dev/av2x/yaar/raw/master/setup.sh | sh
|
|
|
```
|
|
|
|
|
|
-Or trigger it from the Proxmox host without entering the container:
|
|
|
+Or trigger it from the Proxmox host without entering the container (if that tickles your fancy):
|
|
|
|
|
|
```sh
|
|
|
pct exec <CTID> -- sh -c 'curl -fsSL https://gogs.av2x.dev/av2x/yaar/raw/master/setup.sh | sh'
|
|
|
@@ -70,9 +69,9 @@ pct exec <CTID> -- sh -c 'curl -fsSL https://gogs.av2x.dev/av2x/yaar/raw/master/
|
|
|
`setup.sh` installs Python, ffmpeg, yt-dlp, Flask and Gunicorn, the app files,
|
|
|
an OpenRC service, the weekly yt-dlp auto-update cron, and the `yaar-update`
|
|
|
command. It refuses to run on the Proxmox host and fetches any files it needs
|
|
|
-directly from the repo.
|
|
|
+directly from the repo because, quoting one of the greatest DIY channels, "Safety is number one priority".
|
|
|
|
|
|
-When it finishes, open `http://<container-ip>:7474`.
|
|
|
+When it finishes, open `http://<container-ip>:7474`.
|
|
|
|
|
|
---
|
|
|
|
|
|
@@ -225,7 +224,7 @@ attached and the container was restarted after adding it:
|
|
|
ls /nas/jellyfin # should list Movies/ Shows/ Music/
|
|
|
```
|
|
|
For unprivileged containers with permission issues, map the mount UID/GID:
|
|
|
-`pct set <CTID> -mp0 /mnt/nas/jellyfin,mp=/nas/jellyfin,uid=0,gid=0`.
|
|
|
+`pct set <CTID> -mp0 /nas/jellyfin,mp=/nas/jellyfin,uid=0,gid=0`.
|
|
|
|
|
|
**Download fails with "Sign in to confirm your age"**
|
|
|
Age-restricted videos need cookies. Export cookies from a logged-in browser and
|