INTERACT FORUM
Windows => Plug-in Development => Topic started by: Matt on May 07, 2009, 11:55:50 am
-
From muchadhesion:
I've noticed some odd behaviour with the Pause automation interface.
Following a IMJPlaybackAutomation.Pause() command, JR correctly moves to the state MJPlaybackStates.PLAYSTATE_PAUSED
75% of the time, this sticks, and JR remains paused.
However, 25% of the time JR then moves to MJPlaybackStates.PLAYSTATE_WAITING, and the status display says "Buffering...". Playback, correctly, remains paused for the duration of this.
On exit from the state MJPlaybackStates.PLAYSTATE_WAITING JR moves to MJPlaybackStates.PLAYSTATE_PLAYING rather than (the expected) MJPlaybackStates.PLAYSTATE_PAUSED. It does this without any interaction from the Automation interface or the UI.
The result is that sometimes IMJPlaybackAutomation.Pause() only temporarily Pauses playback.
-
I think I see the problem, but wasn't able to reproduce it.
Media Center 13.0.167 and later will have this:
Fixed: When pausing audio playback, if it performed buffering while paused, it could switch the playback state back to play.
Let us know how it works.
-
I removed the thread by mistake this morning. Sorry.