@asyncio.coroutine
def _get_players(self):
    'Return the active player objects or None.'
    import jsonrpc_async
    try:
        return (yield from self._server.Player.GetActivePlayers())
    except jsonrpc_async.jsonrpc.TransportError:
        if (self._players is not None):
            _LOGGER.info('Unable to fetch kodi data')
            _LOGGER.debug('Unable to fetch kodi data', exc_info=True)
        return None
Return the active player objects or None.
@asyncio.coroutine
def _get_players(self):
    
    import jsonrpc_async
    try:
        return (yield from self._server.Player.GetActivePlayers())
    except jsonrpc_async.jsonrpc.TransportError:
        if (self._players is not None):
            _LOGGER.info('Unable to fetch kodi data')
            _LOGGER.debug('Unable to fetch kodi data', exc_info=True)
        return None