-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type 47 is invalid #379
Comments
Ah, I should have dug deeper, appears to be related to zeroconf plietar/librespot#178. |
This bug has finally been fixed with librespot-org/libmdns#19 The problem originated in the mDNS implementation used, which is needed by librespot to enable discovery of Spotify players in the local network. But some packet types were not implemented, so for example smart IOT plugs using mDNS in the same network could trigger this packet warning.the libmdns is a dependency of librespot and the version bump to the fixed version was just merged into the 'dev' branch with librespot-org/librespot#1000, so we'll have to wait until the new version finds it's way into librespot:main Unfortunately spotifyd uses the rather old librespot version v0.2.0, I've tried to build it with the current version v0.3.1 but the compilation fails:
So it seems like a bit of massaging is still required for a version bump of librespot. Still, I'd be really if we could get this fix in because I get >1000 warning messages from this bug per day in my journal |
@Gnarflord Thank you for the update! Updating to a newer As for your specific problem, I guess you could just build a custom version of diff --git a/src/main.rs b/src/main.rs
index 778c205..1b81f57 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -25,7 +25,7 @@ enum LogTarget {
}
fn setup_logger(log_target: LogTarget, log_level: LevelFilter) {
- let logger = fern::Dispatch::new().level(log_level);
+ let logger = fern::Dispatch::new().level(log_level).level_for("libmdns::fsm", LevelFilter::Error);
let logger = match log_target {
LogTarget::Terminal => logger.chain(std::io::stdout()), Which would silence those warning messages from Footnotes
|
Hello! Taking a look at my syslog, I see a many of these errors:
I doesn't seem to have any negative affects on discovery or playback. Any thoughts on what I should investigate to solve this?
The text was updated successfully, but these errors were encountered: