PLAY_ACTIVITY error when skipping songs
logangeorge01 opened this issue · comments
I'm getting this error every time I skip a song. What's also weird is that while logging the playbackState every time it changes, I'm noticing that pressing skip will cause the playbackState to change from LOADING, WAITING, PLAYING, PAUSED, then the error occurs, then LOADING, WAITING, PLAYING again. The song plays correctly, but it's causing tons of these same errors and also making the play/pause button flicker from different playback states while skipping songs.
ERROR Error: Uncaught (in promise): PLAY_ACTIVITY: A play stop() method was called without a previous play() descriptor
PLAY_ACTIVITY: A play stop() method was called without a previous play() descriptor
at Function.MKError.playActivityError (musickit.js:1)
at PlayActivity. (musickit.js:1)
at musickit.js:1
at Object.next (musickit.js:1)
at musickit.js:1
at new ZoneAwarePromise (zone.js:931)
at __awaiter (musickit.js:1)
at PlayActivity.stop (musickit.js:1)
at PlayActivity. (musickit.js:1)
at musickit.js:1
at resolvePromise (zone.js:852)
at zone.js:762
at rejected (musickit.js:1)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391)
at Object.onInvoke (core.js:26763)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:390)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:150)
at zone.js:910
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Object.onInvokeTask (core.js:26754)