     }
     
     func contentItem(at indexPath: IndexPath) -> MPContentItem? {
-        print("CarPlay content item called")
+        print("CarPlay content item called \(indexPath)")
         switch indexPath.count {
         case 1:
             let item = CarPlayManager.tabs[indexPath[0]]

    
    private override init() {
        super.init()
        MPNowPlayingInfoCenter.default().nowPlayingInfo = [
            MPMediaItemPropertyTitle: "Hear Holy Bible"
        ]
        //AudioControlCenter.shared.getIcon() // from prototype
        let controlCenter = MPRemoteCommandCenter.shared()
        controlCenter.playCommand.isEnabled = true
        controlCenter.playCommand.addTarget(handler: { event in
            return .success
        })
        controlCenter.stopCommand.isEnabled = true
        controlCenter.stopCommand.addTarget(handler: { event in
            return .success
        })
        controlCenter.nextTrackCommand.isEnabled = false
        controlCenter.previousTrackCommand.isEnabled = false
    }
    
    deinit {

                                initiatePlaybackOfContentItemAt indexPath: IndexPath,
                                completionHandler: @escaping (Error?) -> Void) {
        print("initiate CarPlay Playback of Content Item called \(indexPath)")
        if let item = self.contentItem(at: indexPath) {
            let parts = item.identifier.components(separatedBy: ":")
            let bookId = parts[0]
            let chapter: Int = (parts.count > 0) ? Int(parts[1]) ?? 1 : 1
            AudioBibleController.shared.carPlayPlayer(book: bookId, chapterNum: chapter)
        }
        completionHandler(nil)
    }
    
