From 4d5978efac1edf8e4c195f74d4afc4f82ec33077 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Wed, 1 Nov 2023 19:27:03 +0100 Subject: fix(frontend): fix stream enqueueing position --- src/frontend/tubo/events.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/frontend') 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 -- cgit v1.2.3