Song releaseDate always nil

I am fetching playlist songs from the users library and also need the releaseDate (or year) for the song for my use case. However, the releaseDate is always nil since I have upgraded to sequoia. I am pretty sure, this was working before the upgrade, but I couldn't find any documentation on changes related to this.

Furthermore I noticed, the IDs also now seem to be the catalog IDs instead of the global ones like i.PkdZbQXsPJ4DX04

Here's in a nutshell what I am doing

func fetchSongs(playlist: Playlist) async throws {
    let detailedPlaylist = try await playlist.with([.tracks])
    var currentTracks: MusicItemCollection<Track>? = detailedPlaylist.tracks
    
    repeat {
        for track in currentTracks! {
            guard case .song(let song) = track  else {
                print("This is not a song")
                continue
            }
            print(song.releaseDate)
        }
        currentTracks = try await currentTracks?.nextBatch()
    } while currentTracks != nil
}

Hello @chemme, I tested your code on macOS Sequoia and was able to print the release dates for every song in a playlist without issues. If you are able to consistently reproduce this problem on your end, I'd greatly appreciate it if you could open a bug report, include a sysdiagnose and the time you were able to reproduce the problem, and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

Song releaseDate always nil
 
 
Q