mctr wrote: > Sure here it is - > > Powering on AVR and playing > Volume changed by remote and then changed using LMS (material skin, web > UI) - from 43 (start), lowered by remote, next step on volume up was 46 > Did the same thing again but hit volume down on LMS - next step down was > 43 > and so on
Okay. First of all, let's get the volume control issue out of the way. The plugin is working exactly as designed in that respect. Its primary function is to provide the ability to power on, power off, mute/unmute, change the volume and, with Squeezer or iPeng as the client, to change other audio settings of the AVR, all while using the LMS client only --- thus minimizing, if not eliminating, the need to use the AVR front panel or remote control when streaming from LMS. Although it is still possible to perform any of these functions directly from the front panel or remote, the plugin does not receive any notification of such changes. That is just the way the Denon telnet protocol works. In order for the plugin to become aware of any such changes, it would have to use a polling mechanism or check the current volume of the AVR before making any volume changes of its own, either of which would add unnecessary overhead to both the network and LMS. When the plugin is in use, it expects to be in charge of the zone to which the player is connected. Of course, the situation can sometimes arise where it is more convenient to use the AVR remote for whatever reason but, the next time the volume is changed from LMS, the plugin is going to use the volume provided from the client to calculate the new AVR volume and not whatever volume the user might have set it to outside of LMS, resulting in your unexpected volume "spikes". To somewhat alleviate any problems caused by this, an option is provided in the plugin menu which, when selected, causes the plugin to re-synchronize the LMS player volume to the AVR volume at every track change, thus keeping things in order over the long run. However, it too incurs some network and cpu overhead and is only there for those who can't keep their fingers off the AVR remote. :rolleyes: The bottom line is that it should not be necessary, and is not recommended, to use the AVR remote while using the plugin. If, for some reason, it cannot be avoided due to some special use scenario that I can't think of right now, a way to prevent the inevitable resulting volume jumps would be to change the player's LMS volume control setting to "Variable" instead of "Fixed at 100%". Although I normally don't recommend using that option due to the possibility of introducing artifacts into the signal by manipulating it in LMS, this option allows for freely intermixing the use of LMS client and AVR volume controls. In this case, the LMS client controls the volume (amplitude) of the signal being sent to the AVR preamp stage and the AVR remote further controls the volume of the signal being sent from the preamp to the amplifier stage. In this scenario, there are effectively two preamp stages in use, with a separate volume control for each. Regarding the granularity of the volume changes initiated from the client, you should try lowering the volume step in the Material Skin client from 5% down to 2%. I use 3% in Squeezer and it works well with the plugin. Regarding the difference in absolute dB change for the same 5% change depending on what the current AVR volume level is, the plugin uses an algorithm that attempts to make the volume changes uniform to the ear through the entire audible range, based on psychoacoustic research. Btw, I highly recommend reading the wiki pages linked from the plugin's LMS player menu for more information on volume-related issues. Moving on, your latest debug log looks very good. I have identified one previously unseen (to me) message type that seems to be specific to Marantz AVR's and is causing a little confusion during the processing of the Smart Select command, possibly causing a problem in the logic that determines whether to power down the AVR when turning off the player. I have made a small (one line) change to one of the modules in the top-level DenonAvpControl directory. It is attached below. You must restart LMS after replacing it. Before running any more tests, I would appreciate it if you would delete or archive your current LMS log file, which goes back about 6 months. It will save both of us a lot of bandwidth and disk space in the future. ;) Let me know if you are having any other problems. Good luck, and thanks for your cooperation. I'm sure the other Marantz users (both of them;)) thank you too! +-------------------------------------------------------------------+ |Filename: DenonAvpComms.pm | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37583| +-------------------------------------------------------------------+ Sam ------------------------------------------------------------------------ SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495 View this thread: http://forums.slimdevices.com/showthread.php?t=60114 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
