home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
WinLIRC Plugin (outdated)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jadz" data-source="post: 14354" data-attributes="member: 10355"><p>Something is happening because when ever I send an action including (ACTION_VOLUME_DOWN=102) or (ACTION_VOLUME_UP=103) when on the home screen the image on the home screen turns back to the turn table.... very odd.</p><p></p><p>In MediaPortal.cs</p><p></p><p></p><p>[code] case Action.ActionType.ACTION_VOLUME_DOWN : </p><p> iCurrent = AudioMixerHelper.GetMinMaxVolume(out iMin, out iMax);</p><p> iStep = (iMax - iMin) / 10;</p><p> iCurrent -= iStep;</p><p> if (iCurrent < iMin) iCurrent = iMin;</p><p> AudioMixerHelper.SetVolume(iCurrent);</p><p> MessageBox.Show("Volume Going Down");</p><p> return;</p><p> </p><p></p><p> case Action.ActionType.ACTION_VOLUME_UP : </p><p> iCurrent = AudioMixerHelper.GetMinMaxVolume(out iMin, out iMax);</p><p> iStep = (iMax - iMin) / 10;</p><p> iCurrent += iStep;</p><p> if (iCurrent > iMax) iCurrent = iMax;</p><p> AudioMixerHelper.SetVolume(iCurrent);</p><p> break;[/code]</p><p></p><p>That doesn't get executed when I send it from the plugin, it does if I press the -/+ keys.</p></blockquote><p></p><p><strong>I'm heading off for the weekend. </strong> Hopefully everything will be fixed when I come back?</p><p>[/QUOTE]</p>
[QUOTE="jadz, post: 14354, member: 10355"] Something is happening because when ever I send an action including (ACTION_VOLUME_DOWN=102) or (ACTION_VOLUME_UP=103) when on the home screen the image on the home screen turns back to the turn table.... very odd. In MediaPortal.cs [code] case Action.ActionType.ACTION_VOLUME_DOWN : iCurrent = AudioMixerHelper.GetMinMaxVolume(out iMin, out iMax); iStep = (iMax - iMin) / 10; iCurrent -= iStep; if (iCurrent < iMin) iCurrent = iMin; AudioMixerHelper.SetVolume(iCurrent); MessageBox.Show("Volume Going Down"); return; case Action.ActionType.ACTION_VOLUME_UP : iCurrent = AudioMixerHelper.GetMinMaxVolume(out iMin, out iMax); iStep = (iMax - iMin) / 10; iCurrent += iStep; if (iCurrent > iMax) iCurrent = iMax; AudioMixerHelper.SetVolume(iCurrent); break;[/code] That doesn't get executed when I send it from the plugin, it does if I press the -/+ keys.[/quote] [b]I'm heading off for the weekend. [/b] Hopefully everything will be fixed when I come back? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
WinLIRC Plugin (outdated)
Contact us
RSS
Top
Bottom