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

Get User Playlists using fetchRecommendedContentItems #203

Open
andrewvt100 opened this issue Feb 11, 2020 · 3 comments
Open

Get User Playlists using fetchRecommendedContentItems #203

andrewvt100 opened this issue Feb 11, 2020 · 3 comments
Labels
suggestion Suggest a change to the SDK

Comments

@andrewvt100
Copy link

With fetchRootContentItems, it was possible to get a user's playlists (as discussed in #131). However, fetchRootContentItems has been deprecated, and fetchRecommendedContentItems is claimed as a replacement. So far, using the new method, I am unable to get a high-level parent content item such as "Your Library". The three types that the method seems to accept are: SPTAppRemoteContentTypeFitness, SPTAppRemoteContentTypeDefault, and SPTAppRemoteContentTypeNavigation, and none of these return a list of content items that replicates the behavior of fetchRootContentItems. I am going to proceed with using the deprecated method, but ideally there would be a non-deprecated replacement with similar functionality.

@kkarayannis kkarayannis added the suggestion Suggest a change to the SDK label Feb 12, 2020
@auro-krishna
Copy link

Any update on this?

@kkarayannis
Copy link

The deprecated method is unlikely to stop working anytime soon. The only reason that we marked it deprecated is that we’d rather users see recommendations in 3rd party apps than a copy of Your Library.

@auro-krishna
Copy link

auro-krishna commented Apr 22, 2020

@kkarayannis Can you mention what parameters I need to pass for fetchRootContentItems to get the User's playlist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Suggest a change to the SDK
Projects
None yet
Development

No branches or pull requests

3 participants