From 58570d4e52a73559d98a3f0c21ba46360c32f97a Mon Sep 17 00:00:00 2001 From: "Mohamed M. Hassan" Date: Tue, 2 May 2023 07:57:09 -0600 Subject: [PATCH] fixing issue 1016 --- audio_service/darwin/Classes/AudioServicePlugin.m | 1 + 1 file changed, 1 insertion(+) diff --git a/audio_service/darwin/Classes/AudioServicePlugin.m b/audio_service/darwin/Classes/AudioServicePlugin.m index c5c1f247..6f0f5352 100644 --- a/audio_service/darwin/Classes/AudioServicePlugin.m +++ b/audio_service/darwin/Classes/AudioServicePlugin.m @@ -286,6 +286,7 @@ - (void) updateNowPlayingInfo { updated |= [self updateNowPlayingField:MPNowPlayingInfoPropertyMediaType value:@(MPNowPlayingInfoMediaTypeAudio)]; } updated |= [self updateNowPlayingField:MPNowPlayingInfoPropertyPlaybackRate value:(playing ? speed : [NSNumber numberWithDouble: 0.0])]; + updated |= [self updateNowPlayingField:MPNowPlayingInfoPropertyDefaultPlaybackRate value:(playing ? speed : [NSNumber numberWithDouble: 0.0])]; updated |= [self updateNowPlayingField:MPNowPlayingInfoPropertyElapsedPlaybackTime value:[NSNumber numberWithDouble:([position doubleValue] / 1000)]]; MPNowPlayingInfoCenter *center = [MPNowPlayingInfoCenter defaultCenter]; if (@available(iOS 13.0, macOS 10.12.2, *)) {