Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions to install spotifyd on FreeBSD #1030

Merged
merged 1 commit into from
Mar 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
48 changes: 48 additions & 0 deletions docs/src/installation/FreeBSD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# FreeBSD install guide

This guide will help you to install `spotifyd` on FreeBSD and have it always running.

`spotifyd` is available for the FreeBSD architectures :

* amd64
* i386
* arm64

## Install

```sh
sudo pkg install spotifyd
```

## Config file


Input the following data. Change the **username**, **password**, **device_name**, and the **bitrate**.

```toml
[global]
username = "USER"
password = "PASS"
backend = "portaudio"
device = "/dev/dsp"
#onevent = command_run_on_playback_event
device_name = "name_in_spotify_connect"
bitrate = 96|160|320
cache_path = "cache_directory"
volume-normalisation = true
normalisation-pregain = -10
```

## Start the service

```bash
sudo service spotifyd onestart
```

Now see if you can find it in the normal Spotify client (Devices in right bottom corner). Retry the above steps if you can't find it.

## Starting spotifyd at boot

```sh
sudo sysrc spotifyd_enable=YES
```