I am looking for a way to get a URL to a MusicItemID/Song that is in the users music library after finding the song using MusicKit search. I would like the linked song to open the system music player.
MusicCatalogSearchRequest has a link to the song, but MusicLibrarySearchRequest songs don't include a url.
var searchRequest = MusicLibrarySearchRequest(term: searchTerm, types: [Song.self])
let s = try await searchRequest.response()
resultSongURL = s.songs[0].song.url **alas, empty url**
macOS also lacks access to SystemMusicPlayer when not using Catalyst.
Thanks!