How to play Spotify music on Sonos using the Sonos API - spotify

Is there a way to play a certain album or artist from spotify using the Sonos API?
I managed to play the favorites from Sonos, but I'd like to play any song from Spotify.
Thanks!

We don’t support browse or playback of specific partner content through the Sonos Sound Platform. Favorites and Playlists support is intended to help you get content started in a Sonos group.

You can download your Spotify music with TunePat Spotify Converter and then transfer them to your Sonos.

Related

How to get an URL for playing full song rather than just preview using Spotify API?

Currently, I am able to play only the Preview version of the song using the song's preview_url from the response object. Is there any way to fetch the entire song?
Playback of full tracks is not supported in the Web API.
If you are making a mobile app, playback is offered through the mobile SDKs, but there is no full playback for web at this time.
Mobile SDKs can be found here:
https://developer.spotify.com/technologies/spotify-ios-sdk/
https://developer.spotify.com/technologies/spotify-android-sdk/

Are we able to create our own playlists on Android using SpotifySDK?

Are we able to create our own playlists on Android using SpotifySDK and is it possible any free-users can shuffle it and premium users can play any song they want?
Are we able to create our own playlists on Android using SpotifySDK
Yes, that's possible. You may want to read about Spotify's Android SDK, and any Android SDK client/wrapper like the one made by kaaes.
is it possible any free-users can shuffle it and premium users can
play any song they want
The playlist itself would be accessible to any Spotify user using the regular Spotify applications on iOS, Android, desktop, or web. However, since Spotify's Android SDK doesn't allow for free users to play tracks it would only be possible to play music from the playlist for premium users.

Playing Spotify music and audio simultaneously

I have developed an iOS App which plays music from the users music library simultaneously with audio files which are included in the app. I have hired a developer to make several changes in the app, one of which enables the user to use their "Spotify" playlists instead of their "Music" playlists, if they have a spotify account. He tells me it is impossible for this functionality to work with the Spotify API.
Can someone please help me as I really need this functionality to work??
Thankyou.
This isn't possible with the Web API, however, take a look at CocoaLibSpotify which is a Mac and iOS library that allows you to access a user's Spotify playlists and play tracks.

Is it possible to access the player API form a web interface without registering an app?

I want to use spotify play to integrate with an artist's website. I want to be able to access the player API to play items embedded from spotify as part of a combined playlist.
is this possible?
thanks
Paul
I think you're talking about the Apps API, which is only available inside the Spotify client.
However, the Spotify Play Button might be what you're after.

Spotify API: How to crossfade songs

I'm using the Spotify API 11.1.60 for iOS and created successfully an app that can download / play songs from Spotify, download and show the covers, execute searches. But I can't find a way to crossfade songs. I only can play one song a time.
Does anybody know how to crossfade songs?
I did not implement crossfade but I think the only solution is to bufferize your current song to be able to crossfade.
You have to update your music_delivery callback and your code used to play the sound. The solution depend on the sound engine your using (OpenAL, CoreAudio, ...)

Resources