Synology Audio Station (experimental)

Audio Station is the music app of a Synology NAS. Trackhop reads and writes its playlists, as a source and as a destination, matched against your own library by title, artists and duration.

In every build: the Android app (Google Play included), Desktop and Docker. Trackhop only talks to the NAS address you enter. No account anywhere.

Why “experimental”

Synology publishes the DSM sign-in API but does not document Audio Station’s own web API. Trackhop uses the one that Audio Station’s web page itself uses (SYNO.AudioStation.Playlist, Song, Search), as open-source clients describe it. Reading is well known; writing a playlist (creating one, adding and removing songs) has not yet been tried on many NAS models and DSM versions. So:

Connect it

  1. In Trackhop open Services, add Synology Audio Station.
  2. Enter the NAS address with the DSM port, as you open DSM in a browser: for example https://nas.example.com:5001, or http://192.168.1.20:5000 at home. A second address (home and away) can be set after connecting, as for the other servers.
  3. Enter the DSM user name and password. The account must be allowed to use Audio Station (Control Panel › Application Privileges), and Audio Station must be installed and running.

On the server page it is the same form, under Services.

Two-step verification

Trackhop cannot answer a one-time code each time it syncs. If the account uses 2-step verification (DSM errors 403, 404 and 406), sign-in is refused and Trackhop says so. Either turn 2-step verification off for that account, or create a dedicated account for Trackhop with access to Audio Station only (and to the music folder), without 2-step verification. Do not expose that account’s port to the internet without HTTPS.

What works

   
Read playlists and their tracks (your own, shared and smart ones) Yes
Create a playlist Yes, experimental
Add and remove tracks, reorder Yes, experimental (the playlist is written whole, then read back)
Rename and delete a playlist Yes, experimental
Shared and smart playlists as a destination No: they are read only
Favourites, albums, artists No: only playlists
Lyrics No

Good to know

When it fails

See also: Self-hosted playlist sync, Docker on a NAS.