     
     func pause(){
         self.player?.pause()
-        if(self.displayMediaPlayerNotification){
-            #if os(iOS)
-            self.nowPlayingInfo[MPNowPlayingInfoPropertyPlaybackRate] = 0
-            MPNowPlayingInfoCenter.default().nowPlayingInfo = self.nowPlayingInfo
-            
-            if #available(iOS 13.0, *) {
-                MPNowPlayingInfoCenter.default().playbackState = .paused
-            }
-            #endif
-        }
+        
+        self.updateNotifStatus(playing: false, stopped: false, rate: 0)
+
         self.playing = false
         self.currentTimeTimer?.invalidate()
     }

                    break;
                }
                
                //metas
                let songTitle = args["song.title"] as? String //can be null
                let songArtist = args["song.artist"] as? String //can be null
                let songAlbum = args["song.album"] as? String //can be null
                let songImage = args["song.image"] as? String //can be null
                let songImageType = args["song.imageType"] as? String //can be null
                let songImagePackage = args["song.imagePackage"] as? String //can be null
                
                //end-metas
                
                let audioMetas = AudioMetas(
                    title: songTitle,
                    artist: songArtist,
                    album: songAlbum,
                    image: songImage,
                    imageType: songImageType,
                    imagePackage: songImagePackage
                )

                self.getOrCreatePlayer(id: id).onAudioUpdated(path: path, audioMetas: audioMetas)
                result(true);

                    );
                    break;
                }

                let respectSilentMode = args["respectSilentMode"] as? Bool ?? false
                let displayNotification = args["displayNotification"] as? Bool ?? false
                
                let audioMetas = fetchAudioMetas(from: args)
                
                let notifSettings = notificationSettings(from: args)
                
