pukko/despotify — comment on commit 13dda33c0c4a4b920e04676aac89326f49159fea
File:  line 0
By pukko:

Hm, well I'm not really sure ;)

It tries to fix a race that occurred for me when despotify started to download and decode the next track before it had negotiated the new key. So the first part of the new track got decoded using the previous key.

After this patch I ran into other issues when switching tracks 'manually', i.e. using 'next' or just selecting a new track while playing another. I got sidetracked with other stuff before I got around to check if this was due this fix or if it could happen before also. And I won't have time to look into it anymore this year :P

If you have seen issues where playback stopped when despotify should have moved on to the next track, feel free to test this patch and see if it helps. But it might bring other problems..