home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4d29ed2
)
Improve MusicPlayer command help.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 20 Dec 2020 15:15:46 +0000
(16:15 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 20 Dec 2020 15:15:46 +0000
(16:15 +0100)
plomrogue/things.py
patch
|
blob
|
history
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index 46ea770ab302994272afe7d83612ba5204dd0d18..3c8f09da72ff02bd96584ae4297cfc053c6499e7 100644
(file)
--- a/
plomrogue/things.py
+++ b/
plomrogue/things.py
@@
-372,10
+372,11
@@
class Thing_MusicPlayer(Thing):
msg_lines += ['HELP – show this help']
msg_lines += ['ON/OFF – toggle playback on/off']
msg_lines += ['REWIND – return to start of playlist']
msg_lines += ['HELP – show this help']
msg_lines += ['ON/OFF – toggle playback on/off']
msg_lines += ['REWIND – return to start of playlist']
- msg_lines += ['LIST – list programmed songs, durations']
- msg_lines += ['SKIP – to skip to next song']
+ msg_lines += ['LIST – list programmed item, durations']
+ msg_lines += ['REMOVE – remove current item']
+ msg_lines += ['SKIP – to skip to next item']
msg_lines += ['REPEAT – toggle playlist repeat on/off']
msg_lines += ['REPEAT – toggle playlist repeat on/off']
- msg_lines += ['ADD LENGTH
SONG – add SONG to playlist, with LENGTH in format "minutes:seconds", i.e. something like "0:47" or "11:02"
']
+ msg_lines += ['ADD LENGTH
ITEM – add ITEM to playlist, with LENGTH in format "minutes:seconds" (something like "0:47" or "11:02")
']
return msg_lines
elif command == 'LIST':
msg_lines += ['playlist:']
return msg_lines
elif command == 'LIST':
msg_lines += ['playlist:']