コード例 #1
0
ファイル: MainPage.xaml.cs プロジェクト: tkbi/pimote
        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)));
        }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: tkbi/pimote
        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)));
        }