 
 (register-handler 
  :stop 
- player-mw
+ [trim-v]
  stop)
 
 (register-handler 
  :toggle-play 
- player-mw
+ [trim-v]
  (fn [db [_]] 
-   (if (= (:playstate db) :stopped)
+   (if (= (get-in db [:player :playstate]) :stopped)
      (start db [])
      (stop db []))))
 


(register-handler
 :set-playmode
 player-mw
 (fn [db [playmode]]
   (assoc-in db [:playmode] playmode)))



(register-handler 
 :start 
 [trim-v]
 start)

(defn stop [db [_]]
