diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-11-01 19:27:03 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-11-01 19:34:46 +0100 |
commit | 4d5978efac1edf8e4c195f74d4afc4f82ec33077 (patch) | |
tree | 2df453b3c4b2c1600e371d41bdabe753f0723f78 | |
parent | 783ad76b21626ad30625d22afe384e089d471f2b (diff) |
fix(frontend): fix stream enqueueing position
-rw-r--r-- | src/frontend/tubo/events.cljs | 3 |
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 |