Using MediaPlayer framework to get user Apple Podcast Library

Hey there!

I am working on a podcast app, and I wanted to import the user's Apple Podcast library. I can access it using MediaPlayer framework. But i wanted to ask whether or not it's against App Store Guidelines.

In the framework docs, it says that "Use the Media Player framework—which is part of MusicKit—to control playback of the user’s media from your app. If your app incorporates music, you can use this framework to search for audio content (songs, podcasts, books, and so on) in the user’s library. You can then play that content directly or ask the system Music app to play it."

But there is a note down in the framework page that says that "Use this framework only to facilitate the playback of the user’s audio content from your app. You’re not permitted to use this framework to gather information about the user’s audio content, or to use such information for any purpose other than audio playback within your app."

I only want to get the podcast's id to then send a request to our server to subscribe to them. Is this against the guidelines ?

Thanks in advance! :)

Using MediaPlayer framework to get user Apple Podcast Library
 
 
Q