Browse Source

added first region to changeRegion()

feature-pr-changeRegion
Jan Ortner 3 years ago
parent
commit
e603340839
  1. 8
      src/main/java/device/radioPlayer/RadioPlayer.java

8
src/main/java/device/radioPlayer/RadioPlayer.java

@ -15,6 +15,7 @@ public class RadioPlayer implements Device {
}
ArrayList<String> Playlist=new ArrayList<String>();
int Lautstaerke = 0;
String playTrack="";
@ -27,7 +28,12 @@ public class RadioPlayer implements Device {
}
public void changeRegion(){
Playlist.clear();
Playlist.add("Antenne Bayern");
Playlist.add("Bayern 1");
Playlist.add("Bayern 3");
Playlist.add("Hit Radio N1");
playTrack=Playlist.get(0);
}
@Override

Loading…
Cancel
Save