First of all, thanks for this great addon!
It's almost working perfecly but I bumped on a small issue.
Sometimes GUI sounds or other media sounds are broken.
Sound from from librespot is working everytime, but librespot seems to influence other media sources.
More in detail:
1) Sometimes a movie starts without sound, switching the audio stream fixes this.
2) Sometimes GUI sounds are malfunctioning after watching a movie.
This only happens with some movies on a remote server (so it might be a timing issue as the connection is more slowly as local files)
When a movie starts without sound, I get logs as:
CAESinkALSA::Initialize - failed to initialize device "@"
Looking into the librespot code, I discovered that the audio sink get suspended on onPlayBackEnded/Stopped/Started.
Kodi will try to initialize the audio device just after this, So I guess that the audio device isn't quite ready yet and fails to initialize.
Commenting out the suspendSink('1') line for the above 3 calls fixes the issue for me. I'm not an expert, so this lines might be needed for another reason I'm not aware of?
I can reproduce this issue on RPI and Wetek Hub.
Another question, is it possible to keep librespot running when other media is playing? So that other media will be interrupted when we start to stream to librespot.