If your music is already on a server of your own — a Nextcloud, a NAS, a rented storage box — you don't have to upload it through the browser. You connect a folder, and the platform fetches the new music itself and puts it in your library.
The block Muziek van je eigen server is at the top of Programma → Muziek. It opens by itself when a connection exists.
What you connect
You can have one connection per station. You choose a type:
- SFTP — an ordinary secure file connection. Port 22, unless your server uses something else. At Map (folder) you enter the path from the account's root, for example
/muziek. - WebDAV — what Nextcloud, for example, speaks. Port 443. For Nextcloud the path is
/remote.php/dav/files/<user>/<folder>, and you use an app password instead of your normal password.
You also enter the server name (just the name, without https:// and without a folder after it), the user and the password, and how many minutes apart the platform should look: at least 15, at most 1440 (one day). Click Koppelen (connect). The first round then starts by itself; the outcome appears in the block.
What happens
At the set times the platform looks in your folder, fetches what is new and puts it in your library. In the block you see:
- Laatst bijgewerkt — how long ago the last round was.
- Geïmporteerd — how many tracks came in through this connection.
- Staat niet meer op je server — how many of those tracks you no longer have on your server. In your library those tracks carry the line "staat niet meer op je server".
If you don't want to wait, click Nu bijwerken (update now).
The status next to the block's name is In orde (fine), Fout (error), Gepauzeerd (paused) or Nieuw (new), or "staat uit" (is off) if you've switched the connection off.
What you can still change afterwards
Type, server name, port and folder are fixed once you've connected. If you want another location, remove the connection and make a new one.
With Wijzigen you can change the user, the password, how often the platform looks, and whether the connection is Aan (on). If it's off, your server is no longer read and what has already come in simply stays.
You never see your password again. The screen only shows that one is set. With Wijzigen you leave the field empty to keep it; fill something in and it's replaced.
Verwijderen (remove) takes the connection away. The files that are already in stay in your library and keep playing; only nothing new comes in any more.
When a lot suddenly disappears: Gepauzeerd
If a lot disappears from your folder at once, the platform pauses fetching instead of carrying on. You see the message "Te veel in één keer verdwenen" (too much disappeared at once). That's a protection: a folder that is briefly unreachable would otherwise make your whole library look empty. While the connection is paused, nothing is marked as gone.
If those files really were removed from your server, because you cleared them yourself, click Ja, die bestanden zijn echt weg (yes, those files really are gone). Fetching then carries on. If you didn't remove them yourself, check your server first and then click Nu bijwerken.
Security
An SFTP server is recognised by its key. On the first connection the platform records your server's key. If your server later shows a different one, the connection stops and it says De server laat een andere sleutel zien (the server shows a different key). That can mean your server was set up again, but also that something isn't right. So clear the stored key only if the server's administrator confirms it has a new key. You do that with the Sleutel wissen button; the screen asks for confirmation first, and the next connection records the key of that moment.
Addresses inside the platform are refused. A server name pointing to a place inside our own network — localhost, an internal IP address such as 192.168.… or 10.…, a name ending in .local or .internal, or an IP address in an odd notation — gets a message that this address is not allowed. Use your server's ordinary public name.
What you can't read from the screen
The server must be reachable from the internet. The platform makes the connection, not your computer. If your NAS sits behind a firewall without port forwarding, the connection doesn't get in.
Is it switched off on our platform? Then a message says that fetching from your own server is still off and that you can get in touch. It's then not up to you.
Titles and artists come from the files' tags. See Uploading your music for what you can do about that.