Post

Replies

Boosts

Views

Activity

Comment on Album Artwork is not loading when music is playing
I have a suspicion this has something to do with Image caching because, I will play a track it won't load the artwork, then I will go to the previous track and go back again then the artwork will display. And also the artwork loads correctly for all locally available Tracks. Only the ones that aren't in my local music library have this loading issue.
Topic: Media Technologies SubTopic: General Tags:
Jun ’22
Comment on How to detect end of hasNextBatch?
Hi @JoeKun, Here is the use case: In Caset, there is an import playlist feature; some users have more than 100+ playlists how can I fetch all the playlists? Or even do it in a way that fetches nextBatch as the users scroll further down? Another use case: While displaying top songs for Artists, it seems like the hasNextBatch always returns as true and has no end so MusicItemCollection with songs will returned no matter how many requests I make. As for a playlists where hasNextBatch always returns as true even with a while loop, please try this.
Topic: Media Technologies SubTopic: General Tags:
Feb ’22
Comment on Error: _SwiftData_SwiftUI: one-time initialization function for empty
I'm running into the same issue. Filed feedback report here: FB13720893
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’24
Comment on Has anyone figured out how to use the "bump" gesture for airdrop or shareplay?
Figured it out! It has to with the Transferable Protocol and using ShareLink in the View, SwiftUI will automatically pick it up during the bump gesture. As usual, pathetic documentation on Apple's part. -Ashwin
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on PlayParameters in iOS 16 breaks backwards compatibility with iOS 15
Issue was resolved with iOS 16.1 as isLibrary is not included in the PlayParameter.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Album Artwork is not loading when music is playing
Yup! That's right.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Album Artwork is not loading when music is playing
Hi @JoeKun, I have updated the ticket with the code and also here is a bit more details: I am using player.queue = ApplicationMusicPlayer.Queue(for: queue), where queue is an [Track] and then calling the .play() method.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Album Artwork is not loading when music is playing
I have a suspicion this has something to do with Image caching because, I will play a track it won't load the artwork, then I will go to the previous track and go back again then the artwork will display. And also the artwork loads correctly for all locally available Tracks. Only the ones that aren't in my local music library have this loading issue.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on How to detect end of hasNextBatch?
Hi @JoeKun, thanks this worked!
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How to detect end of hasNextBatch?
Hi @JoeKun, Here is the use case: In Caset, there is an import playlist feature; some users have more than 100+ playlists how can I fetch all the playlists? Or even do it in a way that fetches nextBatch as the users scroll further down? Another use case: While displaying top songs for Artists, it seems like the hasNextBatch always returns as true and has no end so MusicItemCollection with songs will returned no matter how many requests I make. As for a playlists where hasNextBatch always returns as true even with a while loop, please try this.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on ApplicationMusicPlayer automatically turns Shuffle Mode On
@JoeKun thank you! And please keep doing the great job you do of helping developers understand the framework, so we can workaround the poor documentation (lol) to build awesome apps.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on ApplicationMusicPlayer automatically turns Shuffle Mode On
deleted
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on ApplicationMusicPlayer automatically turns Shuffle Mode On
@JoeKun Perfect timing! Just released my new app today, which wouldn’t be possible without everything you’ve helped me with on the forums. So I’ve given you a shoutout in the Credits section of the app. Check it out: https://caset.app/download
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on ApplicationMusicPlayer automatically turns Shuffle Mode On
Thanks @JoeKun. Hope the fix rolls out sooner than later as this an experience-breaking bug.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on How to get recommendations based on multiple tracks?
As always, thanks for your reply!
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on App crashes after showing Music Subscription offer sheet
@JoeKun attached the code and a video of the actual crash with the ticket
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on How to play Music Videos with MusicKit for Swift?
@JoeKun thanks again! Here is the ticket: FB9788849 Hope this will be supported soon! This is a huge gap.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21