mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 16:25:52 +03:00
[GH-ISSUE #706] Feature flag for no backend #399
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#399
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @codetheweb on GitHub (Apr 22, 2021).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/706
This may seem like a bit of an odd request, but would it be possible to add a feature flag for no backend? My use case is that I'm piping the output from librespot somewhere else and don't need alsa / Pulse / whatever.
@ashthespy commented on GitHub (Apr 22, 2021):
So backend
pipe?Should be possible.. Open up a PR?
We have a few feature flags already, what is one more ;-)
@codetheweb commented on GitHub (Apr 22, 2021):
Ok, I'm not super familiar with how Cargo works yet.
Would that just entail adding
pipe-backend = [""]here?@shanemeagher commented on GitHub (Apr 22, 2021):
Would compiling with
--no-default-featuresdo?https://github.com/librespot-org/librespot/wiki/Compiling#optional-features
Edit: I'm assuming you want to compile with minimal features?
@codetheweb commented on GitHub (Apr 22, 2021):
Thank you, that does the trick.
Like I said, still new to the ecosystem. :)
@ashthespy commented on GitHub (Apr 22, 2021):
Doh. I knew i was forgetting something. Sorry for the noise!