private void btnPrev_Click(object sender, RoutedEventArgs e) { //TODO: When these buttons are clicked update playlist to show what's playing KodiMoveRequest R = new KodiMoveRequest(MyInfo.CurrentPlayerId, "left"); Task.Factory.StartNew(() => KodiCommand.SendKodiCommandAsync(MyInfo.KodiServer, HelperMethods.SerializeObject(R))); }
private void btnNext_Click(object sender, RoutedEventArgs e) { KodiMoveRequest R = new KodiMoveRequest(MyInfo.CurrentPlayerId, "right"); Task.Factory.StartNew(() => KodiCommand.SendKodiCommandAsync(MyInfo.KodiServer, HelperMethods.SerializeObject(R))); }