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!)
Custom Data Grabber including Sky UK Channel/EPG Grabber
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="michael_t" data-source="post: 1042287" data-attributes="member: 85139"><p>Your guess is correct - PS gets the "enter away mode" event twice and thus tries to stop the player twice.</p><p>What I do not understand: PS does not blindly stop the player - it checks for the player being playing before starting the stop thread and once again before calling the g_player.Stop() method. So we have a "I cannot query the player whether it is really stopped or is in the process of beeing stopped" issue here, which ofc might not get fixed easily. I wonder if it arises also with other threads / plugins trying to stop the player.</p><p>But since it is quite easy to prevent double processing of the "away mode" events, I will provide a workaround fix for PS.</p><p></p><p>Michael</p></blockquote><p></p>
[QUOTE="michael_t, post: 1042287, member: 85139"] Your guess is correct - PS gets the "enter away mode" event twice and thus tries to stop the player twice. What I do not understand: PS does not blindly stop the player - it checks for the player being playing before starting the stop thread and once again before calling the g_player.Stop() method. So we have a "I cannot query the player whether it is really stopped or is in the process of beeing stopped" issue here, which ofc might not get fixed easily. I wonder if it arises also with other threads / plugins trying to stop the player. But since it is quite easy to prevent double processing of the "away mode" events, I will provide a workaround fix for PS. Michael [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Custom Data Grabber including Sky UK Channel/EPG Grabber
Contact us
RSS
Top
Bottom