Closed jpxd closed 1 year ago
I believe this is already fixed in dev.
That bit of discovery has been rewritten from stable to dev to check for that particular situation:
https://github.com/librespot-org/librespot/blob/dev/discovery/src/server.rs#L134-L136
if encrypted_blob_len < 16 {
return Err(DiscoveryError::HmacError(encrypted_blob.to_vec()).into());
}
Raspotify is based on stable. As soon as what is now dev is released as a stable version the fix will come along with it to Raspotify.
Indeed! As to why that circumstance happens occasionally, I do not know.
Perfect! Thanks for the quick answer!
Describe the bug After installing raspotify (https://dtcooper.github.io/raspotify/), which uses librespot internally, on my Raspberry Pi 3B+, I switched my already running music from my Macbook to the Raspberry Pi. Raspotify instantly crashed (see log). I tried to replicate with verbose logging but then it worked. Now it even works without verbose logging and I can't reproduce it any more. So this could be a one off error which hopefully never happens again for me. Neverless I'll leave the stack trace here for you, in case it helps finding the bug.
To reproduce Steps to reproduce the behavior:
librespot
via raspotify for the first timeLog
Host (what you are running
librespot
on):