Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Authorise and play URI with trackIndex #425

Open
Fump opened this issue Jun 10, 2024 · 0 comments
Open

Feature Request: Authorise and play URI with trackIndex #425

Fump opened this issue Jun 10, 2024 · 0 comments

Comments

@Fump
Copy link

Fump commented Jun 10, 2024

Hi!

We have a use case where we want to start Spotify music playback of a playlist at a pre-selected trackIndex.

This is possible when connected to the Spotify app through the app remote by using:
SPTAppRemotePlayerAPI playItem:skipToTrackIndex:callback:.

However if the Spotify app isn't running in the background we need to launch it before connecting by calling SPTAppRemote authorizeAndPlayURI: or SPTSessionManager initiateSession. Here we can specify a playlist URI to initiate playlist playback when launching Spotify app, but we can't specify what playlist trackIndex we want to start playing when Spotify launches.

I would like to suggest additions to SPTAppRemote and/or SPTConfiguration to allow specifying skipToTrackIndex for associated playURI (if applicable) for when launching the Spotify app from the SDK.

Thanks for your time and consideration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant