 
 class AudioPlayer: UIViewController {
   static let SegueIdentifier = "Audio Player"
-  
+
   var items: [MediaItem]!
   var selectedItemId: Int!
 

  @IBOutlet weak var volumeSlider: UISlider!
  @IBOutlet weak var titleLabel: UILabel!
  @IBOutlet weak var indicator: UIActivityIndicatorView!
  
  var jukeboxPlayer: JukeboxPlayer!

  override func viewDidLoad() {


class JukeboxPlayer: JukeboxDelegate {
  var player : Jukebox!

  var playerUI: AudioPlayer!
  var items: [MediaItem]!
  var selectedItemId: Int!

  init(_ playerUI: AudioPlayer, items: [MediaItem], selectedItemId: Int) {
    self.playerUI = playerUI
    self.items = items
    self.selectedItemId = selectedItemId

    var playerItems: [JukeboxItem] = []
