Open gladhorn opened 4 years ago
This is a bit of an exercise to play with Python attributes. See description in the commit message of https://github.com/joopert/nad_receiver/commit/4c73c4670514440b4bda3bcdf376717a89343140
Basically new API can be added by just editing CMDS in nad_commands.py. receiver.main.volume.increase() works then by inspecting the commands dictionary.
receiver.main.volume.increase()
@nierob might find this amusing
This is a bit of an exercise to play with Python attributes. See description in the commit message of https://github.com/joopert/nad_receiver/commit/4c73c4670514440b4bda3bcdf376717a89343140
Basically new API can be added by just editing CMDS in nad_commands.py.
receiver.main.volume.increase()
works then by inspecting the commands dictionary.