Spotify: Difference between revisions
imported>PatrickMalolepszy Add details on how to install the actual spotify app, not just spotify deamon. |
imported>Diogotcorreia Add firewall instructions to allow local devices to be discovered by the Spotify app |
||
Line 15: | Line 15: | ||
<syntaxhighlight lang=nix> | <syntaxhighlight lang=nix> | ||
networking.firewall.allowedTCPPorts = [ 57621 ];</syntaxhighlight> | networking.firewall.allowedTCPPorts = [ 57621 ];</syntaxhighlight> | ||
In order to enable discovery of Google Cast devices (and possibly other Spotify Connect devices) in the same network by the Spotify app, you need to open UDP port 5353 by adding the following line to your configuration.nix: | |||
<syntaxhighlight lang=nix> | |||
networking.firewall.allowedUDPPorts = [ 5353 ];</syntaxhighlight> | |||
=== spotifyd === | === spotifyd === |