INTERACT FORUM

Windows => Plug-in Development => Topic started by: Matt on May 07, 2009, 11:55:50 am

Title: muchadhesion: Pause issue
Post by: Matt on May 07, 2009, 11:55:50 am
From muchadhesion:
Quote
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.
Title: Re: muchadhesion: Pause issue
Post by: Matt on May 07, 2009, 11:56:52 am
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.
Title: Re: muchadhesion: Pause issue
Post by: JimH on May 07, 2009, 12:09:58 pm
I removed the thread by mistake this morning.  Sorry.