Verder geprobeerd de VLCApplication werkend te krijgen, maar lukt nog steeds niet. Elke actie wordt twee keer uitgevoerd, maar VLC reageerd niet. De webinterface geeft nu ook oppeens forbidden?!?!
Mooie set iconen gevonden voor de interface.
This commit is contained in:
@@ -54,11 +54,11 @@ public class Main extends EventListener {
|
|||||||
public void initialise() throws DeviceInitialiseException {
|
public void initialise() throws DeviceInitialiseException {
|
||||||
add(new JIntellitypeDevice());
|
add(new JIntellitypeDevice());
|
||||||
//add(new PlayerDevice());
|
//add(new PlayerDevice());
|
||||||
//add(new RumblepadDevice());
|
add(new RumblepadDevice());
|
||||||
//add(new WiimoteDevice());
|
//add(new WiimoteDevice());
|
||||||
//add(new GUIDevice());
|
//add(new GUIDevice());
|
||||||
//add(new TextDevice());
|
//add(new TextDevice());
|
||||||
add(new PanelDevice());
|
//add(new PanelDevice());
|
||||||
//add(new LanTextDevice());
|
//add(new LanTextDevice());
|
||||||
//add(new Extreme3DDevice());
|
//add(new Extreme3DDevice());
|
||||||
startDevices();
|
startDevices();
|
||||||
@@ -67,8 +67,8 @@ public class Main extends EventListener {
|
|||||||
//add(new WMPApplication());
|
//add(new WMPApplication());
|
||||||
//add(new GomPlayerApplication());
|
//add(new GomPlayerApplication());
|
||||||
//add(new WinampApplication());
|
//add(new WinampApplication());
|
||||||
add(new iTunesApplication());
|
//add(new iTunesApplication());
|
||||||
//add(new VLCApplication());
|
add(new VLCApplication());
|
||||||
//add(new MPCApplication());
|
//add(new MPCApplication());
|
||||||
startApplications();
|
startApplications();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import com.dt.iTunesController.iTunesEventsInterface;
|
|||||||
public class iTunesApplication extends Application implements iTunesEventsInterface {
|
public class iTunesApplication extends Application implements iTunesEventsInterface {
|
||||||
protected static final int POSTION_CHANGE_RATE = 1;
|
protected static final int POSTION_CHANGE_RATE = 1;
|
||||||
protected static final int VOLUME_CHANGE_RATE = 5;
|
protected static final int VOLUME_CHANGE_RATE = 5;
|
||||||
protected static final int SEEK_TIME = 1000;
|
|
||||||
|
|
||||||
protected iTunes iTunes;
|
protected iTunes iTunes;
|
||||||
|
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ public class VLCApplication extends CMDApplication {
|
|||||||
public void command(String command) {
|
public void command(String command) {
|
||||||
String request = "GET /requests/status.xml?command=" + command + " /HTTP/1.1\r\n\n";
|
String request = "GET /requests/status.xml?command=" + command + " /HTTP/1.1\r\n\n";
|
||||||
output.println(request);
|
output.println(request);
|
||||||
|
//System.out.printf("Kijk eens VLC: %s\n", request);
|
||||||
/*System.out.println(request);
|
/*System.out.println(request);
|
||||||
try {
|
try {
|
||||||
Scanner feedback = new Scanner(socket.getInputStream());
|
Scanner feedback = new Scanner(socket.getInputStream());
|
||||||
|
|||||||
Reference in New Issue
Block a user