@asyncio.coroutine
def async_media_stop(self):
    'Stop the media player.'
    players = (yield from self._get_players())
    if (len(players) != 0):
        (yield from self._server.Player.Stop(players[0]['playerid']))
Stop the media player.
@asyncio.coroutine
def async_media_stop(self):
    
    players = (yield from self._get_players())
    if (len(players) != 0):
        (yield from self._server.Player.Stop(players[0]['playerid']))