diff --git a/README.md b/README.md index a892f92..d2b2fb6 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ sudo nano /etc/sendspin-armv6.conf Set `server_url` to your Sendspin server's WebSocket URL: ```ini -server_url = ws://192.168.1.10:8928/sendspin +server_url = ws://192.168.1.10:8927/sendspin name = Living Room Pi log_level = info # Optional: set the ALSA device for audio output (see next section) @@ -185,7 +185,7 @@ Common causes: - Wrong architecture binary (e.g. ARMv6 on ARMv7) - make sure your device is ARMv6 - USB soundcard not connected or `aplay` not available — plug in the soundcard and check `aplay -l` - Network not ready — check that the Pi can reach the server IP before the service starts -- Wrong `server_url` in the config — verify with `curl http://:8928/` +- Wrong `server_url` in the config — verify with `curl http://:8927/` **No audio / aplay errors** — run `aplay -l` to find the correct device name and set it with `device = plughw:X,Y` in the config. diff --git a/config/sendspin-armv6.conf b/config/sendspin-armv6.conf index c017978..7545ad7 100644 --- a/config/sendspin-armv6.conf +++ b/config/sendspin-armv6.conf @@ -3,8 +3,8 @@ # Required: WebSocket URL of your Sendspin server. # Find the IP of the machine running the Sendspin server and set it here. -# The default port is 8928 and path is /sendspin. -server_url = ws://192.168.1.10:8928/sendspin +# The default port is 8927 and path is /sendspin. +server_url = ws://192.168.1.10:8927/sendspin # Optional: Friendly name shown in the Sendspin UI. name = Pi Zero Player diff --git a/src/config.h b/src/config.h index cbf0b8a..c20294f 100644 --- a/src/config.h +++ b/src/config.h @@ -4,7 +4,7 @@ /// Configuration loaded from /etc/sendspin-armv6.conf struct Config { - std::string server_url; // e.g. ws://192.168.1.10:8928/sendspin + std::string server_url; // e.g. ws://192.168.1.10:8927/sendspin std::string name = "sendspin-armv6"; std::string log_level = "info"; std::string device; // ALSA device, e.g. plughw:1,0 (empty = system default)