                 }
                 state = .Buffering
                 beginBackgroundTask()
-                break
 
             case "currentItem.playbackLikelyToKeepUp":
                 //There is enough data in the buffer

            beginBackgroundTask()
            pause()

            self.currentItemIndexInQueue = currentItemIndexInQueue + 1
            currentItem = enqueuedItems?[currentItemIndexInQueue + 1].item
        }
    }


    */
    public func playItems(items: [AudioItem]) {
        if items.count > 0 {
            var idx = 0
            enqueuedItems = items.map { (position: idx++, item: $0) }
            adaptQueueToPlayerMode()

            currentItem = enqueuedItems?.first?.item
            currentItemIndexInQueue = 0
        }
        else {
            stop()
