示例#1
0
        public bool isPlaying()
        {
            XSystem xs = _connection.System;

            xbmc_json_async.Player.XPlayerType xpt = xs.GetActivePlayers();
            if (xpt == xbmc_json_async.Player.XPlayerType.Audio || xpt == xbmc_json_async.Player.XPlayerType.Video || xpt == xbmc_json_async.Player.XPlayerType.Picture)
            {
                return(true);
            }
            return(false);
        }