Exemplo n.º 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)));
        }
Exemplo n.º 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)));
        }