Beispiel #1
0
 public void StationDelete(Station station)
 {
     RunTask(() =>
                 {
                     bool playQuickMix = (CurrentStation == null) ? false : (station.ID == CurrentStation.ID);
                     station.Delete();
                     _pandora.RefreshStations();
                     if (playQuickMix)
                     {
                         Log.O("Current station deleted, playing Quick Mix");
                         PlayStation(Stations[0]); //Set back to quickmix because current was deleted
                     }
                 });
 }