diff options
author | Simon Garrelou <simon.garrelou@gmail.com> | 2022-12-10 17:49:07 +0100 |
---|---|---|
committer | Simon Garrelou <simon.garrelou@gmail.com> | 2022-12-10 17:49:07 +0100 |
commit | aab665356867143cd471855f46e9fed617f4c3b9 (patch) | |
tree | 6e538a52ec8a40d13361406df5b8239f3b49cfba /src/footer.go | |
parent | e674c1245206ad055760235ae3d2156bebfcefe1 (diff) | |
download | termsonic-aab665356867143cd471855f46e9fed617f4c3b9.tar.gz termsonic-aab665356867143cd471855f46e9fed617f4c3b9.zip |
Play album/song next / end
Diffstat (limited to 'src/footer.go')
-rw-r--r-- | src/footer.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/footer.go b/src/footer.go index 96b0aa3..be275c3 100644 --- a/src/footer.go +++ b/src/footer.go | |||
@@ -3,7 +3,11 @@ package src | |||
3 | func (a *app) updateFooter() { | 3 | func (a *app) updateFooter() { |
4 | switch a.headerSections.GetHighlights()[0] { | 4 | switch a.headerSections.GetHighlights()[0] { |
5 | case "artists": | 5 | case "artists": |
6 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause") | 6 | if a.tv.GetFocus() == a.artistsTree { |
7 | a.footer.SetText("[blue]l:[yellow] Next song [blue]p:[yellow] Toggle pause [blue]e:[yellow] Play album last [blue]n:[yellow] Play album next") | ||
8 | } else if a.tv.GetFocus() == a.songsList { | ||
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 | } | ||
7 | case "playqueue": | 11 | case "playqueue": |
8 | 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") |
9 | case "playlists": | 13 | case "playlists": |