With librespot you use the Spotify App for control.

Doesn't mean you have to. In the SB environment it's even much harder to use it in the Spotify Connect mode than just use it as the old protocol handlers: to play any Spotify track we have an ID for. This track based playback (using SB's existing UI) already is working pretty well here. But there are still quite a few issues in the librespot code, like eg. the dreaded "not available in your country" problem. Several of the "new stuff" etc. playlists would skip most of the tracks, while they'd be available using libspotify...

Another bug is currently rendering librespot useless as a Connect endpoint in the SB environment: the controller would start playback of the next track, as soon as the previous track's data has been transferred. In a system where you only have a second or two of buffers, you'd lose those few seconds at every end of a track. In a system like SB where you have much larger buffers, tracks would easily end 30-40s before the end. I run a test where I simply sent all audio data to /dev/null - Spotify would switch track within only a few seconds, as the data is written to the output at maximum download speed possible. I first thought it was an issue with the SB interaction, but somebody else is reporting the same with a more "normal" backend.

https://github.com/plietar/librespot/issues/175

The large buffers cause another UX issue: when you change track or volume, or pause playback in the Spotify application, it can take half a minute before the change reaches the SB. I played with some hook to have librespot tell LMS about the change. But with above issue pending, I haven't done too much in this direction.

Whatever it supports
will work, the whole playback is controlled by Logitech's servers.
If Michael can get librespot to work for local control, too (technically
Spotify Connect can support that) then it would work like today through
MySqueezebox.com because the browsing would still work through Spotify's
existing web API.

I'm not sure I understand what you mean here. Whatever I come up with will require LMS to be run, no direct playing from mysb.com.

Librespot doesn't do any browsing

Correct. In its current form it's basically playback endpoint only. I think it has even very limited support for metadata handling.

--

Michael
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to