Hi 👋 I load a bunch of user's albums and when I select Album I load all related tracks there's a player to play all album and below list of all tracks that album contains.
To play the whole album when play button pressed
var selectedAlbum: Album
player.queue = [selectedAlbum]
try await player.play()
and then when I'd like to play specific track from the album in the List cell
var track: MusicItemCollection<Track>.Element
player.queue.currentEntry = .init(track)
try await player.play()
and it's not working.
Plus when trying to get selectedAlbum.copyright and selectedAlbum.editorialNotes?.standard always return empty String
Please let me know what's the issue with that and looking forward for helpful responses 🙏
1
1
822