mazkolain-zz / spotimc

GNU General Public License v3.0
302 stars 42 forks source link

Spotimc fails to start if it can't resolve ap.spotify.com #150

Open Thalhammer opened 10 years ago

Thalhammer commented 10 years ago

It seems that if spotimc/libspotify is unable to resolve the hostname ap.spotify.com to find spotify servers it just hangs with xbmc displaying "Working" and not allowing userinteraction till xbmc restart. Perhaps add some checking before and display a dialog in that case ? XMBC.log contains messages like these: 18:46:51 T:140546121983744 ERROR: 16:46:51.940 E [ap:1694] AP Socket Error: Host not found (20001) 18:46:51 T:140546121983744 ERROR: 16:46:51.941 E [ap:3915] Connection error: 4 18:46:51 T:140544718124800 ERROR: connection error: 10

Sincerly, Thalhammer

mazkolain-zz commented 10 years ago

Hi, and sorry for the late response.

Are you behind a proxy server? If you configured XBMC to connect through a proxy server, this could explain this issue, since Spotimc doesn't yet read these settings and pass them back to libspotify (which does all the connection and streaming stuff).

Thalhammer commented 10 years ago

No i'm not behind a proxy server and normaly it works just fine, but on that particular day my internet was down. The Problem I tried to explain is that Spotimc (and XBMC) freezes if it fails to connect. It would be much better to show a dialog than just freeze the whole system ;)