 import AVFoundation
 import AWS
 import Utility
+import MediaPlayer
 
 class AudioBible {
     

            if let reference = self.currReference {
                print("\n*********** PAUSE *************")
                play.pause()
                self.audioAnalytics?.playEnded(item: reference.toString(), position: play.currentTime())
                self.updateMediaPlayStateTime(reference: reference)
            }

            if let reference = self.currReference {
                print("\n*********** PLAY *************")
                play.play()
                MPNowPlayingInfoCenter.default().playbackState = .playing
                self.audioAnalytics?.playStarted(item: reference.toString(),
                                                 position: play.currentTime())
            }
