mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
[spotify] Reintroduce libspotify support, change spotifyc to librespot-c
Select use of either libspotify or librespot-c as streaming backend via config option. librespot-c (renamed/improved spotifyc) impl has the following: - sync interface - seek support - honor bitrate config, set client and thread name - use web access token with "streaming" scope for login - fix issue with podcast playback Also say goodbye to file-based Spotify login.
This commit is contained in:
@@ -346,10 +346,16 @@ audio {
|
||||
|
||||
# Spotify settings (only have effect if Spotify enabled - see README/INSTALL)
|
||||
spotify {
|
||||
# The server can stream from Spotify using either its own implementation
|
||||
# or using Spotify's libspotify (which was deprecated many years ago)
|
||||
# use_libspotify = false
|
||||
|
||||
# Directory where user settings should be stored (credentials)
|
||||
# (only has effect with libspotify)
|
||||
# settings_dir = "@localstatedir@/cache/@PACKAGE@/libspotify"
|
||||
|
||||
# Cache directory
|
||||
# (only has effect with libspotify)
|
||||
# cache_dir = "/tmp"
|
||||
|
||||
# Set preferred bitrate for music streaming
|
||||
|
||||
Reference in New Issue
Block a user