Added support for SKIPTO and PLAYING.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@174 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ServerControl.java,v 1.2 2001/07/12 23:06:55 mdb Exp $
|
||||
// $Id: ServerControl.java,v 1.3 2001/07/13 00:10:05 mdb Exp $
|
||||
|
||||
package robodj.util;
|
||||
|
||||
@@ -62,6 +62,16 @@ public class ServerControl
|
||||
sendCommand("REMOVE " + sid);
|
||||
}
|
||||
|
||||
public void skipto (int sid)
|
||||
{
|
||||
sendCommand("SKIPTO " + sid);
|
||||
}
|
||||
|
||||
public String getPlaying ()
|
||||
{
|
||||
return sendCommand("PLAYING");
|
||||
}
|
||||
|
||||
public String[] getPlaylist ()
|
||||
{
|
||||
String result = sendCommand("PLAYLIST");
|
||||
|
||||
Reference in New Issue
Block a user