|
|
@ -8,9 +8,9 @@ public class RadioPlayer implements Device { |
|
|
|
|
|
|
|
public RadioPlayer() { |
|
|
|
super(); |
|
|
|
Playlist.add("Radio YouFM"); |
|
|
|
Playlist.add("Radio Teddy"); |
|
|
|
Playlist.add("Radio MegaHits"); |
|
|
|
Playlist.add("YouFM"); |
|
|
|
Playlist.add("Teddy"); |
|
|
|
Playlist.add("MegaHits"); |
|
|
|
playTrack=Playlist.get(0); |
|
|
|
} |
|
|
|
|
|
|
@ -29,7 +29,7 @@ public class RadioPlayer implements Device { |
|
|
|
|
|
|
|
public void changeRegion(String region){ |
|
|
|
switch (region) { |
|
|
|
case "Bayern": |
|
|
|
case "BY": |
|
|
|
Playlist.clear(); |
|
|
|
Playlist.add("Antenne Bayern"); |
|
|
|
Playlist.add("Bayern 1"); |
|
|
@ -37,7 +37,7 @@ public class RadioPlayer implements Device { |
|
|
|
Playlist.add("Hit Radio N1"); |
|
|
|
playTrack=Playlist.get(0); |
|
|
|
break; |
|
|
|
case "Hessen": |
|
|
|
case "HE": |
|
|
|
Playlist.clear(); |
|
|
|
Playlist.add("Hit Radio FFH"); |
|
|
|
Playlist.add("HR 1"); |
|
|
@ -45,12 +45,21 @@ public class RadioPlayer implements Device { |
|
|
|
Playlist.add("You FM"); |
|
|
|
playTrack=Playlist.get(0); |
|
|
|
break; |
|
|
|
case "BW": |
|
|
|
Playlist.clear(); |
|
|
|
Playlist.add("DASDING"); |
|
|
|
Playlist.add("SWR 1"); |
|
|
|
Playlist.add("SWR 3"); |
|
|
|
Playlist.add("sunshine live"); |
|
|
|
playTrack=Playlist.get(0); |
|
|
|
break; |
|
|
|
default: |
|
|
|
Playlist.clear(); |
|
|
|
Playlist.add("YouFM"); |
|
|
|
Playlist.add("Teddy"); |
|
|
|
Playlist.add("MegaHits"); |
|
|
|
playTrack=Playlist.get(0); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|