Open anurag-goyal opened 6 years ago
I have this issue too. But I created a new playlist while adding a song. Also, it didn't help to refresh the broser, neither to close it, sign out, nor delete cache.
Thanks @anurag-goyal and @critter-x.
I was able to reproduce it not being available until the browser is refreshed. I'll check if I can clear the cache for that so that it refreshed right away upon creating a new playlist.
@critter-x I just ran a test and the playlist showed up right away in the Apple Music on my app and after a refresh. Maybe there was an issue at the time that prevented it from showing up for a while? Can you try again and see if it still doesn't appear after a refresh.
I have done some initial investigation on this, and it seems there are two issues here. The first one I can do a fix for, where I clear the local MusicKit cache when a playlist is added and/or modified.
The second one I will have to submit to Apple to get help with. I added two playlists, and they show up in the Apple Music app on my Macbook, but they aren't returned in the API responses that the MusicKit depends on.
Additional information on your "second one". I have verified this to still be a bug in Apple Music. If you add anything (song, playlist, etc.) to your library in Apple Music app, Apple Music app on all your devices reflect the change. But, the Apple Music API responses will not include the new items until one day later. However, if you add songs to or change an existing playlist in your library, the Apple Music API responses pertaining to those playlists will reflect the changes immediately.
A newly added playlist does not show up in library playlist view until user hit refresh. Expect to refresh the library playlist section immediately after adding any container to library.