mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #86] Allow avahi support using dns-sd for Discovery #73
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#73
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 @sashahilton00 on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/86
Tuesday Sep 05, 2017 at 15:13 GMT
Originally opened as https://github.com/plietar/librespot/pull/246
rust-mdns is still the default but can also be specified explicitly with
--feature "with-internal-mdns"switch at build time.Added
--feature "with-external-mdns"switch to build librespot to useavahi for discovery using dns-sd package.
This commit does not provide option for building without mdns.
This pull request replaces pull request https://github.com/plietar/librespot/pull/201 started by @awiouy and has been rebased on the current master branch.
shanemeagher included the following code: https://github.com/plietar/librespot/pull/246/commits
@sashahilton00 commented on GitHub (Jan 29, 2018):
Wednesday Sep 06, 2017 at 14:00 GMT
@plietar,
It seems I'm still having an issue when building with
--no-default-features. As mdns is optional and not a dependency of an enabled feature (with-internal-mdns) incargo.toml, cargo doesn't pass it to rustc.In
src/lib.rs, I've usedcfg-ifto reference mdns:resulting in this error: https://travis-ci.org/plietar/librespot/jobs/272099406#L929
In the PR201, you asked:
Is there a way to make one of the features a default requirement if none is specified?
@awiouy commented on GitHub (Jan 29, 2018):
Documentation for #13
Could be closed
@ComlOnline commented on GitHub (Jan 29, 2018):
Thank you @awiouy.