update mpmedia value on seek

This commit is contained in:
zackslash
2023-10-20 19:40:02 +01:00
parent cc85b79f79
commit 19964b62fd
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -63,6 +63,7 @@ void set_os_now_playing_info(const char *title, const char *artist, const char *
MPMediaItemPropertyTitle: [NSString stringWithUTF8String:title],
MPMediaItemPropertyArtist: [NSString stringWithUTF8String:artist],
MPMediaItemPropertyArtwork: coverArt,
MPNowPlayingInfoPropertyElapsedPlaybackTime: @(0),
MPMediaItemPropertyPlaybackDuration: @(trackDuration) // Expects 'NSNumber'
};