@ -24,7 +24,7 @@ public class RadioPlayer implements Device {
intsavedVolume;
intsavedVolume;
StringplayedStation;
StringplayedStation;
publicStringgetYouFMInfoByTime(intx){
StringgetYouFMInfoByTime(intx){
if(x>=5&&x<10)returnYouFMInfo[0];
if(x>=5&&x<10)returnYouFMInfo[0];
elseif(x>=10&&x<14)returnYouFMInfo[1];
elseif(x>=10&&x<14)returnYouFMInfo[1];
elseif(x>=14&&x<18)returnYouFMInfo[2];
elseif(x>=14&&x<18)returnYouFMInfo[2];
@ -36,7 +36,7 @@ public class RadioPlayer implements Device {
String[]YouFMInfo={"YOUFM Good Morning Show","YOUFM Worktime","YOUFM am Nachmittag","YOUFM am Abend","YOUFM Wir feiern euch","YOUFM Deutschrap ideal","YOUFM Junge Nacht der ARD"};
String[]YouFMInfo={"YOUFM Good Morning Show","YOUFM Worktime","YOUFM am Nachmittag","YOUFM am Abend","YOUFM Wir feiern euch","YOUFM Deutschrap ideal","YOUFM Junge Nacht der ARD"};
publicStringgetBR3InfoByTime(intx){
StringgetBR3InfoByTime(intx){
if(x>=5&&x<9)returnBR3Info[0];
if(x>=5&&x<9)returnBR3Info[0];
elseif(x>=9&&x<12)returnBR3Info[1];
elseif(x>=9&&x<12)returnBR3Info[1];
elseif(x==12)returnBR3Info[2];
elseif(x==12)returnBR3Info[2];
@ -49,7 +49,7 @@ public class RadioPlayer implements Device {
String[]BR3Info={"Sebastian Winkler und die Frühaufdreher","BAYERN 3 - und DU mittendrin!","Update","Hits, Hits, Hits für euren Nachmittag","Die Zwei für euren Feierabend","Was geht?!","Matuschke - der etwas andere Abend","Die Nacht"};
String[]BR3Info={"Sebastian Winkler und die Frühaufdreher","BAYERN 3 - und DU mittendrin!","Update","Hits, Hits, Hits für euren Nachmittag","Die Zwei für euren Feierabend","Was geht?!","Matuschke - der etwas andere Abend","Die Nacht"};