aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tau/subs.cljs
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-01-03 15:46:32 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-01-03 15:46:32 +0100
commitfe81ccdd9a3d2e3f2654be20f896e9ee6d7c833d (patch)
tree379602a8152579cad7367be71e4850a58d89c9ac /src/frontend/tau/subs.cljs
parentf0577537daaf75e8da136bc2a1f303c225b47754 (diff)
feat(frontend): Add support for stream format selection
Diffstat (limited to 'src/frontend/tau/subs.cljs')
-rw-r--r--src/frontend/tau/subs.cljs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frontend/tau/subs.cljs b/src/frontend/tau/subs.cljs
index 047e93c..41bbb67 100644
--- a/src/frontend/tau/subs.cljs
+++ b/src/frontend/tau/subs.cljs
@@ -18,6 +18,11 @@
(:stream db)))
(rf/reg-sub
+ :stream-format
+ (fn [db _]
+ (:stream-format db)))
+
+(rf/reg-sub
:playlist
(fn [db _]
(:playlist db)))