Beispiel #1
0
        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)));
        }
Beispiel #2
0
        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)));
        }