Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#188576 - 07/11/2003 13:04 Jemplode Pause/Play problem (+patch)
LittleBlueThing
addict

Registered: 11/01/2002
Posts: 612
Loc: Reading, UK
Hi Mike

I just noticed that if you hit the pause in Jemplode it pauses - but a second click doesn't start to play.
There's no playResume() so I've made pause toggle the pause state rather than force a pause as it does now.
So:


Index: src/org/jempeg/empeg/protocol/EmpegProtocolClient.java
===================================================================
RCS file: /share/mirror/cvsstore/java/Jemplode/jempeg-empeg/src/org/jempeg/empeg/protocol/EmpegProtocolClient.java,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 EmpegProtocolClient.java
--- src/org/jempeg/empeg/protocol/EmpegProtocolClient.java 4 Nov 2003 23:02:47 -0000 1.1.1.1
+++ src/org/jempeg/empeg/protocol/EmpegProtocolClient.java 7 Nov 2003 18:52:13 -0000
@@ -198,7 +198,7 @@
}
public void pause() throws ProtocolException {
- sendCommand(EmpegRequest.COM_PLAYSTATE, EmpegRequest.PLAYSTATE_PAUSE);
+ sendCommand(EmpegRequest.COM_PLAYSTATE, EmpegRequest.PLAYSTATE_TOGGLE);
}

public void playAppend(long _fid) throws ProtocolException {


HTH

David
_________________________
LittleBlueThing Running twin 30's

Top
#188577 - 07/11/2003 15:06 Re: Jemplode Pause/Play problem (+patch) [Re: LittleBlueThing]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Someone's been a busy little jEmplode-patching bee Thanks for the submissions ... I'll review and include in the next build.

Top