OK. there is still alot more work needed. But I have all of the actions in place (still going to need some testing). as well as the events..
I set up a telnet server to do some basic tests and it does the conversions from user entered numbers to AVR commands as well as vice versa.
There are still a lot of events that have not been finished up.. about 80^ of the sound modes are left. and the HD radio crap.. but that is pretty straight forward. just a long boring process of keying those long ass sound mode names.. LOL
I do not know how the stuff with the volume will work as of yet. i do not know if the AVR needs to see a - in there or not. but from what the API tells me is that it doesn't..
on the event generation side of the volumes I am going to have to add a special catch to that so it will add the - in there. and i want to also make it user changeable to do a 0-100 conversion on it.
just a note... do not have EG in debugging mode when you install this.. it will flood the file as well as the log (EG 0.5) with more then 3000 items. it's compounded by other debug entried when making the tree items...
I also think you will find the way the auto loaded macros are organized. so i do recommend uninstalling the plugin if you already have it installed because it will not want to load the sample macros unless it's a fresh install..
I am also going to be adding a means to bring up a series of menus to select a specific key instead of having to go through searching the add action dialog for the command... i want to make it searchable as well.. maybe an autocomplete
big version jump on this one... added a whole slew of things. the Remote Input thing is not functional yet. you will see actions for that as well. they don't do anything at the moment. but they will function like i had explained before.. drag and drop the numerical remote control presses (a remote you have set to work with EG) into the Remote input number actions.. set a toggle button for youself..
when you press the toggle button and then press another key like channel up or volume up. it will lock the plugin into an input mode. and pressing the numerical keys will enter say a specific volume.. if you press the toggle button again it will cancle the command. but if you are done entering and press the same button you used to enter the mode. it will send the command and exit the toggle mode.
this is the best way i could think about setting up those kinds of key presses. I am going to do something similar with the menus as well.. this will allow for double programming of remote buttons so if a menu is open the whole remote layout will automatically change to controlling the menu. and when the menu is closed. it will change back.. no need for the user to set up any complicated scripts for this.
as an example... play in normal mode would play some music or whatever.. so you would drag and drop the event for the play button on your remote to the play action for the AVR.. but say you also want play to bring you to the next page of a menu.. just drag and drop the event to the menu next page action.. and that is all you will have to do...
as soon as you open the menu (whether it is from a button on the physical AVR, or the original remote) the button mapping on the EG remote will change.
I do not like to base things like this off fo actual button presses. because if by change the AVR does not get the message. the remote gets out of sorts. so it will only change the mapping upon receiving a response from the AVR.. this is the smart way to do things.
I am going to also make an action that will not be an action it will be for storage. for things like power states and mute states current volume. this is how I have my AVR set up. so if i need to access any of the information it would be something like this...
- Code: Select all
volume = eg.plugins.MarantzAVR.States.VOLUME
that's in the future..
but the egplugin file is attached. and have fun. please do make a list of all problems you run across... it's best to copy and paste into a text file for me.. make sure the different issues are spaced apart by 5 empty lines or so. if there is a typo and you can copy and paste it.. do that..
tracebacks.. same deal goes as well..
anything you come across will help to make a better plugin..
this is a complete command set for the Marantz AVR's and I will be adding any oddball Denon codes as well..
A loved one and Time, The 2 things that can never be replaced.
Family, The only thing you don't get to choose in life.