Install on Unraid

Add yamsap from the Docker tab, with your music share mounted and host networking, so yamsap can find your speakers.

What You Need

  • Docker turned on, under Settings, then Docker.
  • Your music in a share, such as Music.
  • A license key.

Add the Container

  1. Open the Docker tab and press Add Container.

  2. Fill in these fields:

    FieldValue
    Nameyamsap
    Repositorycr.yamsap.com/yamsap:latest
    Network TypeHost
  3. Press Add another Path, Port, Variable, Label or Device, fill in the music share, and press Add:

    FieldValue
    Config TypePath
    NameMusic
    Container Path/music
    Host Path/mnt/user/Music
    Access ModeRead/Write
  4. Add a second path the same way, for yamsap's own data. Unraid makes the folder if it is not there yet:

    FieldValue
    Config TypePath
    NameData
    Container Path/data
    Host Path/mnt/user/appdata/yamsap
    Access ModeRead/Write
  5. Add a variable the same way, for the server's name:

    FieldValue
    Config TypeVariable
    NameServer name
    KeyYAMSAP_SERVER_NAME
    Valueyamsap
  6. Press Apply.

Unraid downloads yamsap and starts it. The first download is about 1 GB.

Finish Setting Up

Open http://<your server's address>:8095 in a browser on the same network. Enter your license key, and when setup asks for your music folder, choose /music.

What the Settings Do

  • Host networking puts yamsap on the server's own network connection. Yamsap finds speakers by listening on your network, and each zone and each AirPlay speaker uses ports of its own, so it does not work on Docker's bridge network.
  • /music is your music share. Yamsap writes to it only to save albums you drop onto its window, in a yamsap folder inside it, and to delete an album when you ask it to.
  • /data holds yamsap's database, its settings and your license activation. Keep it when you update or reinstall.
  • YAMSAP_SERVER_NAME is the name the server shows to apps on your network and in your license's list of activations.

Yamsap uses Unraid's time zone to decide when a new day starts for daily mixes and the On This Day shelf. To use another zone, add a variable with the key YAMSAP_TIMEZONE and a value such as Europe/Berlin.

With host networking, port 8095 on the server is yamsap's. If another app already uses it, add a variable with the key YAMSAP_ADDR and the value :8096, and open that port instead.

Update

When a new version is out, the Docker tab shows update ready next to yamsap. Press it and apply the update. Your settings and library stay in /data.