Playing Spotify music and audio simultaneously - spotify

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.

Related

How to play Spotify music on Sonos using the Sonos API

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.

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.

Can I let the client stream the content from Spotify in a browser based player?

Couldn't find anything on Google about that topic, so I'm asking here.
I had an idea for a web based Spotify player (not like the offical one) and I would like to know if it's possible to let the client (user) stream the content from Spotify instead of my server (app). Would be pretty expensive if my server would have to stream the data and to send it to the client :-/
Thanks!
Unfortunately, there is no web library that you can use for streaming content from Spotify. The closest is the Spotify Play Button but that is a widget that remote controls Spotify from the desktop client or Spotify's web player.
You are limited to use the 30 seconds previews, or use the Android or iOS SDK if you were to build a mobile version of your site. The SDKs allow full playback for Spotify premium users.
There is a feature request for fetching full tracks on Spotify's Web API GitHub repo that you can watch or add comments to.

Custom Web Player for Spotify

As far as I know, it is not possible to develop a Web app (outside spotify.com) providing a custom Web player which plays Spotify songs, am I right?
The only option still seems to be the spotify play button, which is very limited though.
I have just seen, however, this example
1) http://static.echonest.com/enspex/web/ChillRadio/
this one
2) http://lab.possan.se/thirtify/
and this one
3) https://developer.spotify.com/web-api/code-examples/ (see "Play something" snippet)
that seems to use a custom player (2) and 3) are not working for me, though). Is there any non-documented feature?
Thanks
The Spotify Web API provides URLs to 30 second MP3 previews of tracks, which is what these examples are using. This is documented here (the preview_url property).
It is not possible to do full-length track streaming on the web with Spotify's APIs.

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.

Resources