title: How to fetch a song from Apple Music without subscription?
body: <p>I am new to the Apple Music API and MediaPlayer frameworks... I am simply trying to fetch songs from a search query, from Apple Music API, BUT, importantly, without the users need to have an Apple Music subscription.</p>
  <p>I have seen countless apps being able to search for Apple Music songs without asking the users consent for their Apple Music or anything like that.</p>
  <p>This is my current code:</p>
  <pre><code>let predicate = MPMediaPropertyPredicate(value: &quot;1459938538&quot;, forProperty: MPMediaItemPropertyAlbumPersistentID)
  let iCloudPredicate = MPMediaPropertyPredicate(value: true, forProperty: MPMediaItemPropertyIsCloudItem)
  
  let query = MPMediaQuery.albums()
  query.filterPredicates = [predicate, iCloudPredicate]
  
  let mp = MPMusicPlayerController.applicationMusicPlayer
  mp.setQueue(with: query)
  mp.play()
  </code></pre>
  <p>This I have put for testing purposes simply in the ViewDidload of a viewController. The link from this code is for a web Apple Music Madonna album for example.. (<a href="https://stackoverflow.com/questions/56689237/playing-non-library-apple-music-content-request-fails">from this question</a>)</p>
  <p>I have also consulted Apple's WWDC 2017 session on this with no avail... (<a href="https://developer.apple.com/videos/play/wwdc2017/502/" rel="nofollow noreferrer">https://developer.apple.com/videos/play/wwdc2017/502/</a>)</p>
  <p>So how do I do this? The answer in the question spoke of using web search Apple Music, but does not provide any explanation or further links...</p>
  <p>Any help on this would be greatly appreciated! Thx!</p>