You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ The Dockerfile and the included scripts have been tested on the following distro
37
37
- Manjaro Linux with Gnome (amd64)
38
38
- Raspberry Pi 3/4 (32 and 64 bit)
39
39
- Asus Tinkerboard with DietPi ([don't let that board run at a very low minimum frequency](https://github.com/GioF71/squeezelite-docker/blob/main/doc/asus-tinkerboard.md))
40
+
- OSMC on Raspberry Pi 4
40
41
41
42
As I test the Dockerfile on more platforms, I will update this list.
DEVICE||Audio device to use. Use `?` to list options if using `alsa`, `portaudio` or `rodio`. Enter the path to the output when using `pipe`. Defaults to the backend's default.
ENABLE_CACHE||`Y` or `y` to enable, uses corresponding volume.
73
-
ENABLE_SYSTEM_CACHE||`Y` or `y` to enable, uses corresponding volume.
74
+
ENABLE_SYSTEM_CACHE||`Y` or `y` to enable (recommended), uses corresponding volume (also recommeneded to use).
74
75
CACHE_SIZE_LIMIT||Limits the size of the cache for audio files. It's possible to use suffixes like `K`, `M` or `G`.
75
76
DISABLE_AUDIO_CACHE||`Y` or `y` to disable.
76
77
DISABLE_CREDENTIAL_CACHE||`Y` or `y` to disable.
@@ -98,8 +99,9 @@ VOLUME_RANGE||Range of the volume control (dB). Default for softvol: `60`. For t
98
99
AUTOPLAY||Autoplay similar songs when your music ends. `Y` or `y` to enable.
99
100
DISABLE_GAPLESS||Disables gapless playback by forcing the sink to close between tracks. `Y` or `y` to disable gapless mode.
100
101
PASSTHROUGH||Pass a raw stream to the output. Only works with the pipe and subprocess backends. `Y` or `y` to enable.
101
-
PUID|1000|For pulseaudio mode. Set the same as the current user id.
102
-
PGID|1000|For pulseaudio mode. Set the same as the current group id.
102
+
PUID||Set this value the the user which should run the application, defaults to `1000` if not set when using the `pulseaudio` backend
103
+
PGID||Set this value the the user which should run the application, defaults to `1000` if not set when using the `pulseaudio` backend
104
+
AUDIO_GID||Specifies the gid for the group `audio`, it is required if you want to use, e.g., the `alsa` backend in user mode. Refer to [this page](https://github.com/GioF71/squeezelite-docker/blob/main/doc/example-alsa-user-mode.md) from my squeezelite-docker repository for more details.
103
105
PARAMETER_PRIORITY||Where to look for a parameter first: `env` or `file`. For example, the `credentials.txt` file compared to `SPOTIFY_USERNAME` and `SPOTIFY_PASSWORD` environment variables. Defaults to `file`, meaning that each file is considered if it exists and if it contains the required values.
104
106
LOG_COMMAND_LINE||Set to `Y` or `y` to enable, `N` or `n` to disable. Defaults to `Y`.
105
107
@@ -108,9 +110,11 @@ LOG_COMMAND_LINE||Set to `Y` or `y` to enable, `N` or `n` to disable. Defaults
108
110
Volume|Description
109
111
:---|:---
110
112
/data/cache|Volume for cache, used by --cache (`ENABLE_CACHE`)
111
-
/data/system-cache|Volume for system-cache, used by --system-cache (`ENABLE_SYSTEM_CACHE`)
113
+
/data/system-cache|Volume for system-cache (recommended), used by --system-cache (`ENABLE_SYSTEM_CACHE`).
112
114
/user/config|Volume for user-provided configuration. Might contain a `credentials.txt` file.
113
115
116
+
Please not that the volume `/data/system-cache` will contain the encrypted credentials. Enabling the system cache and using a dedicated volume will help keeping players discoverable by the Spotify web app when you don't provide credentials to LibreSpot.
117
+
114
118
### Examples
115
119
116
120
#### Docker-compose
@@ -338,6 +342,7 @@ Just be careful to use the tag you have built.
338
342
339
343
Change Date|Major Changes
340
344
---|---
345
+
2023-10-06|Change ownership of volumes (see [#75](https://github.com/GioF71/librespot-docker/issues/75))
341
346
2023-09-05|Clean Dockerfile (see [#73](https://github.com/GioF71/librespot-docker/issues/73))
342
347
2023-06-23|Pass device name in quotes (see [#67](https://github.com/GioF71/librespot-docker/issues/67))
0 commit comments