librespot builtin mDNS is in conflict with avahi-daemon

Open
#123 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux, raspberry-pi

Research direction

Reproduce the issue with the raspOVOS-bookworm-arm64-lite-2024-12-27 image, librespot, and avahi-daemon enabled. Read the linked librespot mDNS and networking guidance, then determine whether the image should disable avahi-daemon or provide librespot with avahi support; done means Spotify can detect the instance without manual daemon changes and playback behavior is clarified.

Written by the indexing model from the issue text.

Description

Tried out the image raspOVOS-bookworm-arm64-lite-2024-12-27, and it mostly worked fine.

I tried using the Spotify skill, but realized that I couldn't detect the running librespot instance. After reading https://github.com/librespot-org/librespot/wiki/librespot,-mDNS,-networking-and-containers I disabled the avahi-daemon and now I can detect it.

So maybe avahi-daemon needs to be disabled by default, or librespot must be build with support for avahi?

I still can't make "mycroft" start music playback on the librespot instance, but now it is detectable from the Spotify app on my phone...

Dominant language
Shell
Stars
58
Forks
7
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenVoiceOS/raspOVOS

All issues in OpenVoiceOS/raspOVOS

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.