1
0
Fork 0
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:
heyarne 2019-03-02 19:36:23 +01:00
commit b4992bccf7
6 changed files with 61 additions and 59 deletions

View file

@ -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