Skip to content
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

Problem with device discovery #57

Closed
joerg-krause opened this issue Mar 12, 2016 · 1 comment
Closed

Problem with device discovery #57

joerg-krause opened this issue Mar 12, 2016 · 1 comment

Comments

@joerg-krause
Copy link
Contributor

I build librespot with discovery support both for my x64 Linux desktop as well as for an ARMv5 embedded device. Both instances run and I get the log message [("action", "getInfo")]. However, only the desktop is discovered by the Spotify app whereas the embedded device does not show up. I compared the packets with wireshark, but I cannot see any difference.

I finally traced the communication with tcpdump. Both logs dumps show in- and outgoing traffic. However, only the desktop device is listed in the Spotify app.

What I've noticed so far is that the HTTP response send by librespot differs: the embedded device has no date string and the "status" field in the JSON string is 100 instead of 101.

@joerg-krause
Copy link
Contributor Author

It turned out that this has nothing to do with librespot at all. The issue is with a wrong data-alignment in the custom ARMv5 target description. This has been fixed: rust-lang/rust#31796. librespot now runs on my ARMv5 target, although audio output is stuttering like hell. But this is another issue related to libvorbis being an decoder for floating point targets...

mjaggard pushed a commit to mjaggard/librespot that referenced this issue Mar 21, 2018
This allows remote clients to show the green now-playing indication (plietar#57).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant