             }
             return
         })
-
     }
 
     func isPlaylistPlaying() -> Bool {

                if self.playlist == playlist {
                    self.tableView.reloadData()
                }
            case .TracksAdded(let playlist, _):
                if self.playlist == playlist {
                    self.tableView.reloadData()
                }
            case .TrackRemoved(let playlist, _, let index):
                if self.playlist == playlist {

        ptc.callback = {(playlist: Playlist?) in
            if let p = playlist {
                switch p.appendTracks(tracks) {
                case .Success: break
                case .Failure:
                    let message = "Failed to add tracks".localize()
                    UIAlertController.show(self, title: "MusicFav", message: message, handler: { action in })
