Download a [zip of this repository](https://gitdab.com/cere/plugin.audio.librespot/archive/master.zip) and install it as an addon. If you're on linux be aware that you will need [inputstream.ffmpegdirect](https://github.com/xbmc/inputstream.ffmpegdirect) which should be in your package manager. Worst case scenario, build it from source.