[PR #224] [CLOSED] Support Zeroconf discovery via Avahi #254

Closed
opened 2026-02-28 14:26:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/devgianlu/go-librespot/pull/224
Author: @devgianlu
Created: 10/3/2025
Status: Closed

Base: masterHead: zeroconf-avahi


📝 Commits (6)

  • 47039f1 refactor: move Zeroconf options to a struct
  • ec5b124 feat: abstract Zeroconf discovery backend
  • f9389d0 feat: add Avahi Zeroconf backend
  • f65b363 chore: update README
  • 16c0d53 chore: add CI deps for Avahi
  • 890b193 chore: add avahi to vcpkg

📊 Changes

17 files changed (+227 additions, -15 deletions)

View changed files

📝 .github/workflows/build_test.yml (+1 -1)
📝 Dockerfile (+1 -1)
📝 Dockerfile.build (+1 -0)
📝 README.md (+4 -0)
📝 cmd/daemon/main.go (+13 -1)
📝 config_schema.json (+9 -0)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 vcpkg-configuration.json (+3 -0)
vcpkg-ports/avahi/portfile.cmake (+33 -0)
vcpkg-ports/avahi/vcpkg.json (+14 -0)
📝 vcpkg-triplets/base-linux.cmake (+4 -0)
📝 vcpkg.json (+5 -0)
zeroconf/discovery/avahi.go (+58 -0)
zeroconf/discovery/builtin.go (+29 -0)
zeroconf/discovery/impl.go (+14 -0)
📝 zeroconf/zeroconf.go (+35 -12)

📄 Description

Support using Avahi as the discovery backend instead of the builtin mDNS/DNS-SD implementation. Having multiple services broadcasting mDNS on the same system can be problematic.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/devgianlu/go-librespot/pull/224 **Author:** [@devgianlu](https://github.com/devgianlu) **Created:** 10/3/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `zeroconf-avahi` --- ### 📝 Commits (6) - [`47039f1`](https://github.com/devgianlu/go-librespot/commit/47039f15a3e8ca489090265a45a1eb69d0f10509) refactor: move Zeroconf options to a struct - [`ec5b124`](https://github.com/devgianlu/go-librespot/commit/ec5b1243cfdc0487b891dc5cfbd9ec3c279fc753) feat: abstract Zeroconf discovery backend - [`f9389d0`](https://github.com/devgianlu/go-librespot/commit/f9389d0557e091276ecf26560ef2c1e19e6dd11d) feat: add Avahi Zeroconf backend - [`f65b363`](https://github.com/devgianlu/go-librespot/commit/f65b3636cee0c4d8dbefec62af49bba56e0b0174) chore: update README - [`16c0d53`](https://github.com/devgianlu/go-librespot/commit/16c0d53bb3d2a11610bbbf99abad022c783ba246) chore: add CI deps for Avahi - [`890b193`](https://github.com/devgianlu/go-librespot/commit/890b1931e571aa1529999c9bf99bff2f2a9a52cf) chore: add avahi to vcpkg ### 📊 Changes **17 files changed** (+227 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build_test.yml` (+1 -1) 📝 `Dockerfile` (+1 -1) 📝 `Dockerfile.build` (+1 -0) 📝 `README.md` (+4 -0) 📝 `cmd/daemon/main.go` (+13 -1) 📝 `config_schema.json` (+9 -0) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `vcpkg-configuration.json` (+3 -0) ➕ `vcpkg-ports/avahi/portfile.cmake` (+33 -0) ➕ `vcpkg-ports/avahi/vcpkg.json` (+14 -0) 📝 `vcpkg-triplets/base-linux.cmake` (+4 -0) 📝 `vcpkg.json` (+5 -0) ➕ `zeroconf/discovery/avahi.go` (+58 -0) ➕ `zeroconf/discovery/builtin.go` (+29 -0) ➕ `zeroconf/discovery/impl.go` (+14 -0) 📝 `zeroconf/zeroconf.go` (+35 -12) </details> ### 📄 Description Support using Avahi as the discovery backend instead of the builtin mDNS/DNS-SD implementation. Having multiple services broadcasting mDNS on the same system can be problematic. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:26:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-librespot#254
No description provided.