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: 14353" data-attributes="member: 10355"><p>I just made a custom form to send the action #102 and #103 to mediaportal directly, and the volume didn't change.</p><p></p><p>I would say that MediaPortal is not responding to these actions.</p><p></p><p>[code] ActionToSendNow = new Action(GetAction(Int32.Parse(ActionToSend.Text)),0,0);</p><p> GUIWindowManager.OnAction(ActionToSendNow);</p><p>[/code]</p><p></p><p></p><p></p><p>[code] private Action.ActionType GetAction(int id)</p><p> {</p><p> </p><p> Action.ActionType action = new Action.ActionType();</p><p> try</p><p> {</p><p> </p><p> action = (Action.ActionType) Enum.ToObject(typeof(Action.ActionType),id);</p><p> return action;</p><p> }</p><p> catch</p><p> {</p><p> </p><p> MessageBox.Show("didn't convert to an action I </p><p>guess....");</p><p> return action;</p><p> }</p><p> </p><p> </p><p> }[/code]</p></blockquote><p></p>
[QUOTE="jadz, post: 14353, member: 10355"] I just made a custom form to send the action #102 and #103 to mediaportal directly, and the volume didn't change. I would say that MediaPortal is not responding to these actions. [code] ActionToSendNow = new Action(GetAction(Int32.Parse(ActionToSend.Text)),0,0); GUIWindowManager.OnAction(ActionToSendNow); [/code] [code] private Action.ActionType GetAction(int id) { Action.ActionType action = new Action.ActionType(); try { action = (Action.ActionType) Enum.ToObject(typeof(Action.ActionType),id); return action; } catch { MessageBox.Show("didn't convert to an action I guess...."); return action; } }[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
WinLIRC Plugin (outdated)
Contact us
RSS
Top
Bottom