Steps to Reproduce: Install GPMPD on fresh Ubuntu, start via console, observe:
error: Failed to load bonjour with error: {}
Bonjour is required to use Chromecast Support or to enable ZeroConf for the PlaybackAPI
On linux you need to install "avahi"
Basically GPMDP requires old compatibility layer to be present, as it doesn't use native Avahi API. In order to properly enable avahi support user has to install libavahi-compat-libdnssd1.
So, I believe the proper fix will be adding mentioned package to dependency list.
Also while we're at it, again I'm asking to reconsider decision about making avahi-daemon as hard dependency and downgrade it to Recommends. Per Debian Policy:
Recommends
This declares a strong, but not absolute, dependency.
The Recommends field should list packages that would be found together with this one in all but unusual installations.
Avahi/Chromecast case fits perfectly into this definition.
Checklist:
[x] I have checked that there are no issues with similar or the same content
YOU SHOULD CHECK CLOSED ISSUES ASWELL
OS: Kubuntu 18.04
GPMDP Version: 4.6.1
Issue Descriptions: Avahi isn't usable despite
avahi-daemon
dependencySteps to Reproduce: Install GPMPD on fresh Ubuntu, start via console, observe:
Basically GPMDP requires old compatibility layer to be present, as it doesn't use native Avahi API. In order to properly enable avahi support user has to install
libavahi-compat-libdnssd1
.So, I believe the proper fix will be adding mentioned package to dependency list.
Also while we're at it, again I'm asking to reconsider decision about making avahi-daemon as hard dependency and downgrade it to
Recommends
. Per Debian Policy:Avahi/Chromecast case fits perfectly into this definition.