mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-09 12:48:09 -05:00
parent
1093992455
commit
6b3573d4f5
30
README.md
30
README.md
@ -476,6 +476,8 @@ curl "http://localhost:3689/logout?session-id=50"
|
|||||||
|
|
||||||
## Spotify
|
## Spotify
|
||||||
|
|
||||||
|
### Via libspotify
|
||||||
|
|
||||||
forked-daapd has support for playback of the tracks in your Spotify library.
|
forked-daapd has support for playback of the tracks in your Spotify library.
|
||||||
|
|
||||||
1. Go to the [web interface](http://forked-daapd.local:3689) and check that your
|
1. Go to the [web interface](http://forked-daapd.local:3689) and check that your
|
||||||
@ -519,11 +521,29 @@ a Spotify client for that. You also can only listen to your music by letting
|
|||||||
forked-daapd do the playback - so that means you can't stream from forked-daapd
|
forked-daapd do the playback - so that means you can't stream from forked-daapd
|
||||||
to DAAP clients (e.g. iTunes) and RSP clients.
|
to DAAP clients (e.g. iTunes) and RSP clients.
|
||||||
|
|
||||||
Alternatives:
|
### Via librespot/spocon
|
||||||
If you want forked-daapd to be a selectable metaspeaker in Spotify's client, you
|
|
||||||
can use [librespot](https://github.com/librespot-org/librespot) to write audio
|
You can also use forked-daapd with one of the various incarnations of
|
||||||
to a pipe in your library. There will be some lag with volume adjustments, and
|
[librespot](https://github.com/librespot-org/librespot). This adds librespot as
|
||||||
getting metadata to work also requires extra tinkering.
|
a selectable metaspeaker in Spotify's client, and when you start playback,
|
||||||
|
librespot can be configured to start writing audio to a pipe that you have added
|
||||||
|
to your library. This will be detected by forked-daapd that then starts
|
||||||
|
playback. You can also have a pipe for metadata and playback events, e.g. volume
|
||||||
|
changes.
|
||||||
|
|
||||||
|
The easiest way of accomplishing this may be with [Spocon](https://github.com/spocon/spocon),
|
||||||
|
since it requires minimal configuration. After installing, create two pipes
|
||||||
|
(with mkfifo) and set the configuration in the player section:
|
||||||
|
|
||||||
|
```
|
||||||
|
# Audio output device (MIXER, PIPE, STDOUT)
|
||||||
|
output = "PIPE"
|
||||||
|
# Output raw (signed) PCM to this file (`player.output` must be PIPE)
|
||||||
|
pipe = "/srv/music/spotify"
|
||||||
|
# Output metadata in Shairport Sync format (https://github.com/mikebrady/shairport-sync-metadata-reader)
|
||||||
|
metadataPipe = "/srv/music/spotify.metadata"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## LastFM
|
## LastFM
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user