aboutsummaryrefslogtreecommitdiff
path: root/src/footer.go
diff options
context:
space:
mode:
authorSimon Garrelou <simon.garrelou@gmail.com>2022-12-10 22:22:32 +0100
committerSimon Garrelou <simon.garrelou@gmail.com>2022-12-10 22:22:32 +0100
commit08182123b8165c8c8dc55d1fefc643f5c5c47035 (patch)
tree631891c25d5f294820e5b49a9bf467b7688d98c1 /src/footer.go
parent96e0b7c9c2b058b479079fa41f10cf3513e95359 (diff)
downloadtermsonic-08182123b8165c8c8dc55d1fefc643f5c5c47035.tar.gz
termsonic-08182123b8165c8c8dc55d1fefc643f5c5c47035.zip
Add playlist support
Diffstat (limited to 'src/footer.go')
-rw-r--r--src/footer.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/footer.go b/src/footer.go
index be275c3..ab6181d 100644
--- a/src/footer.go
+++ b/src/footer.go
@@ -11,8 +11,12 @@ func (a *app) updateFooter() {
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")
13 case "playlists": 13 case "playlists":
14 a.footer.SetText("") 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")
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")
18 }
15 case "config": 19 case "config":
16 a.footer.SetText("") 20 a.footer.SetText("[yellow]No shortcuts here")
17 } 21 }
18} 22}