Reply to thread

If you attempt to add a conditional mapping for the Hauppauge remote (condition based on window) the Input Mapping Form raises an error:


************** Exception Text **************

System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.

   at MediaPortal.Configuration.InputMappingForm.SaveMapping(String xmlFile) 886

   at MediaPortal.Configuration.InputMappingForm.applyButton_Click(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



See bug: https://forum.team-mediaportal.com/viewtopic.php?p=77247


See patch: https://sourceforge.net/tracker/index.php?func=detail&aid=1436762&group_id=107397&atid=647927


Regards,


Andrew


Top Bottom