plietar / librespot

Open Source Spotify client library
MIT License
1.14k stars 185 forks source link

Certain names don't work on discovery mode #200

Open WhyNotHugo opened 7 years ago

WhyNotHugo commented 7 years ago

It looks like certain names don't work on discover mode. All my initial testing was using "librespot@$HOSTNAME" (eg: librespot@athena.barrera.io".

I ~debugged~ fiddled around for quite a while thinking discovery was broken, and it's not -- unless you use . in the name (The @ looks okay though)t. This is probably not the only invalid character (maybe it needs escaping?).


Actually the problem is probably some form of escaping, since the official spotify client does work with . in the device name.