Spotify: Difference between revisions
mNo edit summary |
Tomodachi94 (talk | contribs) m adjust headings, replace unfree notice with the one at Template:Unfree, rephrase intro |
||
Line 1: | Line 1: | ||
{{Unfree}} | |||
Spotify is a commercial music streaming service | [https://spotify.com Spotify] is a commercial music streaming service. | ||
== Installation == | |||
To install the standard Spotify desktop application, add to system packages: | To install the standard Spotify desktop application, add to system packages: | ||
Line 13: | Line 10: | ||
]; | ]; | ||
== Local discovery == | |||
To sync local tracks from your filesystem with mobile devices in the same network, you need to open port 57621 by adding the following line to your configuration.nix: | To sync local tracks from your filesystem with mobile devices in the same network, you need to open port 57621 by adding the following line to your configuration.nix: | ||
<syntaxhighlight lang=nix> | <syntaxhighlight lang=nix> | ||
Line 22: | Line 19: | ||
networking.firewall.allowedUDPPorts = [ 5353 ];</syntaxhighlight> | networking.firewall.allowedUDPPorts = [ 5353 ];</syntaxhighlight> | ||
== spotifyd == | |||
The alternative client [https://github.com/Spotifyd/spotifyd spotifyd] is available as a package, [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/audio/spotifyd.nix nixos module], and [https://github.com/nix-community/home-manager/blob/master/modules/services/spotifyd.nix home-manager module]. | The alternative client [https://github.com/Spotifyd/spotifyd spotifyd] is available as a package, [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/audio/spotifyd.nix nixos module], and [https://github.com/nix-community/home-manager/blob/master/modules/services/spotifyd.nix home-manager module]. | ||