The documented behavior of the sleep subcommand is to not fade out
if no fade out mood was given. The current code, however, tries to
switch to the default m/fade. This fails if this mood does not exist,
causing the sleep subcommand to terminate. By removing the default
value we get the documented behaviour.
The --fo-mood and --sleep-mood suffer from the same issue and can be
fixed in the same way.
arg_info = required_arg
arg_type = string
typestr = mood_spec
- default_val = m/fade
[help]
This mood (or playlist) is selected right after setting the initial
volume.
arg_info = required_arg
arg_type = string
typestr = mood_spec
- default_val = m/sleep
[help]
Select the given mood or playlist after the fade-out. If unset,
playback is stopped until fade-in starts.
arg_info = required_arg
arg_type = string
typestr = mood_spec
- default_val = m/wake
[help]
This mood or playlist is selected right before fade-in begins.
[/help]