Skip to content

Commit

Permalink
Added clarification about Zeroconf ports (spocon/spocon#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Mar 16, 2020
1 parent 72460bf commit 5d42166
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ All the configuration you need is inside the `config.toml` file, there you can d
This is pretty straightforward, but remember that having hardcoded passwords isn't the best thing on earth.

### Zeroconf
In this mode `librespot` becomes discoverable with Spotify Connect by devices on the same network. Just open a Spotify client and select `librespot-java` from the available devices list.
In this mode `librespot` becomes discoverable with Spotify Connect by devices on the same network. Just open a Spotify client and select `librespot-java` from the available devices list.

If you have a firewall, you need to open the UDP port `5355` for mDNS. Then specify some random port in `zeroconf.listenPort` and open that TCP port too.

### Facebook
Authenticate with Facebook. The console will provide a link to visit in order to continue the login process.
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ storeCredentials = false # Whether to store reusable credentials on disk (not a
credentialsFile = "" # Credentials file (JSON)

[zeroconf] ### Zeroconf ###
listenPort = -1 # Listen on this port (`-1` for random)
listenPort = -1 # Listen on this TCP port (`-1` for random)
listenAll = true # Listen on all interfaces (overrides `zeroconf.interfaces`)
interfaces = "" # Listen on these interfaces (comma separated list of names)

Expand Down

0 comments on commit 5d42166

Please sign in to comment.