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
Development
General Development (no feature request here!)
GuiWindow.OnAction question
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="seco" data-source="post: 930015" data-attributes="member: 54595"><p>This is one of the big flaws that MP1 has. Some of the default plugins like Music is really deeply integrated to the core stuff of MediaPortal which leads to trouble when creating 3rd party plugins.</p><p> </p><p>If you take a look at MediaPortal.cs it has OnAction() handler which has a lot of stuff that never should have been there in the first place. And if I've understood correctly there is no way to prevent this handler to be called every time when action is dispatched so I believe this is the place where the music is skipped to previous track if it's playing, no matter what window is currently active.</p><p> </p><p>The reason for this is of course the use case where user is playing music and it is possible to go next/prev without always being in the Music plugin, however the implementation has gone wrong causing nasty side effects for plugins in general.</p></blockquote><p></p>
[QUOTE="seco, post: 930015, member: 54595"] This is one of the big flaws that MP1 has. Some of the default plugins like Music is really deeply integrated to the core stuff of MediaPortal which leads to trouble when creating 3rd party plugins. If you take a look at MediaPortal.cs it has OnAction() handler which has a lot of stuff that never should have been there in the first place. And if I've understood correctly there is no way to prevent this handler to be called every time when action is dispatched so I believe this is the place where the music is skipped to previous track if it's playing, no matter what window is currently active. The reason for this is of course the use case where user is playing music and it is possible to go next/prev without always being in the Music plugin, however the implementation has gone wrong causing nasty side effects for plugins in general. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
GuiWindow.OnAction question
Contact us
RSS
Top
Bottom