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
External Control Plugin for MP
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="FullMoon" data-source="post: 6620" data-attributes="member: 10445"><p>Tested it out on the same machine, some observations</p><p></p><p>Move up and down work fine</p><p></p><p>The first time I had it select a song it played. The second time and every time after, this exception came up (at bottom)</p><p></p><p>play, music play, ff, rew stop pause all don't work but no exception</p><p></p><p>Did not try over network yet. Skin is crystal</p><p></p><p>I am thrilled you are working on this. An app where you can assign the commands to buttons would be awesome. If you could have it send the contents of the page you are in so we could see it (I think this is what you had in mind) on our pocket pc or networked pc, then we could control a playlist (actually see the playlist and choose accordingly). I am thinking of Webamp and the way it works with Winamp. I currently use that to control my music collection from my PocketPC, this would be superior. You could control movie playback, etc.</p><p></p><p>It would be great to be able to see info from plugins like the recipe plugin on a pocketpc etc.</p><p></p><p>Anyway, here's that exception.</p><p></p><p>See the end of this message for details on invoking </p><p>just-in-time (JIT) debugging instead of this dialog box.</p><p></p><p>************** Exception Text **************</p><p>System.InvalidCastException: QueryInterface for interface Microsoft.MediaPlayer.Interop.IWMPPlayer4 failed.</p><p></p><p>Server stack trace: </p><p> at Microsoft.MediaPlayer.Interop.WindowsMediaPlayerClass.get_controls()</p><p> at AxMicrosoft.MediaPlayer.Interop.AxWindowsMediaPlayer.get_Ctlcontrols()</p><p> at MediaPortal.Player.AudioPlayerWMP9.Stop()</p><p> at MediaPortal.Player.g_Player.Play(String strFile)</p><p> at MediaPortal.Playlists.PlayListPlayer.Play(Int32 iSong)</p><p> at MediaPortal.GUI.Music.GUIMusicFiles.OnClick(Int32 iItem)</p><p> at MediaPortal.GUI.Music.GUIMusicFiles.OnMessage(GUIMessage message)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)</p><p> at MediaPortal.GUI.Library.GUIListControl.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.GUIFacadeControl.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)</p><p> at MediaPortal.GUI.Music.GUIMusicFiles.OnAction(Action action)</p><p> at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)</p><p> at ExtControlAssembly.DataTransport.SendCommand(CommandTypes CommandType, String Argument)</p><p> at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)</p><p> at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)</p><p></p><p>Exception rethrown at [0]: </p><p> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</p><p> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)</p><p> at ExtControlAssembly.DataTransport.SendCommand(CommandTypes CommandType, String Argument)</p><p> at ExtControlLocalDemo.Form1.Button1_Click(Object sender, EventArgs e)</p><p> at System.Windows.Forms.Control.OnClick(EventArgs e)</p><p> at System.Windows.Forms.Button.OnClick(EventArgs e)</p><p> at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)</p><p> at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)</p><p> at System.Windows.Forms.Control.WndProc(Message& m)</p><p> at System.Windows.Forms.ButtonBase.WndProc(Message& m)</p><p> at System.Windows.Forms.Button.WndProc(Message& m)</p><p> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)</p><p> at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)</p><p> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</p><p></p><p></p><p>************** Loaded Assemblies **************</p><p>mscorlib</p><p> Assembly Version: 1.0.5000.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll</p><p>----------------------------------------</p><p>ExtControlLocalDemo</p><p> Assembly Version: 1.0.1792.42650</p><p> Win32 Version: 1.0.1792.42650</p><p> CodeBase: file:///C:/Documents%20and%20Settings/rskurato.ARGLTUSG80836/My%20Documents/A/bm/MPExtControlPlugin/Demo%20Utility/ExtControlDemo.exe</p><p>----------------------------------------</p><p>System.Windows.Forms</p><p> Assembly Version: 1.0.5000.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll</p><p>----------------------------------------</p><p>System</p><p> Assembly Version: 1.0.5000.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll</p><p>----------------------------------------</p><p>System.Data</p><p> Assembly Version: 1.0.5000.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll</p><p>----------------------------------------</p><p>System.Drawing</p><p> Assembly Version: 1.0.5000.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll</p><p>----------------------------------------</p><p>System.Xml</p><p> Assembly Version: 1.0.5000.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll</p><p>----------------------------------------</p><p>System.Runtime.Remoting</p><p> Assembly Version: 1.0.5000.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/assembly/gac/system.runtime.remoting/1.0.5000.0__b77a5c561934e089/system.runtime.remoting.dll</p><p>----------------------------------------</p><p>ExtControlAssembly</p><p> Assembly Version: 1.0.1793.3847</p><p> Win32 Version: 1.0.1793.3847</p><p> CodeBase: file:///C:/Documents%20and%20Settings/rskurato.ARGLTUSG80836/My%20Documents/A/bm/MPExtControlPlugin/Demo%20Utility/ExtControlAssembly.DLL</p><p>----------------------------------------</p><p>Core</p><p> Assembly Version: 1.0.1792.40931</p><p> Win32 Version: 1.0.1792.40931</p><p> CodeBase: file:///C:/Documents%20and%20Settings/rskurato.ARGLTUSG80836/My%20Documents/A/bm/MPExtControlPlugin/Demo%20Utility/Core.DLL</p><p>----------------------------------------</p><p>Microsoft.VisualBasic</p><p> Assembly Version: 7.0.5000.0</p><p> Win32 Version: 7.10.3052.4</p><p> CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll</p><p>----------------------------------------</p><p>amrfm-gy</p><p> Assembly Version: 0.0.0.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll</p><p>----------------------------------------</p><p>System.Runtime.Serialization.Formatters.Soap</p><p> Assembly Version: 1.0.5000.0</p><p> Win32 Version: 1.1.4322.573</p><p> CodeBase: file:///c:/windows/assembly/gac/system.runtime.serialization.formatters.soap/1.0.5000.0__b03f5f7f11d50a3a/system.runtime.serialization.formatters.soap.dll</p><p>----------------------------------------</p><p></p><p>************** JIT Debugging **************</p><p>To enable just in time (JIT) debugging, the config file for this</p><p>application or machine (machine.config) must have the</p><p>jitDebugging value set in the system.windows.forms section.</p><p>The application must also be compiled with debugging</p><p>enabled.</p><p></p><p>For example:</p><p></p><p><configuration></p><p> <system.windows.forms jitDebugging="true" /></p><p></configuration></p><p></p><p>When JIT debugging is enabled, any unhandled exception</p><p>will be sent to the JIT debugger registered on the machine</p><p>rather than being handled by this dialog.</p></blockquote><p></p>
[QUOTE="FullMoon, post: 6620, member: 10445"] Tested it out on the same machine, some observations Move up and down work fine The first time I had it select a song it played. The second time and every time after, this exception came up (at bottom) play, music play, ff, rew stop pause all don't work but no exception Did not try over network yet. Skin is crystal I am thrilled you are working on this. An app where you can assign the commands to buttons would be awesome. If you could have it send the contents of the page you are in so we could see it (I think this is what you had in mind) on our pocket pc or networked pc, then we could control a playlist (actually see the playlist and choose accordingly). I am thinking of Webamp and the way it works with Winamp. I currently use that to control my music collection from my PocketPC, this would be superior. You could control movie playback, etc. It would be great to be able to see info from plugins like the recipe plugin on a pocketpc etc. Anyway, here's that exception. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidCastException: QueryInterface for interface Microsoft.MediaPlayer.Interop.IWMPPlayer4 failed. Server stack trace: at Microsoft.MediaPlayer.Interop.WindowsMediaPlayerClass.get_controls() at AxMicrosoft.MediaPlayer.Interop.AxWindowsMediaPlayer.get_Ctlcontrols() at MediaPortal.Player.AudioPlayerWMP9.Stop() at MediaPortal.Player.g_Player.Play(String strFile) at MediaPortal.Playlists.PlayListPlayer.Play(Int32 iSong) at MediaPortal.GUI.Music.GUIMusicFiles.OnClick(Int32 iItem) at MediaPortal.GUI.Music.GUIMusicFiles.OnMessage(GUIMessage message) at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message) at MediaPortal.GUI.Library.GUIListControl.OnAction(Action action) at MediaPortal.GUI.Library.GUIFacadeControl.OnAction(Action action) at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action) at MediaPortal.GUI.Music.GUIMusicFiles.OnAction(Action action) at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action) at ExtControlAssembly.DataTransport.SendCommand(CommandTypes CommandType, String Argument) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at ExtControlAssembly.DataTransport.SendCommand(CommandTypes CommandType, String Argument) at ExtControlLocalDemo.Form1.Button1_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.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- ExtControlLocalDemo Assembly Version: 1.0.1792.42650 Win32 Version: 1.0.1792.42650 CodeBase: file:///C:/Documents%20and%20Settings/rskurato.ARGLTUSG80836/My%20Documents/A/bm/MPExtControlPlugin/Demo%20Utility/ExtControlDemo.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Data Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- System.Xml Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.runtime.remoting/1.0.5000.0__b77a5c561934e089/system.runtime.remoting.dll ---------------------------------------- ExtControlAssembly Assembly Version: 1.0.1793.3847 Win32 Version: 1.0.1793.3847 CodeBase: file:///C:/Documents%20and%20Settings/rskurato.ARGLTUSG80836/My%20Documents/A/bm/MPExtControlPlugin/Demo%20Utility/ExtControlAssembly.DLL ---------------------------------------- Core Assembly Version: 1.0.1792.40931 Win32 Version: 1.0.1792.40931 CodeBase: file:///C:/Documents%20and%20Settings/rskurato.ARGLTUSG80836/My%20Documents/A/bm/MPExtControlPlugin/Demo%20Utility/Core.DLL ---------------------------------------- Microsoft.VisualBasic Assembly Version: 7.0.5000.0 Win32 Version: 7.10.3052.4 CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll ---------------------------------------- amrfm-gy Assembly Version: 0.0.0.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Runtime.Serialization.Formatters.Soap Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.runtime.serialization.formatters.soap/1.0.5000.0__b03f5f7f11d50a3a/system.runtime.serialization.formatters.soap.dll ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
External Control Plugin for MP
Contact us
RSS
Top
Bottom