-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have a complete description of the protocol in nad_commands. Let's use it. This dynamically generates objects from the command dictionary, so that new functions do not need any code any more. Instead one can simply call: receiver.main.volume.increase() This works by inspecting nad_commands when asking for attributes of the receiver class or it's dynamically created subclasses. The old API is around unchanged to stay compatible.
- Loading branch information
Showing
2 changed files
with
162 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters