|
@ -20,7 +20,7 @@ public class CDPlayer implements Device { |
|
|
private String actualPlayTrack=""; |
|
|
private String actualPlayTrack=""; |
|
|
private CD loadedCD=null; |
|
|
private CD loadedCD=null; |
|
|
|
|
|
|
|
|
private CDWechseler cdWechseler; |
|
|
|
|
|
|
|
|
private CDWechseler cdWechseler=null; |
|
|
private String activeSource="CDDrive";//or CDWechseler |
|
|
private String activeSource="CDDrive";//or CDWechseler |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
@ -139,6 +139,11 @@ public class CDPlayer implements Device { |
|
|
|
|
|
|
|
|
return activeSource; |
|
|
return activeSource; |
|
|
} |
|
|
} |
|
|
|
|
|
public void loadCDWechseler(List<CD>cdList){ |
|
|
|
|
|
if(cdWechseler==null||!cdWechseler.isRunning()){ |
|
|
|
|
|
throw new CDWechselerNotRunningException(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//Getters, Setters und SupportMethods |
|
|
//Getters, Setters und SupportMethods |
|
|
public void setCD(CD _loadedCD) { |
|
|
public void setCD(CD _loadedCD) { |
|
|