-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Use Spotifyd instead of vollibrespot to get latest librespot changes #366
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2786e28
WIP - added mpris class
klay2000 a08c553
WIP
klay2000 2f0250f
Update amplipi/streams.py
klay2000 c6dbe88
suggested changes
klay2000 f27dc59
wip
klay2000 785db06
added alsa config stuff and fixed config folder
klay2000 d04acc2
wip
klay2000 157c234
made dbus polling happen in another process to increase speed
klay2000 5b4b970
removed whitespace from spotify connect names
klay2000 5244b2e
updated spotifyd
klay2000 44741ea
fixed arm binary
klay2000 99d3569
Add requirements to CI
linknum23 09cc638
Make pylint feel better
linknum23 a147363
Remove unused dict
linknum23 16f290a
Pass command exceptions through, for feedback over API
linknum23 df4b6f4
Update CHANGELOG
linknum23 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
WIP
- Loading branch information
There are no files selected for viewing
File renamed without changes.
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
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 |
---|---|---|
@@ -1,16 +1,25 @@ | ||
# Default configuration settings for Vollibrespot | ||
# This template file will be updated as streams are connected | ||
[Authentication] | ||
device-name = 'AmpliPi_TEMPLATE' | ||
[global] | ||
|
||
[Playback] # required heading, we use system defaults | ||
# If set to true, `spotifyd` tries to bind to the session dbus | ||
# and expose MPRIS controls. When running headless, without a dbus session, | ||
# then set this to false to avoid binding errors | ||
use_mpris = true | ||
|
||
[Output] | ||
device = 'ch' # ch0-ch3 are accepted | ||
initial-volume = 100 | ||
backend = 'alsa' | ||
# The name that gets displayed under the connect tab on | ||
# official clients. Spaces are not allowed! | ||
device_name = "device_name_in_spotify_connect" | ||
|
||
[Misc] | ||
disable-audio-cache = true # Cache audio files (relies on local system for cleanup!) | ||
cache-location = '/tmp' # Path to cache | ||
metadata-port = 5030 | ||
# The audio bitrate. 96, 160 or 320 kbit/s | ||
bitrate = 160 | ||
|
||
# The maximal size of the cache directory in bytes | ||
max_cache_size = 100000000 | ||
|
||
# After the music playback has ended, start playing similar songs based on the previous tracks. | ||
autoplay = true | ||
|
||
# The port `spotifyd` uses to announce its service over the network. | ||
zeroconf_port = 1234 | ||
|
||
# The displayed device type in Spotify clients. | ||
device_type = "s_t_b" |
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be awesome to expose
bitrate
andautoplay
to the user if possible.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we support higher bit rates?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this in the future when we are able to better characterize utilization. We still need a 4th Spotify account!