PlaylistAI is a Flask API that curates playlists using Music Assistant and an LLM.
It runs inside a lightweight Debian 12 LXC container on Proxmox VE.
- Interactive prompts for:
- Music Assistant API URL
- LLM API URL
- Home Assistant Long‑Lived Access Token
- Host music folder path
- Home Assistant WebSocket URL (for add‑on mode)
- Auto‑detects whether you’re running standalone Music Assistant (REST API) or the Home Assistant add‑on (WebSocket API).
- Caches the chosen mode after the first successful call for speed and reliability.
- Generates a Flask app inside the container.
- Binds your host music folder into
/data/musicinside the container. - Starts a systemd service at:
http://<CT_IP>:5000/generate
- OS: Debian 12
- Type: Unprivileged
- Disk: 4 GB
- CPU: 2 cores
- RAM: 1024 MiB
Run the following command on your Proxmox host:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hoosier-IT/playlistai/main/ct/playlistai.sh)"