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
xpTunes for MediaPortal 1.2.0 and higher
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="Pog" data-source="post: 813737" data-attributes="member: 97724"><p>When I use pause/play or next/previous buttons in the sidebar gadget MP will crash.</p><p></p><p>The way I use MP for music is to have MP play and control WinAmp as an external player. If I use the internal player then these buttons work as expected. (I need the external player as it handles many more filetypes)</p><p></p><p>Here is the error.log after pressing pause and then play through the gadget:</p><p></p><p>[CODE]2011-11-23 18:07:34.656328 [ERROR][MPMain(1)]: Exception :System.NullReferenceException: Object reference not set to an instance of an object.</p><p> at MediaPortal.Player.g_Player.Process()</p><p> at MediaPortalApp.OnProcess()</p><p> at MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e)</p><p> at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)</p><p> at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)</p><p> at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.Run(Form mainForm)</p><p> at MediaPortalApp.Main(String[] args)</p><p>2011-11-23 18:07:34.656328 [ERROR][MPMain(1)]: Exception :Object reference not set to an instance of an object.</p><p>2011-11-23 18:07:34.657328 [ERROR][MPMain(1)]: site :Void Process()</p><p>2011-11-23 18:07:34.657328 [ERROR][MPMain(1)]: source :Core</p><p>2011-11-23 18:07:34.658328 [ERROR][MPMain(1)]: stacktrace: at MediaPortal.Player.g_Player.Process()</p><p> at MediaPortalApp.OnProcess()</p><p> at MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e)</p><p> at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)</p><p> at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)</p><p> at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.Run(Form mainForm)</p><p> at MediaPortalApp.Main(String[] args)</p><p>2011-11-23 18:07:34.658328 [ERROR][MPMain(1)]: MediaPortal stopped due to an exception Object reference not set to an instance of an object. Core at MediaPortal.Player.g_Player.Process()</p><p> at MediaPortalApp.OnProcess()</p><p> at MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e)</p><p> at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)</p><p> at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)</p><p> at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)</p><p> at System.Windows.Forms.Application.Run(Form mainForm)</p><p> at MediaPortalApp.Main(String[] args)</p><p>[/CODE]</p><p></p><p>This may be a problem with the way MP deals with external players through the api. Perhaps just sending the play/pause/fwd/rew KEYS instead would be a workaround.</p></blockquote><p></p>
[QUOTE="Pog, post: 813737, member: 97724"] When I use pause/play or next/previous buttons in the sidebar gadget MP will crash. The way I use MP for music is to have MP play and control WinAmp as an external player. If I use the internal player then these buttons work as expected. (I need the external player as it handles many more filetypes) Here is the error.log after pressing pause and then play through the gadget: [CODE]2011-11-23 18:07:34.656328 [ERROR][MPMain(1)]: Exception :System.NullReferenceException: Object reference not set to an instance of an object. at MediaPortal.Player.g_Player.Process() at MediaPortalApp.OnProcess() at MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e) at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at MediaPortalApp.Main(String[] args) 2011-11-23 18:07:34.656328 [ERROR][MPMain(1)]: Exception :Object reference not set to an instance of an object. 2011-11-23 18:07:34.657328 [ERROR][MPMain(1)]: site :Void Process() 2011-11-23 18:07:34.657328 [ERROR][MPMain(1)]: source :Core 2011-11-23 18:07:34.658328 [ERROR][MPMain(1)]: stacktrace: at MediaPortal.Player.g_Player.Process() at MediaPortalApp.OnProcess() at MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e) at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at MediaPortalApp.Main(String[] args) 2011-11-23 18:07:34.658328 [ERROR][MPMain(1)]: MediaPortal stopped due to an exception Object reference not set to an instance of an object. Core at MediaPortal.Player.g_Player.Process() at MediaPortalApp.OnProcess() at MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e) at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at MediaPortalApp.Main(String[] args) [/CODE] This may be a problem with the way MP deals with external players through the api. Perhaps just sending the play/pause/fwd/rew KEYS instead would be a workaround. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
xpTunes for MediaPortal 1.2.0 and higher
Contact us
RSS
Top
Bottom