@asyncio.coroutine
def async_media_seek(self, position):
    'Send seek command.'
    players = (yield from self._get_players())
    time = {}
    time['milliseconds'] = int(((position % 1) * 1000))
    position = int(position)
    time['seconds'] = int((position % 60))
    position /= 60
    time['minutes'] = int((position % 60))
    position /= 60
    time['hours'] = int(position)
    if (len(players) != 0):
        (yield from self._server.Player.Seek(players[0]['playerid'], time))
Send seek command.
@asyncio.coroutine
def async_media_seek(self, position):
    
    players = (yield from self._get_players())
    time = {}
    time['milliseconds'] = int(((position % 1) * 1000))
    position = int(position)
    time['seconds'] = int((position % 60))
    position /= 60
    time['minutes'] = int((position % 60))
    position /= 60
    time['hours'] = int(position)
    if (len(players) != 0):
        (yield from self._server.Player.Seek(players[0]['playerid'], time))