-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
32 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Stream your Spotify collection | |
|
||
A docker image that creates a new device on Spotify (called "Daemon"), which streams what you're listening to Icecast. | ||
|
||
It uses the excellent [spotifyd](https://github.com/Spotifyd/spotifyd). | ||
It uses the excellent [librespot](https://github.com/librespot-org/librespot). | ||
|
||
## How? | ||
|
||
|
@@ -16,11 +16,16 @@ services: | |
spotify-stream: | ||
container_name: spotify-stream | ||
environment: | ||
- SPOTIFY_DEVICE_NAME=Daemon | ||
- LIBRESPOT_DEVICE_NAME=Daemon | ||
# possible values: audiodongle, avr, computer, smartphone, speaker, stb, tablet, tv | ||
- SPOTIFY_DEVICE_TYPE=computer | ||
- SPOTIFY_INITIAL_VOLUME=90 | ||
- SPOTIFY_ZEROCONF_PORT=1234 | ||
- LIBRESPOT_DEVICE_TYPE=computer | ||
- LIBRESPOT_CACHE=/spotify-stream/cache | ||
- LIBRESPOT_INITIAL_VOLUME=90 | ||
- LIBRESPOT_ZEROCONF_IP=192.168.1.10 | ||
- LIBRESPOT_ZEROCONF_PORT=1234 | ||
- [email protected] | ||
- ICECAST_HOSTNAME=my.ip.address | ||
- ICECAST_LOCATION=New\ York | ||
- ICECAST_USERNAME=admin | ||
- ICECAST_PASSWORD=spotify | ||
- DARKICE_MOUNT_POINT=spotify | ||
|
@@ -29,15 +34,17 @@ services: | |
image: meiser79/spotify-stream:latest | ||
network_mode: host | ||
restart: unless-stopped | ||
volumes: | ||
- ./cache:/spotify-stream/cache | ||
``` | ||
|
||
Then connect to the stream via `http://my.ip.address:8000/spotify`. | ||
|
||
## Disclaimer | ||
|
||
[spotifyd](https://github.com/Spotifyd/spotifyd) binary was compiled via `cargo build --release --features pulseaudio_backend` and was included here to accelerate building time. You should compile it by yourself. | ||
[librespot](https://github.com/librespot-org/librespot) binary was compiled via `cargo build --release --no-default-features --features "pulseaudio-backend with-libmdns"` and was included here to accelerate building time. You should compile it by yourself. | ||
|
||
## Legal | ||
Spotify Stream is licensed under MIT. | ||
Spotify Stream is licensed under MIT, it's based on [Trugamr's project](https://github.com/Trugamr/spotify-stream). | ||
|
||
SPOTIFY is a trademark of Spotify AB. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters