               :audio-el {:track-offset 0 :playing false :ready-state nil}
               }
      }))
-
 
 (defn empty-queue [] {:tracks [] :current-track 0})
 

        ))))


(defn xhr-search [term]
  (let [json-term (apply vector "and" term)
        body (.stringify js/JSON (clj->js json-term))
        channel (chan)]
    (.send XhrIo "/tracks.json"

  (:require-macros [cljs.core.async.macros :refer [go alt!]])
  (:import [goog.net XhrIo] goog.Uri)
  (:require [goog.events :as events]
            [cljs.spec :as s]
            [cljsjs.react :as React]
            [cljs.test :refer-macros [deftest is testing]]
            [clojure.string :as string]
