aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/events.cljs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/tubo/events.cljs b/src/frontend/tubo/events.cljs
index 79c9e93..ae14b1b 100644
--- a/src/frontend/tubo/events.cljs
+++ b/src/frontend/tubo/events.cljs
@@ -292,7 +292,8 @@
[::add-to-media-queue
(conj {:service-color service-color} %)]])
streams)
- [:dispatch [::fetch-audio-player-stream (:url (first streams)) 0]]))}))
+ [:dispatch [::fetch-audio-player-stream (:url (first streams))
+ (count (:media-queue db))]]))}))
(rf/reg-event-fx
::add-to-bookmarks