mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 02:33:39 +02:00
Consistently use "current queue" to avoid confusion
This commit is contained in:
parent
7eeceb2786
commit
b4992bccf7
6 changed files with 61 additions and 59 deletions
|
|
@ -102,15 +102,15 @@
|
|||
|
||||
(rf/reg-sub :audio/summary summary)
|
||||
|
||||
(defn playlist
|
||||
"Lists the complete playlist"
|
||||
(defn current-queue
|
||||
"Lists the complete current-queue"
|
||||
[summary _]
|
||||
(:playlist summary))
|
||||
(:current-queue summary))
|
||||
|
||||
(rf/reg-sub
|
||||
:audio/playlist
|
||||
:audio/current-queue
|
||||
:<- [:audio/summary]
|
||||
playlist)
|
||||
current-queue)
|
||||
|
||||
(defn current-song
|
||||
"Gives us information about the currently played song as presented by
|
||||
|
|
@ -120,7 +120,7 @@
|
|||
|
||||
(rf/reg-sub
|
||||
:audio/current-song
|
||||
:<- [:audio/playlist]
|
||||
:<- [:audio/current-queue]
|
||||
current-song)
|
||||
|
||||
(defn playback-status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue