Suppport for new fluffyd mode

This commit is contained in:
Shy 2017-03-24 19:01:52 +01:00
parent eeda46650f
commit 3696c8fe1c

View file

@ -760,7 +760,8 @@ class Fluffy:
modes = { modes = {
"fade" : 1, "fade" : 1,
"wave" : 4 "wave" : 4,
"emp" : 8
} }
def mode_id(self, name): def mode_id(self, name):
@ -983,7 +984,7 @@ if __name__ == "__main__":
help="apply local colorscheme PRESET to Fnordcenter") help="apply local colorscheme PRESET to Fnordcenter")
group_cl.add_argument( group_cl.add_argument(
"-m", "--magic", type=str, metavar="MODE", "-m", "--magic", type=str, metavar="MODE",
help="EXPERIMENTAL: blend into preset (needs a running instance of fluffyd on the network). MODE is either \"fade\" or \"wave\".") help="EXPERIMENTAL: blend into preset (needs a running instance of fluffyd on the network). MODE is either \"fade\", \"wave\" or \"emp\".")
group_cl.add_argument( group_cl.add_argument(
"-l", "--list-presets", action="store_true", "-l", "--list-presets", action="store_true",
help="list locally available presets") help="list locally available presets")