Spotify has an end-user license agreement governing their service and software
that they change from time to time.  Please refer to their website for details.
It is not clear that redistribution of their software is permissible.
https://www.spotify.com/us/legal/end-user-agreement/