I'm looking at creating a playlist creation tool for Apple Music.
Apple just release an api for iOS that allows this functionality. Does anyone know if it is possible to use this api from NodeJS or some other service side technology?
Music Api Doucmentation
https://developer.apple.com/library/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9_3.html
Apple Music Api Announcements
https://affiliate.itunes.apple.com/resources/blog/new-apple-music-api/
No that's not possible with the current API. "An Apple Music API is now available that allows iOS Apps to directly control Apple Music playback for Members among other features." The API allows iOS to interact with the music app locally on the user's device. Not remotely from a server.
Related
Our IOS application uses Spotify SDK for audio streaming, but we have been warned that it will stop working soon. Could someone to help us with the following questions:
Can we use new Spotify SDK without installing a Spotify application?(https://github.com/spotify/ios-sdk/blob/master/README.md)
Has Spotify any private / paid SDKs that we could use to increase the functionality of our application?
Spotify backend uses DRM encoding technology when streaming audio. In order to use a different player (not from SDK) or can we do without it?
Is it possible to play Spotify stream with another player? If so, which one?
Is it possible to formally redirect Spotify stream through our backend?
I'm trying to understand the App Store Review Guidelines around the Apple Music API. However, I can't seem to find a definition for the Apple Music API, and in particular how far it extends (i.e. how much of the entire API does it encompass?).
On this iTune Affiliate Resource page it is suggested that the Apple Music API is a combination of:
SKCloudServiceController
MPMediaLibrary
MPMusicPlayerController
Is this truly the definition of the Apple Music API? And in which case, if you use any of the frameworks listed above are you technically using the Apple Music API?
To put some context, I'm planning to build a music player that utilises a device's local library only. Is there a way of building such an iOS music player app and avoid using the Apple Music API?
The point of the language you quote in your comment is merely that you must not try to do what Apple is already doing, i.e. make money by getting the user to subscribe to or access Apple Music (the online streaming service) through you rather than Apple. You aren't going to do that, so don't worry about it.
EDIT I'll give you an example of what Apple is saying you cannot do. Let's say you have an app that plays music from the user's library, and that you differentiate: you say, to play your music is free, but play Apple Music songs will cost you an extra dollar of in-app payment. That would be a violation of the rules.
I apologise for the possibility of the title of my question would lead to confusion of the problem. For that I will explain my purpose in detail.
We are currently developing our own wifi speaker which is built with MIPS. The speaker comes with an app that will be used to manage it. One of the features that would we would like to include in the app is accessing contents of Spotify and be able to play them on the speakers.
Unfortunately, after going through the iOS SDK Documentation, and did some tests on Web API Console provided by the official of Spotify, I noticed that Spotify does not allow developers to directly get URL of a song, except for preview purposes. I also wasn't able to find any way to get the data bytes of the music streamed from the server. Every content comes with a corresponding URI which is used for a request.
For the device(WiFi Speaker) part, we recently tried to contact Spotify and ask for an SDK that can be used for development. However, one problem is that Spotify told us that they have SDK for x86, and ARMs architecture only. They don't have MIPS.
Now, here are my questions:
Is there any way for me to push music from an app to the WiFi Speakers without having to use SDK (for backend device)?
If Spotify can provide an SDK for our device, then how can we integrate the SDK with our platform?
I'll explain my 2nd question for clarity. Like for instance, in Android and iOS, these are popular platforms and are widely used by mobile devices. So if they provide SDKs for the two OS, then they can use default system frameworks to access the player for playing the content. (In iOS, it's the AVFoundation Framework). However, if Spotify were able to provide the SDK that we need, how would we able to integrate that with our own platform?
I will answer your question no 1:
You should be able to push music from an app using a buffer that you can read from using Core Audio and also forward to a device of your choice. I think what you are looking for can be found at CocoaLibSpotify
My question is that is there any way possible to get what users are listening to using other music services, such as Spotify or Pandora?
iOS have everything sandboxed so apps do not mess around with data of other apps. A little while back it was absolutely impossible for 2 of your own apps to share some information with each other.
iOS 8 has changed that by Inter-App Communication but not to the extent where you want it. Even in iOS 8, the recepient app has to provide the functionality and should handle your incoming request to see what music they are playing.
Your better course of action would be look up if Pandora or Spotify have some API which let's users login, and share their listening history with your app.
I'm having trouble finding documentation on Youtube's developer website whether there is an API for "Youtube for Devices" to send videos to set top boxes like the newer Tivos and similar players.
There is a feature in the Android app that allows a Youtube video to be played via the Tivo when you hit a button, similar to Chromecast.
I thought it might share an API with Chromecast in some way, but I tried the Chromecast extension on Google Chrome for Windows and it failed to detect the Tivo.
Is there an API for this, or is it a proprietary feature of the Youtube app?