diff options
author | Simon Garrelou <simon.garrelou@gmail.com> | 2022-12-10 22:35:46 +0100 |
---|---|---|
committer | Simon Garrelou <simon.garrelou@gmail.com> | 2022-12-10 22:35:46 +0100 |
commit | 3a815dcf23323d2f1d0b830c5cb5037d09156677 (patch) | |
tree | 2aa9739ad934fe287b13e4c1f0a9d6b5bd0e4ef6 /src/footer.go | |
parent | 08182123b8165c8c8dc55d1fefc643f5c5c47035 (diff) | |
download | termsonic-3a815dcf23323d2f1d0b830c5cb5037d09156677.tar.gz termsonic-3a815dcf23323d2f1d0b830c5cb5037d09156677.zip |
Add shuffle + fix deadlocks
Diffstat (limited to 'src/footer.go')
-rw-r--r-- | src/footer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/footer.go b/src/footer.go index ab6181d..f75f954 100644 --- a/src/footer.go +++ b/src/footer.go | |||
@@ -9,10 +9,10 @@ func (a *app) updateFooter() { | |||
9 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]e:[yellow] Play song last [blue]n:[yellow] Play song next") | 9 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]e:[yellow] Play song last [blue]n:[yellow] Play song next") |
10 | } | 10 | } |
11 | case "playqueue": | 11 | case "playqueue": |
12 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]d:[yellow] Remove [blue]j:[yellow] Move up [blue]k:[yellow] Move down") | 12 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]d:[yellow] Remove [blue]j:[yellow] Move up [blue]k:[yellow] Move down [blue]r:[yellow] Shuffle") |
13 | case "playlists": | 13 | case "playlists": |
14 | if a.tv.GetFocus() == a.playlistsList { | 14 | if a.tv.GetFocus() == a.playlistsList { |
15 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]e:[yellow] Play playlist last [blue]n:[yellow] Play playlist next") | 15 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]e:[yellow] Play playlist last [blue]n:[yellow] Play playlist next [blue]r:[yellow] Random") |
16 | } else if a.tv.GetFocus() == a.playlistSongs { | 16 | } else if a.tv.GetFocus() == a.playlistSongs { |
17 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]e:[yellow] Play song last [blue]n:[yellow] Play song next") | 17 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]e:[yellow] Play song last [blue]n:[yellow] Play song next") |
18 | } | 18 | } |